summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/mainwindow.h
authortille <tille>2002-04-26 00:50:30 (UTC)
committer tille <tille>2002-04-26 00:50:30 (UTC)
commita111f57eedcf27623e9bff2816c83d3287272aff (patch) (unidiff)
treeb43ac41ffbdc741f731cf3f91aab064ba94ab0f3 /noncore/unsupported/oipkg/mainwindow.h
parent5198d98daeaa1e8eb8568ccd3c516ab70fbed512 (diff)
downloadopie-a111f57eedcf27623e9bff2816c83d3287272aff.zip
opie-a111f57eedcf27623e9bff2816c83d3287272aff.tar.gz
opie-a111f57eedcf27623e9bff2816c83d3287272aff.tar.bz2
added support for scipt ipkg (again;)
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h
index 0c1e474..892d5e8 100644
--- a/noncore/unsupported/oipkg/mainwindow.h
+++ b/noncore/unsupported/oipkg/mainwindow.h
@@ -1,29 +1,30 @@
1#ifndef MAINWINDOW_H 1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H 2#define MAINWINDOW_H
3 3
4#include <qmainwindow.h> 4#include <qmainwindow.h>
5#include <qaction.h> 5#include <qaction.h>
6#include <qtimer.h>
6#include <qpopupmenu.h> 7#include <qpopupmenu.h>
7 8
8#include "packagelist.h" 9#include "packagelist.h"
9#include "pmipkg.h" 10#include "pmipkg.h"
10#include "pksettings.h" 11#include "pksettings.h"
11#include "pkdesc.h" 12#include "pkdesc.h"
12 13
13class QComboBox; 14class QComboBox;
14class QPEToolBar; 15class QPEToolBar;
15class QLineEdit; 16class QLineEdit;
16class QListView; 17class QListView;
17 18
18 19
19class MainWindow : public QMainWindow 20class MainWindow : public QMainWindow
20{ 21{
21 Q_OBJECT 22 Q_OBJECT
22 23
23 24
24public: 25public:
25 MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); 26 MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
26 ~MainWindow(); 27 ~MainWindow();
27 28
28protected slots: 29protected slots:
29 void runIpkg(); 30 void runIpkg();
@@ -48,27 +49,30 @@ public slots:
48 49
49private: 50private:
50 void makeMenu(); 51 void makeMenu();
51 void setSections(); 52 void setSections();
52 void setSubSections(); 53 void setSubSections();
53 54
54 PmIpkg* ipkg; 55 PmIpkg* ipkg;
55 PackageManagerSettings *settings; 56 PackageManagerSettings *settings;
56 PackageDetails* details; 57 PackageDetails* details;
57 PackageList packageList; 58 PackageList packageList;
58 Package *activePackage; 59 Package *activePackage;
59 QAction *runAction; 60 QAction *runAction;
60 QAction *detailsAction; 61 QAction *detailsAction;
61 QAction *updateAction; 62 QAction *updateAction;
62 QAction *findAction; 63 QAction *findAction;
63 QAction *sectionAction; 64 QAction *sectionAction;
64 QListView *listViewPackages; 65 QListView *listViewPackages;
65 QPopupMenu *contextMenu; 66 QPopupMenu *contextMenu;
66 QPEToolBar *findBar; 67 QPEToolBar *findBar;
67 QLineEdit *findEdit; 68 QLineEdit *findEdit;
68 QPEToolBar *sectionBar; 69 QPEToolBar *sectionBar;
69 QComboBox *section; 70 QComboBox *section;
70 QComboBox *subsection; 71 QComboBox *subsection;
71 QPopupMenu *popupMenu; 72 QPopupMenu *popupMenu;
73 bool updateIcon;
74private slots:
75 void rotateUpdateIcon();
72}; 76};
73 77
74#endif 78#endif