summaryrefslogtreecommitdiff
path: root/noncore/apps/zsafe/zsafe.h
Side-by-side diff
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
@@ -20,6 +20,8 @@
#include "categorylist.h"
#include "shadedlistitem.h"
+#include <qmainwindow.h>
+
#include <qvariant.h>
#include <qdialog.h>
#include <qwidgetstack.h>
@@ -46,13 +48,12 @@ class QPixmap;
// number of fields for one entry
#define FIELD_SIZE 7
-class ZSafe : public QWidget
+class ZSafe : public QMainWindow
{
Q_OBJECT
protected:
void paintEvent( QPaintEvent * e );
- void resizeEvent ( QResizeEvent * );
bool raiseFlag;
QTimer raiseTimer;
@@ -65,10 +66,6 @@ public:
static const QColor *evenRowColor;
static const QColor *oddRowColor;
- QToolButton* Edit;
- QToolButton* Delete;
- QToolButton* Find;
- QToolButton* New;
ZListView* ListView;
QString cfgFile;
@@ -181,7 +178,6 @@ public slots:
virtual void saveDocumentAs();
virtual void saveDocumentWithoutPwd();
virtual void saveDocumentWithPwd();
- virtual void about();
virtual void setExpandFlag();
virtual void categoryFieldActivated( const QString& str);
@@ -196,9 +192,4 @@ private slots:
};
-
-extern ZSafe *zs;
-extern QApplication *appl;
-extern int DeskW;
-extern int DeskH;
#endif // ZSAFE_H