summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/pwminit.h
Side-by-side diff
Diffstat (limited to 'pwmanager/pwmanager/pwminit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwminit.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/pwmanager/pwmanager/pwminit.h b/pwmanager/pwmanager/pwminit.h
index bf72093..32d1b4f 100644
--- a/pwmanager/pwmanager/pwminit.h
+++ b/pwmanager/pwmanager/pwminit.h
@@ -17,23 +17,22 @@
* $Id$
**************************************************************************/
#ifndef __PWMINIT_H
#define __PWMINIT_H
-#include <qvaluelist.h>
+#include <q3valuelist.h>
#include <qobject.h>
#ifndef PWM_EMBEDDED
#include <kuniqueapplication.h>
#else //PWM_EMBEDDED
#ifndef DESKTOP_VERSION
#include <qpe/qpeapplication.h>
#else //DESKTOP_VERSION
#include <qapplication.h>
-#include <qplatinumstyle.h>
#endif //DESKTOP_VERSION
#include <kapplication.h>
#endif //PWM_EMBEDDED
#include "globalstuff.h"
@@ -47,13 +46,13 @@ class PwM;
class PwMTray;
class PwMDoc;
class PwMInit;
/** main application class */
#ifndef PWM_EMBEDDED
-//MOC_SKIP_BEGIN
+#ifndef Q_MOC_RUN
class PwMApplication : public KUniqueApplication
{
public:
PwMApplication(bool allowStyles=true,
bool GUIenabled=true,
bool configUnique=false)
@@ -65,13 +64,13 @@ public:
int newInstance();
protected:
PwMInit *init;
};
-//MOC_SKIP_END
+#endif
#else //PWM_EMBEDDED
#ifndef DESKTOP_VERSION
class PwMApplication : public QPEApplication
{
public:
@@ -151,13 +150,13 @@ public:
PwMKeyCard * keycard()
{ return _keycard; }
/** returns a pointer to the tray icon */
PwMTray * tray()
{ return _tray; }
/** returns a list of all open main windows */
- const QValueList<PwM *> * mainWndList()
+ const Q3ValueList<PwM *> * mainWndList()
{ return &_mainWndList; }
/** create a new document */
PwMDoc * createDoc();
/** create a new PwM main window */
PwM * createMainWnd(const QString &loadFile = QString::null,
bool loadFileDeepLocked = false,
@@ -211,12 +210,12 @@ protected:
KWalletEmu *_kwalletEmu;
/** pointer to the keycard interface */
PwMKeyCard *_keycard;
/** pointer to the tray icon */
PwMTray *_tray;
/** list of all open main windows */
- QValueList<PwM *> _mainWndList;
+ Q3ValueList<PwM *> _mainWndList;
/** saved command line options. */
savedCmd_t savedCmd;
};
#endif // __PWMINIT_H