Diffstat (limited to 'noncore/settings/aqpkg/mainwin.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/noncore/settings/aqpkg/mainwin.h b/noncore/settings/aqpkg/mainwin.h index 028ef5b..ef67cc9 100644 --- a/noncore/settings/aqpkg/mainwin.h +++ b/noncore/settings/aqpkg/mainwin.h @@ -17,16 +17,16 @@ #ifndef MAINWIN_H #define MAINWIN_H #include <qmainwindow.h> #include <qpixmap.h> -//#include <qwidgetstack.h> class QWidgetStack; class QPEToolBar; +class QLineEdit; class QAction; class ProgressWidget; class NetworkPackageManager; class DataManager; class MainWindow :public QMainWindow @@ -37,20 +37,24 @@ public: MainWindow(); ~MainWindow(); private: DataManager *mgr; - QMenuBar *menu; - QPopupMenu *help; - QPopupMenu *settings; - QPopupMenu *edit; - QPopupMenu *filter; QWidgetStack *stack; + + QPEToolBar *findBar; + QLineEdit *findEdit; + QAction *actionFindNext; + QAction *actionFilter; QAction *actionUpgrade; QAction *actionDownload; + QAction *actionUninstalled; + QAction *actionInstalled; + QAction *actionUpdated; + QPixmap iconDownload; QPixmap iconRemove; NetworkPackageManager *networkPkgWindow; ProgressWidget *progressWindow; @@ -60,14 +64,16 @@ private: int mnuFilterByCategory; int mnuSetFilterCategory; public slots: void setDocument( const QString &doc ); void displayHelp(); - void searchForPackage(); - void repeatSearchForPackage(); + void displayFindBar(); + void repeatFind(); + void findPackage( const QString & ); + void hideFindBar(); void displayAbout(); void displaySettings(); void filterUninstalledPackages(); void filterInstalledPackages(); void filterUpgradedPackages(); void filterCategory(); |