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 |