author | andyq <andyq> | 2002-10-16 18:56:24 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-16 18:56:24 (UTC) |
commit | 2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad (patch) (side-by-side diff) | |
tree | 59ff2eabbbfc6f7f26fab540444328cecdd1a3f1 /noncore/settings | |
parent | 73b4588d48fdb0c004646e5d8468f57a4a20ac14 (diff) | |
download | opie-2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad.zip opie-2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad.tar.gz opie-2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad.tar.bz2 |
Added new method for upgrade all packages
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.h b/noncore/settings/aqpkg/networkpkgmgr.h index 874b1bd..8a88b35 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.h +++ b/noncore/settings/aqpkg/networkpkgmgr.h @@ -24,47 +24,49 @@ #include <qcombobox.h> #include <qlistview.h> #include "datamgr.h" #include "progressdlg.h" /** NetworkPackageManager is the base class of the project */ class NetworkPackageManager : public QWidget { Q_OBJECT public: /** construtor */ NetworkPackageManager( DataManager *dataManager, QWidget* parent=0, const char *name=0); /** destructor */ ~NetworkPackageManager(); void updateData(); private: DataManager *dataMgr; QComboBox *serversList; QListView *packagesList; QPushButton *update; + QPushButton *upgrade; QPushButton *download; QPushButton *apply; ProgressDlg *progressDlg; int timerId; void timerEvent ( QTimerEvent * ); void initGui(); void setupConnections(); - void showProgressDialog(); + void showProgressDialog( char *initialText ); QString dealWithItem( QCheckListItem *item ); public slots: void serverSelected( int index ); void applyChanges(); + void upgradePackages(); void downloadPackage(); void updateServer(); void displayText( const QString &t ); }; #endif |