summaryrefslogtreecommitdiffstats
path: root/src/knowitapp.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 19:20:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 19:20:52 +0000
commite86f8310a920cbf1ecfac955fbad05916e954693 (patch)
treeddc018560d03c6aa794d9f399d006e5e3aa597f0 /src/knowitapp.h
parent1829a84466f690d4a6a10ddab91cea0f45ec9d77 (diff)
downloadknowit-e86f8310a920cbf1ecfac955fbad05916e954693.tar.gz
knowit-e86f8310a920cbf1ecfac955fbad05916e954693.zip
TQt4 port knowit
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knowit@1238876 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knowitapp.h')
-rw-r--r--src/knowitapp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/knowitapp.h b/src/knowitapp.h
index f876202..eb98f58 100644
--- a/src/knowitapp.h
+++ b/src/knowitapp.h
@@ -22,18 +22,19 @@
class KnowitApplication : public KUniqueApplication
{
Q_OBJECT
+ TQ_OBJECT
public:
KnowitApplication(bool allowStyles = true, bool GUIEnabled = true);
~KnowitApplication();
/** Commits all Application-relevant data on shutdown.
*
- * This function is called when the QSessionManager wants to close the
+ * This function is called when the TQSessionManager wants to close the
* Application. It is reimplemented to set the boolean sessionClose flag.
*
- * @param sm The QSessionManager object.
+ * @param sm The TQSessionManager object.
*/
- virtual void commitData(QSessionManager& sm);
+ virtual void commitData(TQSessionManager& sm);
/** Returns TRUE if the Application is closed by the session manager. */
bool closeByLogout() {return(mcloseByLogout);}