author | andyq <andyq> | 2002-11-03 12:41:54 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-11-03 12:41:54 (UTC) |
commit | b9aad2af4da88816effbc09f8d609bcabaf1f492 (patch) (unidiff) | |
tree | c8b260212063d2dab559656a3eb3073f1793d116 /noncore/settings/aqpkg/networkpkgmgr.h | |
parent | 57e4563332689305ac247ca2e259b37c3592f389 (diff) | |
download | opie-b9aad2af4da88816effbc09f8d609bcabaf1f492.zip opie-b9aad2af4da88816effbc09f8d609bcabaf1f492.tar.gz opie-b9aad2af4da88816effbc09f8d609bcabaf1f492.tar.bz2 |
Added find next facility
Diffstat (limited to 'noncore/settings/aqpkg/networkpkgmgr.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.h b/noncore/settings/aqpkg/networkpkgmgr.h index 3a111ff..20f6e2d 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.h +++ b/noncore/settings/aqpkg/networkpkgmgr.h | |||
@@ -19,60 +19,61 @@ | |||
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" |
29 | class InstallData; | 29 | class InstallData; |
30 | 30 | ||
31 | /** NetworkPackageManager is the base class of the project */ | 31 | /** NetworkPackageManager is the base class of the project */ |
32 | class NetworkPackageManager : public QWidget | 32 | class NetworkPackageManager : public QWidget |
33 | { | 33 | { |
34 | Q_OBJECT | 34 | Q_OBJECT |
35 | public: | 35 | public: |
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 | void searchForPackage(); | 43 | void searchForPackage( bool findNext ); |
44 | private: | 44 | private: |
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 | QString lastSearchText; | ||
56 | 57 | ||
57 | bool showJumpTo; | 58 | bool showJumpTo; |
58 | int timerId; | 59 | int timerId; |
59 | 60 | ||
60 | void timerEvent ( QTimerEvent * ); | 61 | void timerEvent ( QTimerEvent * ); |
61 | 62 | ||
62 | void initGui(); | 63 | void initGui(); |
63 | void setupConnections(); | 64 | void setupConnections(); |
64 | void showProgressDialog( char *initialText ); | 65 | void showProgressDialog( char *initialText ); |
65 | InstallData dealWithItem( QCheckListItem *item ); | 66 | InstallData dealWithItem( QCheckListItem *item ); |
66 | QString stickyOption; | 67 | QString stickyOption; |
67 | 68 | ||
68 | public slots: | 69 | public slots: |
69 | void serverSelected( int index ); | 70 | void serverSelected( int index ); |
70 | void applyChanges(); | 71 | void applyChanges(); |
71 | void upgradePackages(); | 72 | void upgradePackages(); |
72 | void downloadPackage(); | 73 | void downloadPackage(); |
73 | void updateServer(); | 74 | void updateServer(); |
74 | void displayText( const QString &t ); | 75 | void displayText( const QString &t ); |
75 | void letterPushed( QString t ); | 76 | void letterPushed( QString t ); |
76 | }; | 77 | }; |
77 | 78 | ||
78 | #endif | 79 | #endif |