Diffstat (limited to 'noncore/settings/aqpkg/installdlgimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.h b/noncore/settings/aqpkg/installdlgimpl.h index 15cf427..9a7dbff 100644 --- a/noncore/settings/aqpkg/installdlgimpl.h +++ b/noncore/settings/aqpkg/installdlgimpl.h | |||
@@ -36,51 +36,51 @@ class InstallData | |||
36 | { | 36 | { |
37 | public: | 37 | public: |
38 | QString option; // I - install, D - delete, R- reinstall U - upgrade | 38 | QString option; // I - install, D - delete, R- reinstall U - upgrade |
39 | QString packageName; | 39 | QString packageName; |
40 | Destination *destination; | 40 | Destination *destination; |
41 | bool recreateLinks; | 41 | bool recreateLinks; |
42 | }; | 42 | }; |
43 | 43 | ||
44 | class InstallDlgImpl : public QWidget | 44 | class InstallDlgImpl : public QWidget |
45 | { | 45 | { |
46 | Q_OBJECT | 46 | Q_OBJECT |
47 | public: | 47 | public: |
48 | InstallDlgImpl( QList<InstallData> &packageList, DataManager *dataManager, const char *title = 0 ); | 48 | InstallDlgImpl( const QList<InstallData> &packageList, DataManager *dataManager, const char *title = 0 ); |
49 | InstallDlgImpl( Ipkg *ipkg, QString initialText, const char *title = 0 ); | 49 | InstallDlgImpl( Ipkg *ipkg, QString initialText, const char *title = 0 ); |
50 | ~InstallDlgImpl(); | 50 | ~InstallDlgImpl(); |
51 | 51 | ||
52 | bool upgradeServer( QString &server ); | 52 | bool upgradeServer( QString &server ); |
53 | 53 | ||
54 | protected: | 54 | protected: |
55 | 55 | ||
56 | private: | 56 | private: |
57 | DataManager *dataMgr; | 57 | DataManager *dataMgr; |
58 | QList<InstallData> installList; | 58 | QList<InstallData> packages; |
59 | QList<InstallData> removeList; | 59 | bool firstPackage; |
60 | QList<InstallData> updateList; | ||
61 | int flags; | 60 | int flags; |
62 | int infoLevel; | 61 | int infoLevel; |
63 | Ipkg *pIpkg; | 62 | Ipkg *pIpkg; |
64 | bool upgradePackages; | 63 | bool upgradePackages; |
65 | 64 | ||
66 | QComboBox *destination; | 65 | QComboBox *destination; |
67 | QPushButton *btnInstall; | 66 | QPushButton *btnInstall; |
68 | QPushButton *btnOptions; | 67 | QPushButton *btnOptions; |
69 | QMultiLineEdit *output; | 68 | QMultiLineEdit *output; |
70 | QLabel *txtAvailableSpace; | 69 | QLabel *txtAvailableSpace; |
71 | 70 | ||
72 | void init( bool ); | 71 | void init( bool ); |
73 | 72 | ||
74 | bool runIpkg( QString &option, const QString& package, const QString& dest, int flags ); | 73 | bool runIpkg( QString &option, const QString& package, const QString& dest, int flags ); |
75 | 74 | ||
76 | signals: | 75 | signals: |
77 | void reloadData( InstallDlgImpl * ); | 76 | void reloadData( InstallDlgImpl * ); |
78 | 77 | ||
79 | public slots: | 78 | public slots: |
80 | void optionsSelected(); | 79 | void optionsSelected(); |
81 | void installSelected(); | 80 | void installSelected(); |
82 | void displayText(const QString &text ); | 81 | void displayText(const QString &text ); |
83 | void displayAvailableSpace( const QString &text); | 82 | void displayAvailableSpace( const QString &text); |
83 | void ipkgFinished(); | ||
84 | }; | 84 | }; |
85 | 85 | ||
86 | #endif | 86 | #endif |