summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/networkpkgmgr.h
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/networkpkgmgr.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/networkpkgmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.h b/noncore/settings/aqpkg/networkpkgmgr.h
index 3c437b4..3a111ff 100644
--- a/noncore/settings/aqpkg/networkpkgmgr.h
+++ b/noncore/settings/aqpkg/networkpkgmgr.h
@@ -19,49 +19,49 @@
19#define NETWORKPKGMGR_H 19#define NETWORKPKGMGR_H
20 20
21#include <qlayout.h> 21#include <qlayout.h>
22#include <qpushbutton.h> 22#include <qpushbutton.h>
23#include <qwidget.h> 23#include <qwidget.h>
24#include <qcombobox.h> 24#include <qcombobox.h>
25#include <qlistview.h> 25#include <qlistview.h>
26 26
27#include "datamgr.h" 27#include "datamgr.h"
28#include "progressdlg.h" 28#include "progressdlg.h"
29class InstallData; 29class InstallData;
30 30
31/** NetworkPackageManager is the base class of the project */ 31/** NetworkPackageManager is the base class of the project */
32class NetworkPackageManager : public QWidget 32class NetworkPackageManager : public QWidget
33{ 33{
34 Q_OBJECT 34 Q_OBJECT
35public: 35public:
36 /** construtor */ 36 /** construtor */
37 NetworkPackageManager( DataManager *dataManager, QWidget* parent=0, const char *name=0); 37 NetworkPackageManager( DataManager *dataManager, QWidget* parent=0, const char *name=0);
38 /** destructor */ 38 /** destructor */
39 ~NetworkPackageManager(); 39 ~NetworkPackageManager();
40 40
41 void selectLocalPackage( const QString &pkg ); 41 void selectLocalPackage( const QString &pkg );
42 void updateData(); 42 void updateData();
43 43 void searchForPackage();
44private: 44private:
45 DataManager *dataMgr; 45 DataManager *dataMgr;
46 46
47 QComboBox *serversList; 47 QComboBox *serversList;
48 QListView *packagesList; 48 QListView *packagesList;
49 QPushButton *update; 49 QPushButton *update;
50 QPushButton *upgrade; 50 QPushButton *upgrade;
51 QPushButton *download; 51 QPushButton *download;
52 QPushButton *apply; 52 QPushButton *apply;
53 53
54 ProgressDlg *progressDlg; 54 ProgressDlg *progressDlg;
55 QString currentlySelectedServer; 55 QString currentlySelectedServer;
56 56
57 bool showJumpTo; 57 bool showJumpTo;
58 int timerId; 58 int timerId;
59 59
60 void timerEvent ( QTimerEvent * ); 60 void timerEvent ( QTimerEvent * );
61 61
62 void initGui(); 62 void initGui();
63 void setupConnections(); 63 void setupConnections();
64 void showProgressDialog( char *initialText ); 64 void showProgressDialog( char *initialText );
65 InstallData dealWithItem( QCheckListItem *item ); 65 InstallData dealWithItem( QCheckListItem *item );
66 QString stickyOption; 66 QString stickyOption;
67 67