[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenox/konq-embed/dropin
From:       Stefan Eilers <stefan.eilers () basyskom ! de>
Date:       2007-03-05 8:36:25
Message-ID: 1173083785.624127.27441.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 639513 by eilers:

Fixed problems mit Qt2 Moc. Using the precompiler to replace QApplication with QPEApplication
doesn't work (the QApplication signal "appMessage()" don't connect).
As this connection is just for the QPE-Release, we use the replacement
for the X11 variant, only. 


 M  +4 -3      kapplication.h  


--- trunk/kdenox/konq-embed/dropin/kapplication.h #639512:639513
@@ -37,7 +37,8 @@
 
 #ifdef _QT_QPE_
 #include <qtopia/qpeapplication.h>
-#define QApplication QPEApplication
+#else
+#define QPEApplication QApplication 
 #endif
 
 #include <kurl.h>
@@ -58,11 +59,11 @@
 
 #include <kglobalsettings.h>
 
-class KApplication : public QApplication, public KInstance
+class KApplication : public QPEApplication, public KInstance
 {
     Q_OBJECT
 
-#undef QApplication
+#undef QPEApplication
 
 public:
     KApplication( int &argc, char **argv, const char *name );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic