From 17eb865ad8248b1f47c565b074b9b6bbbd44935b Mon Sep 17 00:00:00 2001 From: tille Date: Wed, 24 Apr 2002 19:15:02 +0000 Subject: added find --- (limited to 'noncore/unsupported/oipkg/mainwindow.h') diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h index 95dcc90..0c1e474 100644 --- a/noncore/unsupported/oipkg/mainwindow.h +++ b/noncore/unsupported/oipkg/mainwindow.h @@ -10,7 +10,11 @@ #include "pksettings.h" #include "pkdesc.h" -#include "pkwindow.h" +class QComboBox; +class QPEToolBar; +class QLineEdit; +class QListView; + class MainWindow : public QMainWindow { @@ -21,16 +25,10 @@ public: MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); ~MainWindow(); - -protected: - PackageWindow *table; - - protected slots: void runIpkg(); void getList(); void updateList(); - void filterList(); void displayList(); void subSectionChanged(); void sectionChanged(); @@ -42,6 +40,11 @@ public slots: void showDetails(); void toggleActivePackage(); void setCurrent( QListViewItem* ); + void sectionClose(); + void sectionShow(bool); + void findClose(); + void findShow(bool); + void filterList(); private: void makeMenu(); @@ -56,7 +59,16 @@ private: QAction *runAction; QAction *detailsAction; QAction *updateAction; + QAction *findAction; + QAction *sectionAction; + QListView *listViewPackages; QPopupMenu *contextMenu; + QPEToolBar *findBar; + QLineEdit *findEdit; + QPEToolBar *sectionBar; + QComboBox *section; + QComboBox *subsection; + QPopupMenu *popupMenu; }; #endif -- cgit v0.9.0.2