author | drw <drw> | 2003-02-01 02:07:22 (UTC) |
---|---|---|
committer | drw <drw> | 2003-02-01 02:07:22 (UTC) |
commit | 766f09a89eef17808e77836f76371aab8ebc4c1c (patch) (side-by-side diff) | |
tree | 3a298c40d5b688dc409a0e6d251a514d88eada48 /noncore/settings/aqpkg/installdlgimpl.h | |
parent | 266feac1ac442947651bf169dbf993c4d46d56ea (diff) | |
download | opie-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.h | 32 |
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; +#include <qwidget.h> #include <qstring.h> -#include "ipkg.h" -#include "install.h" +class QComboBox; +class QLabel; +class QMultiLineEdit; +class QPushButton; + +class DataManager; +class Destination; +class Ipkg; @@ -36,13 +43,12 @@ public: -class InstallDlgImpl : public InstallDlg +class InstallDlgImpl : public QWidget { + Q_OBJECT public: - InstallDlgImpl( vector<InstallData> &packageList, DataManager *dataManager, QWidget * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); - InstallDlgImpl( Ipkg *ipkg, QString initialText, QWidget * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); + InstallDlgImpl( vector<InstallData> &packageList, DataManager *dataManager, const char *title = 0 ); + InstallDlgImpl( Ipkg *ipkg, QString initialText, const char *title = 0 ); ~InstallDlgImpl(); - bool showDlg(); bool upgradeServer( QString &server ); - protected: @@ -58,4 +64,16 @@ private: + QComboBox *destination; + QPushButton *btnInstall; + QPushButton *btnOptions; + QMultiLineEdit *output; + QLabel *txtAvailableSpace; + + void init( bool ); + bool runIpkg( QString &option, const QString& package, const QString& dest, int flags ); +signals: + void reloadData( InstallDlgImpl * ); + +public slots: void optionsSelected(); |