From e86f8310a920cbf1ecfac955fbad05916e954693 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 19:20:52 +0000 Subject: 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 --- src/knowitapp.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/knowitapp.h') 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);} -- cgit v1.2.3