summaryrefslogtreecommitdiff
path: root/noncore/apps/zsafe/zsafe.h
Unidiff
Diffstat (limited to 'noncore/apps/zsafe/zsafe.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/zsafe/zsafe.h10
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;
43class CategoryDialog; 43class CategoryDialog;
44class QPixmap; 44class 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
49class ZSafe : public QDialog 49class ZSafe : public QWidget
50{ 50{
51 Q_OBJECT 51 Q_OBJECT
52 52
53protected: 53protected:
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
60public: 60public:
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
200extern ZSafe *zs;
201extern QApplication *appl;
202extern int DeskW;
203extern int DeskH;
198#endif // ZSAFE_H 204#endif // ZSAFE_H