author | drw <drw> | 2003-01-04 19:52:22 (UTC) |
---|---|---|
committer | drw <drw> | 2003-01-04 19:52:22 (UTC) |
commit | 8b0f280e69a6c5b4c1caf4070085feaf0951380d (patch) (side-by-side diff) | |
tree | ee99aba03491199a28b862afd439a591d9a3de88 /noncore/settings/aqpkg/networkpkgmgr.h | |
parent | d7474edcc4efccbf5d5fd4b8926739a597463242 (diff) | |
download | opie-8b0f280e69a6c5b4c1caf4070085feaf0951380d.zip opie-8b0f280e69a6c5b4c1caf4070085feaf0951380d.tar.gz opie-8b0f280e69a6c5b4c1caf4070085feaf0951380d.tar.bz2 |
Delay initial load of ipkg info so app displays quicker, and add progress display for longer operations (such as loading packages for large feeds).
Diffstat (limited to 'noncore/settings/aqpkg/networkpkgmgr.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.h b/noncore/settings/aqpkg/networkpkgmgr.h index 46919d7..2206c81 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.h +++ b/noncore/settings/aqpkg/networkpkgmgr.h @@ -27,4 +27,5 @@ #include "datamgr.h" #include "progressdlg.h" + class InstallData; @@ -35,8 +36,9 @@ class NetworkPackageManager : public QWidget public: /** construtor */ - NetworkPackageManager( DataManager *dataManager, QWidget* parent=0, const char *name=0); + NetworkPackageManager( QWidget* parent=0, const char *name=0 ); /** destructor */ ~NetworkPackageManager(); + void setDataManager( DataManager *dm ); void selectLocalPackage( const QString &pkg ); void updateData(); @@ -68,7 +70,4 @@ private: bool showInstalledPkgs; bool showUpgradedPkgs; - int timerId; - - void timerEvent ( QTimerEvent * ); void initGui(); @@ -77,9 +76,17 @@ private: void downloadSelectedPackages(); void downloadRemotePackage(); + void serverSelected( int index, bool showProgress ); + InstallData dealWithItem( QCheckListItem *item ); QString stickyOption; +signals: + void appRaiseMainWidget(); + void appRaiseProgressWidget(); + void progressSetSteps( int ); + void progressSetMessage( const QString & ); + void progressUpdate( int ); + public slots: - void serverSelected( int index ); void applyChanges(); void upgradePackages(); @@ -88,4 +95,5 @@ public slots: void displayText( const QString &t ); void letterPushed( QString t ); + void serverSelected( int index ); }; |