author | zecke <zecke> | 2004-11-15 17:08:58 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-15 17:08:58 (UTC) |
commit | 6d7b1a9a5f32a0b69c5ee9cc963e8a43a76327cf (patch) (unidiff) | |
tree | 45e30376ec8035174fc5fd9154ed35b4d405d5ed /noncore/apps/zsafe/zsafe.h | |
parent | 97fb9b69240d0daa5222fa9264587cde8b25c117 (diff) | |
download | opie-6d7b1a9a5f32a0b69c5ee9cc963e8a43a76327cf.zip opie-6d7b1a9a5f32a0b69c5ee9cc963e8a43a76327cf.tar.gz opie-6d7b1a9a5f32a0b69c5ee9cc963e8a43a76327cf.tar.bz2 |
Remove many many many #ifdefs
"I always knew it would come like this"
-Make it a QWidget instead of a QDialog
-Introduce appName
-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 | |||
@@ -46,7 +46,7 @@ class QPixmap; | |||
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 | ||
@@ -58,8 +58,9 @@ protected: | |||
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; |
@@ -195,4 +196,9 @@ private slots: | |||
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 |