author | drw <drw> | 2005-01-02 20:26:01 (UTC) |
---|---|---|
committer | drw <drw> | 2005-01-02 20:26:01 (UTC) |
commit | e763e0cea060ae3a2dfb1c411f56354e27ac12a9 (patch) (unidiff) | |
tree | 37896734be7d2679c3f19635fe9fe3b52a549332 /noncore/settings/packagemanager/installdlg.h | |
parent | 020ea2d54bcd0fc4420cb433b3e657cd13ae07e2 (diff) | |
download | opie-e763e0cea060ae3a2dfb1c411f56354e27ac12a9.zip opie-e763e0cea060ae3a2dfb1c411f56354e27ac12a9.tar.gz opie-e763e0cea060ae3a2dfb1c411f56354e27ac12a9.tar.bz2 |
Implement native package linking code (removing need for ipkg-link and its shortcomings), move package linking code to OIpkg (proper place for ipkg specific code), many small code tweaks and bump version up to 0.6.1
Diffstat (limited to 'noncore/settings/packagemanager/installdlg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/installdlg.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/noncore/settings/packagemanager/installdlg.h b/noncore/settings/packagemanager/installdlg.h index 7a64fe0..e633809 100644 --- a/noncore/settings/packagemanager/installdlg.h +++ b/noncore/settings/packagemanager/installdlg.h | |||
@@ -33,32 +33,24 @@ _;:, .> :=|. This file is free software; you can | |||
33 | #include <qwidget.h> | 33 | #include <qwidget.h> |
34 | 34 | ||
35 | #include "opackage.h" | 35 | #include "opackage.h" |
36 | 36 | ||
37 | class QComboBox; | 37 | class QComboBox; |
38 | class QLabel; | 38 | class QLabel; |
39 | class QMultiLineEdit; | 39 | class QMultiLineEdit; |
40 | class QPushButton; | 40 | class QPushButton; |
41 | 41 | ||
42 | class OConfItem; | 42 | class OConfItem; |
43 | class OPackageManager; | 43 | class OPackageManager; |
44 | 44 | ||
45 | namespace Opie | ||
46 | { | ||
47 | namespace Core | ||
48 | { | ||
49 | class OProcess; | ||
50 | } | ||
51 | } | ||
52 | |||
53 | class InstallDlg : public QWidget | 45 | class InstallDlg : public QWidget |
54 | { | 46 | { |
55 | Q_OBJECT | 47 | Q_OBJECT |
56 | 48 | ||
57 | public: | 49 | public: |
58 | InstallDlg( QWidget *parent = 0l, OPackageManager *pm = 0l, | 50 | InstallDlg( QWidget *parent = 0l, OPackageManager *pm = 0l, |
59 | const QString &caption = QString::null, | 51 | const QString &caption = QString::null, |
60 | OPackage::Command command1 = OPackage::NotDefined, | 52 | OPackage::Command command1 = OPackage::NotDefined, |
61 | const QStringList &packages1 = QStringList(), | 53 | const QStringList &packages1 = QStringList(), |
62 | OPackage::Command command2 = OPackage::NotDefined, | 54 | OPackage::Command command2 = OPackage::NotDefined, |
63 | const QStringList &packages2 = QStringList(), | 55 | const QStringList &packages2 = QStringList(), |
64 | OPackage::Command command3 = OPackage::NotDefined, | 56 | OPackage::Command command3 = OPackage::NotDefined, |
@@ -80,22 +72,21 @@ private: | |||
80 | // Commands and packages to execute | 72 | // Commands and packages to execute |
81 | int m_numCommands; // Number of commands to be executed | 73 | int m_numCommands; // Number of commands to be executed |
82 | int m_currCommand; // Number of currently executing command | 74 | int m_currCommand; // Number of currently executing command |
83 | OPackage::Command m_command[3]; // List of commands to be executed | 75 | OPackage::Command m_command[3]; // List of commands to be executed |
84 | QStringList m_packages[3]; // Lists of package names associated to commands (m_command[]) | 76 | QStringList m_packages[3]; // Lists of package names associated to commands (m_command[]) |
85 | OConfItem *m_destItem; // Pointer to destination for package installation | 77 | OConfItem *m_destItem; // Pointer to destination for package installation |
86 | 78 | ||
87 | private slots: | 79 | private slots: |
88 | // UI control slots | 80 | // UI control slots |
89 | void slotDisplayAvailSpace( const QString &destination ); | 81 | void slotDisplayAvailSpace( const QString &destination ); |
90 | void slotBtnStart(); | 82 | void slotBtnStart(); |
91 | void slotBtnOptions(); | 83 | void slotBtnOptions(); |
92 | void slotProcessDone( Opie::Core::OProcess *proc ); | ||
93 | 84 | ||
94 | // Execution slots | 85 | // Execution slots |
95 | void slotOutput( char *msg ); | 86 | void slotOutput( const QString &msg ); |
96 | 87 | ||
97 | signals: | 88 | signals: |
98 | void closeInstallDlg(); | 89 | void closeInstallDlg(); |
99 | }; | 90 | }; |
100 | 91 | ||
101 | #endif | 92 | #endif |