From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/plugins/macros/lib/metaobject.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kexi/plugins/macros/lib/metaobject.h') diff --git a/kexi/plugins/macros/lib/metaobject.h b/kexi/plugins/macros/lib/metaobject.h index 8b611574..a1a52562 100644 --- a/kexi/plugins/macros/lib/metaobject.h +++ b/kexi/plugins/macros/lib/metaobject.h @@ -20,7 +20,7 @@ #ifndef KOMACRO_METAOBJECT_H #define KOMACRO_METAOBJECT_H -#include +#include #include #include "komacro_export.h" @@ -32,11 +32,11 @@ namespace KoMacro { class MetaMethod; /** - * Class to provide abstract access to extended QObject functionality - * like the undocumented QUObject-API in Qt3. + * Class to provide abstract access to extended TQObject functionality + * like the undocumented TQUObject-API in TQt3. * - * The design tried to limit future porting to Qt4 by providing a - * somewhat similar API to the Qt4 QMeta* stuff. + * The design tried to limit future porting to TQt4 by providing a + * somewhat similar API to the TQt4 TQMeta* stuff. */ class KOMACRO_EXPORT MetaObject : public KShared { @@ -45,10 +45,10 @@ namespace KoMacro { /** * Constructor. * - * @param object The QObject instance this @a MetaObject provides + * @param object The TQObject instance this @a MetaObject provides * abstract access to. */ - explicit MetaObject(QObject* const object); + explicit MetaObject(TQObject* const object); /** * Destructor. @@ -56,13 +56,13 @@ namespace KoMacro { ~MetaObject(); /** - * @return the QObject this @a MetaObject provides abstract + * @return the TQObject this @a MetaObject provides abstract * access to. */ - QObject* const object() const; + TQObject* const object() const; - //QStrList signalNames() const; - //QStrList slotNames() const; + //TQStrList signalNames() const; + //TQStrList slotNames() const; /** * @return the index of the signal @p signal . @@ -91,7 +91,7 @@ namespace KoMacro { KSharedPtr slot(const char* slot); //KSharedPtr addSlot(const char* slot); -//void connectSignal(QObject* obj, const char* signal); +//void connectSignal(TQObject* obj, const char* signal); /** * Invoke the @a MetaMethod that has the index @p index . @@ -104,7 +104,7 @@ namespace KoMacro { * @return The returnvalue the method provides and that got * returned if the execution is done. */ - KSharedPtr invokeMethod(int index, QValueList< KSharedPtr > arguments); + KSharedPtr invokeMethod(int index, TQValueList< KSharedPtr > arguments); private: /// @internal d-pointer class. -- cgit v1.2.1