summaryrefslogtreecommitdiffstats
path: root/kdecore/kapplication.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-28 03:20:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-28 03:20:39 +0000
commit5194b175a4820c853f3669515eebab50dc088f20 (patch)
tree6b0db4dd2c768b00e0b665d6aa0e35a8784637bb /kdecore/kapplication.cpp
parent28042add4dfb7afb6559f8d890f56c22bfa632e5 (diff)
downloadtdelibs-5194b175a4820c853f3669515eebab50dc088f20.tar.gz
tdelibs-5194b175a4820c853f3669515eebab50dc088f20.zip
Fix icon activation glich under Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1222999 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kapplication.cpp')
-rw-r--r--kdecore/kapplication.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/kdecore/kapplication.cpp b/kdecore/kapplication.cpp
index ddbfd4a05..de3a7028d 100644
--- a/kdecore/kapplication.cpp
+++ b/kdecore/kapplication.cpp
@@ -20,9 +20,20 @@
#include "config.h"
+// #ifdef QTRANSLATOR_H
+// #error qtranslator.h was already included
+// #endif // QTRANSLATOR_H
+//
+// #ifdef TQTRANSLATOR_H
+// #error tqtranslator.h was already included
+// #endif // TQTRANSLATOR_H
+
#undef QT_NO_TRANSLATION
+#undef TQT_NO_TRANSLATION
#include <tqtranslator.h>
+#include "kapplication.h"
#define QT_NO_TRANSLATION
+#define TQT_NO_TRANSLATION
#include <tqdir.h>
#include <tqptrcollection.h>
#include <tqwidgetlist.h>
@@ -46,9 +57,6 @@
#include <tqsqlpropertymap.h>
#endif
-#undef QT_NO_TRANSLATION
-#include "kapplication.h"
-#define QT_NO_TRANSLATION
#include <kglobal.h>
#include <kstandarddirs.h>
#include <kdebug.h>