summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/installdlgimpl.h
authordrw <drw>2003-02-01 02:07:22 (UTC)
committer drw <drw>2003-02-01 02:07:22 (UTC)
commit766f09a89eef17808e77836f76371aab8ebc4c1c (patch) (unidiff)
tree3a298c40d5b688dc409a0e6d251a514d88eada48 /noncore/settings/aqpkg/installdlgimpl.h
parent266feac1ac442947651bf169dbf993c4d46d56ea (diff)
downloadopie-766f09a89eef17808e77836f76371aab8ebc4c1c.zip
opie-766f09a89eef17808e77836f76371aab8ebc4c1c.tar.gz
opie-766f09a89eef17808e77836f76371aab8ebc4c1c.tar.bz2
Many updates to install dialog
Diffstat (limited to 'noncore/settings/aqpkg/installdlgimpl.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/installdlgimpl.h32
1 files changed, 25 insertions, 7 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.h b/noncore/settings/aqpkg/installdlgimpl.h
index 2f80f08..4c9f087 100644
--- a/noncore/settings/aqpkg/installdlgimpl.h
+++ b/noncore/settings/aqpkg/installdlgimpl.h
@@ -22,6 +22,13 @@ using namespace std;
22 22
23#include <qwidget.h>
23#include <qstring.h> 24#include <qstring.h>
24 25
25#include "ipkg.h" 26class QComboBox;
26#include "install.h" 27class QLabel;
28class QMultiLineEdit;
29class QPushButton;
30
31class DataManager;
32class Destination;
33class Ipkg;
27 34
@@ -36,13 +43,12 @@ public:
36 43
37class InstallDlgImpl : public InstallDlg 44class InstallDlgImpl : public QWidget
38{ 45{
46 Q_OBJECT
39public: 47public:
40 InstallDlgImpl( vector<InstallData> &packageList, DataManager *dataManager, QWidget * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 48 InstallDlgImpl( vector<InstallData> &packageList, DataManager *dataManager, const char *title = 0 );
41 InstallDlgImpl( Ipkg *ipkg, QString initialText, QWidget * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); 49 InstallDlgImpl( Ipkg *ipkg, QString initialText, const char *title = 0 );
42 ~InstallDlgImpl(); 50 ~InstallDlgImpl();
43 51
44 bool showDlg();
45 bool upgradeServer( QString &server ); 52 bool upgradeServer( QString &server );
46 53
47
48protected: 54protected:
@@ -58,4 +64,16 @@ private:
58 64
65 QComboBox *destination;
66 QPushButton *btnInstall;
67 QPushButton *btnOptions;
68 QMultiLineEdit *output;
69 QLabel *txtAvailableSpace;
70
71 void init( bool );
72
59 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 );
60 74
75signals:
76 void reloadData( InstallDlgImpl * );
77
78public slots:
61 void optionsSelected(); 79 void optionsSelected();