summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/pwminit.h
authorMichael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
commita08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff)
tree8ee90d686081c52e7c69b5ce946e9b1a7d690001 /pwmanager/pwmanager/pwminit.h
parent11edc920afe4f274c0964436633aa632c8288a40 (diff)
downloadkdepimpi-p1.zip
kdepimpi-p1.tar.gz
kdepimpi-p1.tar.bz2
initial public commit of qt4 portp1
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
@@ -20,7 +20,7 @@
#ifndef __PWMINIT_H
#define __PWMINIT_H
-#include <qvaluelist.h>
+#include <q3valuelist.h>
#include <qobject.h>
#ifndef PWM_EMBEDDED
#include <kuniqueapplication.h>
@@ -30,7 +30,6 @@
#include <qpe/qpeapplication.h>
#else //DESKTOP_VERSION
#include <qapplication.h>
-#include <qplatinumstyle.h>
#endif //DESKTOP_VERSION
#include <kapplication.h>
@@ -50,7 +49,7 @@ class PwMInit;
/** main application class */
#ifndef PWM_EMBEDDED
-//MOC_SKIP_BEGIN
+#ifndef Q_MOC_RUN
class PwMApplication : public KUniqueApplication
{
public:
@@ -68,7 +67,7 @@ public:
protected:
PwMInit *init;
};
-//MOC_SKIP_END
+#endif
#else //PWM_EMBEDDED
#ifndef DESKTOP_VERSION
@@ -154,7 +153,7 @@ public:
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();
@@ -214,7 +213,7 @@ protected:
/** 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;
};