summaryrefslogtreecommitdiffstats
path: root/quanta/src/kqapp.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/src/kqapp.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/src/kqapp.h')
-rw-r--r--quanta/src/kqapp.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/quanta/src/kqapp.h b/quanta/src/kqapp.h
index 1ecda501..ea4b9b7d 100644
--- a/quanta/src/kqapp.h
+++ b/quanta/src/kqapp.h
@@ -16,8 +16,8 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/
-#ifndef KQAPPLICATION_H
-#define KQAPPLICATION_H
+#ifndef KTQAPPLICATION_H
+#define KTQAPPLICATION_H
#include <tqframe.h>
#include <kuniqueapplication.h>
@@ -25,20 +25,21 @@
class KCmdLineArgs;
class KSplashScreen;
-class KSplash : public QFrame
+class KSplash : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
KSplash();
~KSplash();
};
-class KQApplicationPrivate
+class KTQApplicationPrivate
{
public:
- KQApplicationPrivate():splash(0L), sp(0L) {};
- ~KQApplicationPrivate() {};
+ KTQApplicationPrivate():splash(0L), sp(0L) {};
+ ~KTQApplicationPrivate() {};
protected:
void init();
@@ -48,25 +49,27 @@ class KQApplicationPrivate
KSplashScreen *sp;
};
-class KQApplication : public KApplication, KQApplicationPrivate
+class KTQApplication : public KApplication, KTQApplicationPrivate
{
Q_OBJECT
+ TQ_OBJECT
public:
- KQApplication();
- ~KQApplication();
+ KTQApplication();
+ ~KTQApplication();
public slots:
void slotInit();
void slotSplashTimeout();
};
-class KQUniqueApplication : public KUniqueApplication, KQApplicationPrivate
+class KTQUniqueApplication : public KUniqueApplication, KTQApplicationPrivate
{
Q_OBJECT
+ TQ_OBJECT
public:
- KQUniqueApplication();
- ~KQUniqueApplication();
+ KTQUniqueApplication();
+ ~KTQUniqueApplication();
/** Create new instance of Quanta. Make the existing
main window active if Quanta is already running */