Diffstat (limited to 'noncore/settings/aqpkg/networkpkgmgr.h') (more/less context) (show 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 ); }; |