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.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;
class CategoryDialog;
class QPixmap;
// number of fields for one entry
#define FIELD_SIZE 7
-class ZSafe : public QDialog
+class ZSafe : public QWidget
{
Q_OBJECT
protected:
void paintEvent( QPaintEvent * e );
void resizeEvent ( QResizeEvent * );
bool raiseFlag;
QTimer raiseTimer;
public:
- ZSafe( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = WDestructiveClose );
+ ZSafe( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~ZSafe();
+ static QString appName() { return QString::fromLatin1( QUICKAPP_NAME ); }
static const QColor *evenRowColor;
static const QColor *oddRowColor;
QToolButton* Edit;
QToolButton* Delete;
@@ -192,7 +193,12 @@ private slots:
void setDocument(const QString& fileref);
void slotLoadDocu();
void slotRaiseTimer();
};
+
+extern ZSafe *zs;
+extern QApplication *appl;
+extern int DeskW;
+extern int DeskH;
#endif // ZSAFE_H