summaryrefslogtreecommitdiffstats
path: root/kdecore/kapplication.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
commitf7e71d47719ab6094cf4a9fafffa5ea351973522 (patch)
tree30834aa632d442019e14f88685001d94657d060b /kdecore/kapplication.h
parentb31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff)
downloadtdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz
tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kapplication.h')
-rw-r--r--kdecore/kapplication.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/kdecore/kapplication.h b/kdecore/kapplication.h
index dd89de131..93820b68d 100644
--- a/kdecore/kapplication.h
+++ b/kdecore/kapplication.h
@@ -30,6 +30,8 @@ class KCharsets;
class DCOPClient;
class DCOPObject;
+#include <tqtglobaldefines.h>
+
typedef unsigned long Atom;
#if !defined(Q_WS_X11)
typedef void Display;
@@ -214,7 +216,7 @@ public:
/**
* Returns the current application object.
*
- * This is similar to the global TQApplication pointer qApp. It
+ * This is similar to the global TQApplication pointer tqApp. It
* allows access to the single global KApplication object, since
* more than one cannot be created in the same application. It
* saves you the trouble of having to pass the pointer explicitly
@@ -364,14 +366,14 @@ public:
* handling of session management with KSessionManaged.
* @internal
*/
- void commitData( QSessionManager& sm );
+ void commitData( TQSessionManager& sm );
/**
* Reimplemented for internal purposes, mainly the highlevel
* handling of session management with KSessionManaged.
* @internal
*/
- void saveState( QSessionManager& sm );
+ void saveState( TQSessionManager& sm );
/**
* Returns true if the application is currently saving its session
@@ -1467,7 +1469,7 @@ public:
indicate a problem and to halt the shutdown process (will
implicitly call sm.cancel() ).
*/
- virtual bool saveState( QSessionManager& sm );
+ virtual bool saveState( TQSessionManager& sm );
/**
See TQApplication::commitData() for documentation.
@@ -1477,7 +1479,7 @@ public:
indicate a problem and to halt the shutdown process (will
implicitly call sm.cancel() ).
*/
- virtual bool commitData( QSessionManager& sm );
+ virtual bool commitData( TQSessionManager& sm );
protected:
virtual void virtual_hook( int id, void* data );