-rw-r--r-- | noncore/apps/zsafe/zsafe.h | 15 |
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 @@ | |||
20 | #include "categorylist.h" | 20 | #include "categorylist.h" |
21 | #include "shadedlistitem.h" | 21 | #include "shadedlistitem.h" |
22 | 22 | ||
23 | #include <qmainwindow.h> | ||
24 | |||
23 | #include <qvariant.h> | 25 | #include <qvariant.h> |
24 | #include <qdialog.h> | 26 | #include <qdialog.h> |
25 | #include <qwidgetstack.h> | 27 | #include <qwidgetstack.h> |
@@ -46,13 +48,12 @@ class QPixmap; | |||
46 | // number of fields for one entry | 48 | // number of fields for one entry |
47 | #define FIELD_SIZE 7 | 49 | #define FIELD_SIZE 7 |
48 | 50 | ||
49 | class ZSafe : public QWidget | 51 | class ZSafe : public QMainWindow |
50 | { | 52 | { |
51 | Q_OBJECT | 53 | Q_OBJECT |
52 | 54 | ||
53 | protected: | 55 | protected: |
54 | void paintEvent( QPaintEvent * e ); | 56 | void paintEvent( QPaintEvent * e ); |
55 | void resizeEvent ( QResizeEvent * ); | ||
56 | 57 | ||
57 | bool raiseFlag; | 58 | bool raiseFlag; |
58 | QTimer raiseTimer; | 59 | QTimer raiseTimer; |
@@ -65,10 +66,6 @@ public: | |||
65 | static const QColor *evenRowColor; | 66 | static const QColor *evenRowColor; |
66 | static const QColor *oddRowColor; | 67 | static const QColor *oddRowColor; |
67 | 68 | ||
68 | QToolButton* Edit; | ||
69 | QToolButton* Delete; | ||
70 | QToolButton* Find; | ||
71 | QToolButton* New; | ||
72 | ZListView* ListView; | 69 | ZListView* ListView; |
73 | 70 | ||
74 | QString cfgFile; | 71 | QString cfgFile; |
@@ -181,7 +178,6 @@ public slots: | |||
181 | virtual void saveDocumentAs(); | 178 | virtual void saveDocumentAs(); |
182 | virtual void saveDocumentWithoutPwd(); | 179 | virtual void saveDocumentWithoutPwd(); |
183 | virtual void saveDocumentWithPwd(); | 180 | virtual void saveDocumentWithPwd(); |
184 | virtual void about(); | ||
185 | virtual void setExpandFlag(); | 181 | virtual void setExpandFlag(); |
186 | 182 | ||
187 | virtual void categoryFieldActivated( const QString& str); | 183 | virtual void categoryFieldActivated( const QString& str); |
@@ -196,9 +192,4 @@ private slots: | |||
196 | 192 | ||
197 | }; | 193 | }; |
198 | 194 | ||
199 | |||
200 | extern ZSafe *zs; | ||
201 | extern QApplication *appl; | ||
202 | extern int DeskW; | ||
203 | extern int DeskH; | ||
204 | #endif // ZSAFE_H | 195 | #endif // ZSAFE_H |