summaryrefslogtreecommitdiff
path: root/noncore/apps/zsafe/zsafe.h
authordrw <drw>2005-05-06 21:54:49 (UTC)
committer drw <drw>2005-05-06 21:54:49 (UTC)
commit852f6cf4ff1c4010f998ee8cd68936e38001f032 (patch) (side-by-side diff)
treef12269677f7a84dfe0c6b9aaa6db9875d3d8b8c4 /noncore/apps/zsafe/zsafe.h
parent1a4c6fd2efdb11c2bddc77126e509b5a47665715 (diff)
downloadopie-852f6cf4ff1c4010f998ee8cd68936e38001f032.zip
opie-852f6cf4ff1c4010f998ee8cd68936e38001f032.tar.gz
opie-852f6cf4ff1c4010f998ee8cd68936e38001f032.tar.bz2
Opie-fy ZSafe UI: clean up menus, use proper toolbar, use shared pics where possible and use OResource for image loading
Diffstat (limited to 'noncore/apps/zsafe/zsafe.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/zsafe/zsafe.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/noncore/apps/zsafe/zsafe.h b/noncore/apps/zsafe/zsafe.h
index 3d812f8..0be579c 100644
--- a/noncore/apps/zsafe/zsafe.h
+++ b/noncore/apps/zsafe/zsafe.h
@@ -21,4 +21,6 @@
#include "shadedlistitem.h"
+#include <qmainwindow.h>
+
#include <qvariant.h>
#include <qdialog.h>
@@ -47,5 +49,5 @@ class QPixmap;
#define FIELD_SIZE 7
-class ZSafe : public QWidget
+class ZSafe : public QMainWindow
{
Q_OBJECT
@@ -53,5 +55,4 @@ class ZSafe : public QWidget
protected:
void paintEvent( QPaintEvent * e );
- void resizeEvent ( QResizeEvent * );
bool raiseFlag;
@@ -66,8 +67,4 @@ public:
static const QColor *oddRowColor;
- QToolButton* Edit;
- QToolButton* Delete;
- QToolButton* Find;
- QToolButton* New;
ZListView* ListView;
@@ -182,5 +179,4 @@ public slots:
virtual void saveDocumentWithoutPwd();
virtual void saveDocumentWithPwd();
- virtual void about();
virtual void setExpandFlag();
@@ -197,8 +193,3 @@ private slots:
};
-
-extern ZSafe *zs;
-extern QApplication *appl;
-extern int DeskW;
-extern int DeskH;
#endif // ZSAFE_H