summaryrefslogtreecommitdiff
authorandyq <andyq>2002-10-16 18:56:24 (UTC)
committer andyq <andyq>2002-10-16 18:56:24 (UTC)
commit2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad (patch) (unidiff)
tree59ff2eabbbfc6f7f26fab540444328cecdd1a3f1
parent73b4588d48fdb0c004646e5d8468f57a4a20ac14 (diff)
downloadopie-2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad.zip
opie-2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad.tar.gz
opie-2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad.tar.bz2
Added new method for upgrade all packages
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/networkpkgmgr.h4
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
@@ -40,31 +40,33 @@ public:
40 void updateData(); 40 void updateData();
41 41
42private: 42private:
43 DataManager *dataMgr; 43 DataManager *dataMgr;
44 44
45 QComboBox *serversList; 45 QComboBox *serversList;
46 QListView *packagesList; 46 QListView *packagesList;
47 QPushButton *update; 47 QPushButton *update;
48 QPushButton *upgrade;
48 QPushButton *download; 49 QPushButton *download;
49 QPushButton *apply; 50 QPushButton *apply;
50 51
51 ProgressDlg *progressDlg; 52 ProgressDlg *progressDlg;
52 53
53 int timerId; 54 int timerId;
54 55
55 void timerEvent ( QTimerEvent * ); 56 void timerEvent ( QTimerEvent * );
56 57
57 void initGui(); 58 void initGui();
58 void setupConnections(); 59 void setupConnections();
59 void showProgressDialog(); 60 void showProgressDialog( char *initialText );
60 QString dealWithItem( QCheckListItem *item ); 61 QString dealWithItem( QCheckListItem *item );
61 62
62public slots: 63public slots:
63 void serverSelected( int index ); 64 void serverSelected( int index );
64 void applyChanges(); 65 void applyChanges();
66 void upgradePackages();
65 void downloadPackage(); 67 void downloadPackage();
66 void updateServer(); 68 void updateServer();
67 void displayText( const QString &t ); 69 void displayText( const QString &t );
68}; 70};
69 71
70#endif 72#endif