-rw-r--r-- | noncore/apps/zsafe/zsafe.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/noncore/apps/zsafe/zsafe.h b/noncore/apps/zsafe/zsafe.h index 7419797..3d812f8 100644 --- a/noncore/apps/zsafe/zsafe.h +++ b/noncore/apps/zsafe/zsafe.h | |||
@@ -43,26 +43,27 @@ class Config; | |||
43 | class CategoryDialog; | 43 | class CategoryDialog; |
44 | class QPixmap; | 44 | class QPixmap; |
45 | 45 | ||
46 | // number of fields for one entry | 46 | // number of fields for one entry |
47 | #define FIELD_SIZE 7 | 47 | #define FIELD_SIZE 7 |
48 | 48 | ||
49 | class ZSafe : public QDialog | 49 | class ZSafe : public QWidget |
50 | { | 50 | { |
51 | Q_OBJECT | 51 | Q_OBJECT |
52 | 52 | ||
53 | protected: | 53 | protected: |
54 | void paintEvent( QPaintEvent * e ); | 54 | void paintEvent( QPaintEvent * e ); |
55 | void resizeEvent ( QResizeEvent * ); | 55 | void resizeEvent ( QResizeEvent * ); |
56 | 56 | ||
57 | bool raiseFlag; | 57 | bool raiseFlag; |
58 | QTimer raiseTimer; | 58 | QTimer raiseTimer; |
59 | 59 | ||
60 | public: | 60 | public: |
61 | ZSafe( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = WDestructiveClose ); | 61 | ZSafe( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
62 | ~ZSafe(); | 62 | ~ZSafe(); |
63 | static QString appName() { return QString::fromLatin1( QUICKAPP_NAME ); } | ||
63 | 64 | ||
64 | static const QColor *evenRowColor; | 65 | static const QColor *evenRowColor; |
65 | static const QColor *oddRowColor; | 66 | static const QColor *oddRowColor; |
66 | 67 | ||
67 | QToolButton* Edit; | 68 | QToolButton* Edit; |
68 | QToolButton* Delete; | 69 | QToolButton* Delete; |
@@ -192,7 +193,12 @@ private slots: | |||
192 | void setDocument(const QString& fileref); | 193 | void setDocument(const QString& fileref); |
193 | void slotLoadDocu(); | 194 | void slotLoadDocu(); |
194 | void slotRaiseTimer(); | 195 | void slotRaiseTimer(); |
195 | 196 | ||
196 | }; | 197 | }; |
197 | 198 | ||
199 | |||
200 | extern ZSafe *zs; | ||
201 | extern QApplication *appl; | ||
202 | extern int DeskW; | ||
203 | extern int DeskH; | ||
198 | #endif // ZSAFE_H | 204 | #endif // ZSAFE_H |