summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/mainwindow.h
authortille <tille>2002-04-24 19:15:02 (UTC)
committer tille <tille>2002-04-24 19:15:02 (UTC)
commit17eb865ad8248b1f47c565b074b9b6bbbd44935b (patch) (side-by-side diff)
treec494b5050ce910df3c74e2a21c5579571792d926 /noncore/unsupported/oipkg/mainwindow.h
parent997b7685dcc48cc36737240ca53331f83b66dbeb (diff)
downloadopie-17eb865ad8248b1f47c565b074b9b6bbbd44935b.zip
opie-17eb865ad8248b1f47c565b074b9b6bbbd44935b.tar.gz
opie-17eb865ad8248b1f47c565b074b9b6bbbd44935b.tar.bz2
added find
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.h26
1 files changed, 19 insertions, 7 deletions
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