From f6741f0084eff115b9211de455ef80f308307680 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 15:05:55 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro (cherry picked from commit b9781b38d8fd868d592d6dee0417f6ab0ea57ac5) --- dcoppython/test/dcopserver/tdedcoptest.h | 2 +- kalyptus/ChangeLog | 2 +- kalyptus/kalyptus | 8 ++++---- kalyptus/kalyptusCxxToJNI.pm | 4 ++-- kalyptus/kalyptusCxxToJava.pm | 4 ++-- kalyptus/kalyptusCxxToKimono.pm | 4 ++-- kalyptus/kalyptusCxxToSmoke.pm | 2 +- kjsembed/bindings/bindingobject.h | 2 +- kjsembed/bindings/dcop_imp.h | 2 +- kjsembed/bindings/movie_imp.h | 2 +- kjsembed/bindings/netaccess_imp.h | 2 +- kjsembed/bindings/sql_imp.h | 4 ++-- kjsembed/bindings/tdeconfig_imp.h | 2 +- kjsembed/docs/embedding/qtembed/posviewimp.h | 2 +- kjsembed/docs/embedding/simple-embed/embedviewimp.h | 2 +- kjsembed/jsbindingplugin.h | 2 +- kjsembed/jsconsolewidget.h | 2 +- kjsembed/jsobjecteventproxy.h | 2 +- kjsembed/kjsembedpart.h | 2 +- kjsembed/ksimpleprocess.h | 2 +- kjsembed/plugin/jsconsoleplugin.h | 2 +- kjsembed/plugins/customqobject_plugin.h | 2 +- kjsembed/plugins/qprocess_plugin.h | 2 +- kjsembed/qtstubs.h | 4 ++-- kjsembed/slotproxy.h | 2 +- kjsembed/tdescript/javascript.h | 2 +- kjsembed/tools/headers/qcanvas.h | 4 ++-- kjsembed/tools/headers/qtimer.h | 2 +- kjsembed/xmlactionclient.h | 2 +- qtjava/javalib/qtjava/JavaSlot.h | 4 ++-- qtjava/javalib/qtjava/QtUtils.h | 2 +- qtsharp/src/libtqtsharp/customslot.h | 2 +- tdejava/koala/tdejava/TDEJavaSlot.h | 2 +- xparts/mozilla/kmozillapart.h | 2 +- xparts/mozilla/kshell.cpp | 2 +- xparts/src/tde/kbrowsersignals.h | 2 +- xparts/src/tde/xparthost_kpart.h | 2 +- xparts/xpart_notepad/shell_xparthost.h | 2 +- xparts/xpart_notepad/xp_notepad_factory.h | 4 ++-- 39 files changed, 50 insertions(+), 50 deletions(-) diff --git a/dcoppython/test/dcopserver/tdedcoptest.h b/dcoppython/test/dcopserver/tdedcoptest.h index 84a4db01..a4e6531a 100644 --- a/dcoppython/test/dcopserver/tdedcoptest.h +++ b/dcoppython/test/dcopserver/tdedcoptest.h @@ -20,7 +20,7 @@ */ class KDEDcopTest : public TDEMainWindow { - Q_OBJECT + TQ_OBJECT public: /** * Default Constructor diff --git a/kalyptus/ChangeLog b/kalyptus/ChangeLog index f1729b0d..73c69c35 100644 --- a/kalyptus/ChangeLog +++ b/kalyptus/ChangeLog @@ -119,7 +119,7 @@ 2004-05-25 Richard Dale - * Added the correct macro expansion for Q_OBJECT with Qt/E 2.3.x + * Added the correct macro expansion for TQ_OBJECT with Qt/E 2.3.x * kalyptus can now generate the SMOKE library for Qt Embedded 2004-05-22 Richard Dale diff --git a/kalyptus/kalyptus b/kalyptus/kalyptus index a132a0bd..e7fa3b2f 100644 --- a/kalyptus/kalyptus +++ b/kalyptus/kalyptus @@ -147,7 +147,7 @@ $allowed_k_dcop_accesors_re = join("|", @allowed_k_dcop_accesors); TQ_DISABLE_COPY => 'TQ_DISABLE_COPY', Q_WS_QWS => 'undef', Q_WS_MAC => 'undef', - Q_OBJECT => <<'CODE', + TQ_OBJECT => <<'CODE', public: virtual TQMetaObject *metaObject() const; virtual const char *className() const; @@ -468,7 +468,7 @@ sub readSourceLine =head2 readCxxLine Reads a C++ source line, skipping comments, blank lines, - preprocessor tokens and the Q_OBJECT macro + preprocessor tokens and the TQ_OBJECT macro =cut @@ -496,7 +496,7 @@ LOOP: } } - if ( $p =~ /^\s*Q_OBJECT/ ) { + if ( $p =~ /^\s*TQ_OBJECT/ ) { if ($qt_embedded) { push @inputqueue, @qte_codeqobject; } elsif ($qt4) { @@ -545,7 +545,7 @@ LOOP: next if ( $p =~ /^\s*$/s ); # blank lines -# || $p =~ /^\s*Q_OBJECT/ # TQObject macro +# || $p =~ /^\s*TQ_OBJECT/ # TQObject macro # ); # diff --git a/kalyptus/kalyptusCxxToJNI.pm b/kalyptus/kalyptusCxxToJNI.pm index 7d57f377..45e2af6f 100644 --- a/kalyptus/kalyptusCxxToJNI.pm +++ b/kalyptus/kalyptusCxxToJNI.pm @@ -2628,7 +2628,7 @@ sub preParseClass || ($name eq 'qt_cast') || ($name eq 'qt_property') || ($name eq 'staticMetaObject') - # Assume only Qt classes have tr() and trUtf8() in their Q_OBJECT macro + # Assume only Qt classes have tr() and trUtf8() in their TQ_OBJECT macro || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'tr') || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'trUtf8') || $name eq 'trUtf8' @@ -5478,7 +5478,7 @@ sub printJavadocComment($$$$) $line =~ s/bool/boolean/g; $line =~ s/SLOT\(\s*([^\)]*)\) ?\)/SLOT("$1)")/g; $line =~ s/SIGNAL\(\s*([^\)]*)\) ?\)/SIGNAL("$1)")/g; - $line =~ s/Q_OBJECT\n//g; + $line =~ s/TQ_OBJECT\n//g; $line =~ s/class\s+([\w]+)\s*:\s*public/public class $1 implements/g; $line =~ s/public\s*(slots)?:\n/public /g; $line =~ s/([^0-9"]\s*)\*(\s*[^0-9"-])/$1$2/g; diff --git a/kalyptus/kalyptusCxxToJava.pm b/kalyptus/kalyptusCxxToJava.pm index 59a5444d..3ad3d6e3 100644 --- a/kalyptus/kalyptusCxxToJava.pm +++ b/kalyptus/kalyptusCxxToJava.pm @@ -903,7 +903,7 @@ sub preParseClass || ($name eq 'qt_property') || ($name eq 'staticMetaObject') || ($classNode->{astNodeName} eq 'KTar' and $name eq 'writeFile_impl') - # Assume only Qt classes have tr() and trUtf8() in their Q_OBJECT macro + # Assume only Qt classes have tr() and trUtf8() in their TQ_OBJECT macro || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'tr') || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'trUtf8') || $m->{Deprecated} ) { @@ -3317,7 +3317,7 @@ sub printJavadocComment($$$$) $line =~ s/bool/boolean/g; $line =~ s/SLOT\(\s*([^\)]*)\) ?\)/SLOT("$1)")/g; $line =~ s/SIGNAL\(\s*([^\)]*)\) ?\)/SIGNAL("$1)")/g; - $line =~ s/Q_OBJECT\n//g; + $line =~ s/TQ_OBJECT\n//g; $line =~ s/class\s+([\w]+)\s*:\s*public/public class $1 implements/g; $line =~ s/public\s*(slots)?:\n/public /g; $line =~ s/([^0-9"]\s*)\*(\s*[^0-9"-])/$1$2/g; diff --git a/kalyptus/kalyptusCxxToKimono.pm b/kalyptus/kalyptusCxxToKimono.pm index 089cec92..bbc26ba6 100644 --- a/kalyptus/kalyptusCxxToKimono.pm +++ b/kalyptus/kalyptusCxxToKimono.pm @@ -952,7 +952,7 @@ sub preParseClass || ($name eq 'type') || ($classNode->{astNodeName} eq 'KTar' and $name eq 'writeFile_impl') || ($classNode->{astNodeName} eq 'TQApplication' and $name eq 'TQApplication') - # Assume only Qt classes have tr() and trUtf8() in their Q_OBJECT macro + # Assume only Qt classes have tr() and trUtf8() in their TQ_OBJECT macro || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'tr') || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'trUtf8') @@ -3510,7 +3510,7 @@ sub printCSharpdocComment($$$$) $line =~ s/bool/bool/g; $line =~ s/SLOT\(\s*([^\)]*)\) ?\)/SLOT("$1)")/g; $line =~ s/SIGNAL\(\s*([^\)]*)\) ?\)/SIGNAL("$1)")/g; - $line =~ s/Q_OBJECT\n//g; + $line =~ s/TQ_OBJECT\n//g; $line =~ s/public\s*(slots)?:\n/public /g; $line =~ s/([^0-9"]\s*)\*(\s*[^0-9"-])/$1$2/g; $line =~ s/^(\s*)\*/$1/g; diff --git a/kalyptus/kalyptusCxxToSmoke.pm b/kalyptus/kalyptusCxxToSmoke.pm index a33f74a7..27d9f5f8 100644 --- a/kalyptus/kalyptusCxxToSmoke.pm +++ b/kalyptus/kalyptusCxxToSmoke.pm @@ -637,7 +637,7 @@ sub preParseClass || ($name eq 'hack_strchr') || ($name eq 'hack_strstr') ) ) - # Assume only Qt classes have tr() and trUtf8() in their Q_OBJECT macro + # Assume only Qt classes have tr() and trUtf8() in their TQ_OBJECT macro || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'tr') || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'trUtf8') diff --git a/kjsembed/bindings/bindingobject.h b/kjsembed/bindings/bindingobject.h index bded72ac..17b51fa5 100644 --- a/kjsembed/bindings/bindingobject.h +++ b/kjsembed/bindings/bindingobject.h @@ -35,7 +35,7 @@ namespace Bindings { */ class BindingObject : public TQObject { - Q_OBJECT + TQ_OBJECT public: BindingObject( TQObject *parent, const char *name=0 ); diff --git a/kjsembed/bindings/dcop_imp.h b/kjsembed/bindings/dcop_imp.h index 19575e31..c843b2f1 100644 --- a/kjsembed/bindings/dcop_imp.h +++ b/kjsembed/bindings/dcop_imp.h @@ -50,7 +50,7 @@ class JSDCOPInterfacerLoader : public JSBindingBase */ class JSDCOPInterface : public BindingObject, public DCOPObject { - Q_OBJECT + TQ_OBJECT public: JSDCOPInterface( KJS::Interpreter *js, TQObject *parent, const char *name=0 ); diff --git a/kjsembed/bindings/movie_imp.h b/kjsembed/bindings/movie_imp.h index 9a76c51b..59c58463 100644 --- a/kjsembed/bindings/movie_imp.h +++ b/kjsembed/bindings/movie_imp.h @@ -35,7 +35,7 @@ namespace Bindings { */ class Movie : public BindingObject { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQColor setBackgroundColor READ backgroundColor ) TQ_PROPERTY( int setSpeed READ speed ) diff --git a/kjsembed/bindings/netaccess_imp.h b/kjsembed/bindings/netaccess_imp.h index 962572dd..9acd4bb0 100644 --- a/kjsembed/bindings/netaccess_imp.h +++ b/kjsembed/bindings/netaccess_imp.h @@ -34,7 +34,7 @@ namespace Bindings { */ class NetAccess : public BindingObject { - Q_OBJECT + TQ_OBJECT public: NetAccess( TQObject *parent, const char *name=0 ); virtual ~NetAccess(); diff --git a/kjsembed/bindings/sql_imp.h b/kjsembed/bindings/sql_imp.h index 08555e84..3f287a13 100644 --- a/kjsembed/bindings/sql_imp.h +++ b/kjsembed/bindings/sql_imp.h @@ -35,7 +35,7 @@ namespace Bindings { */ class SqlQuery : public BindingObject { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( int size READ size) TQ_PROPERTY( int at READ at) TQ_PROPERTY( int numRowsAffected READ numRowsAffected ) @@ -88,7 +88,7 @@ private: */ class SqlDatabase : public BindingObject { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQString databaseName READ databaseName WRITE setDatabaseName) TQ_PROPERTY( TQString userName READ userName WRITE setUserName) TQ_PROPERTY( TQString password READ password WRITE setPassword) diff --git a/kjsembed/bindings/tdeconfig_imp.h b/kjsembed/bindings/tdeconfig_imp.h index 4c954fbe..36ceec36 100644 --- a/kjsembed/bindings/tdeconfig_imp.h +++ b/kjsembed/bindings/tdeconfig_imp.h @@ -42,7 +42,7 @@ namespace Bindings { class Config : public BindingObject { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( bool forceGlobal READ forceGlobal WRITE setForceGlobal ) TQ_PROPERTY( bool dollarExpansion READ isDollarExpansion WRITE setDollarExpansion ) TQ_PROPERTY( bool readOnly READ isReadOnly WRITE setReadOnly ) diff --git a/kjsembed/docs/embedding/qtembed/posviewimp.h b/kjsembed/docs/embedding/qtembed/posviewimp.h index 764ac813..cd629a0f 100644 --- a/kjsembed/docs/embedding/qtembed/posviewimp.h +++ b/kjsembed/docs/embedding/qtembed/posviewimp.h @@ -13,7 +13,7 @@ namespace KJSEmbed { }; class POSViewImp: public POSViewBase { - Q_OBJECT + TQ_OBJECT public: POSViewImp( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kjsembed/docs/embedding/simple-embed/embedviewimp.h b/kjsembed/docs/embedding/simple-embed/embedviewimp.h index 7c678a32..d8b96572 100644 --- a/kjsembed/docs/embedding/simple-embed/embedviewimp.h +++ b/kjsembed/docs/embedding/simple-embed/embedviewimp.h @@ -13,7 +13,7 @@ namespace KJSEmbed { } class EmbedViewImp: public EmbedView { - Q_OBJECT + TQ_OBJECT public: EmbedViewImp( TQWidget *parent = 0, const char *name = 0 ); diff --git a/kjsembed/jsbindingplugin.h b/kjsembed/jsbindingplugin.h index 2c9998c2..eec80d6d 100644 --- a/kjsembed/jsbindingplugin.h +++ b/kjsembed/jsbindingplugin.h @@ -38,7 +38,7 @@ namespace KJSEmbed { * @version $Id$ */ class KJSEMBED_EXPORT JSBindingPlugin : public TQObject { - Q_OBJECT + TQ_OBJECT public: JSBindingPlugin( TQObject *parent, const char *name, const TQStringList &args ); virtual ~JSBindingPlugin(); diff --git a/kjsembed/jsconsolewidget.h b/kjsembed/jsconsolewidget.h index 6bb347ab..328fd43f 100644 --- a/kjsembed/jsconsolewidget.h +++ b/kjsembed/jsconsolewidget.h @@ -59,7 +59,7 @@ class KJSEmbedPart; */ class KJSEMBED_EXPORT JSConsoleWidget : public TQFrame { - Q_OBJECT + TQ_OBJECT public: JSConsoleWidget( KJSEmbedPart *js, TQWidget *parent=0, const char *name=0 ); diff --git a/kjsembed/jsobjecteventproxy.h b/kjsembed/jsobjecteventproxy.h index f5d98528..c9613e79 100644 --- a/kjsembed/jsobjecteventproxy.h +++ b/kjsembed/jsobjecteventproxy.h @@ -37,7 +37,7 @@ class JSObjectProxy; */ class KJSEMBED_EXPORT JSObjectEventProxy : public TQObject { - Q_OBJECT + TQ_OBJECT public: JSObjectEventProxy( JSObjectProxy *parent, const char *name=0 ); diff --git a/kjsembed/kjsembedpart.h b/kjsembed/kjsembedpart.h index e04e1276..676e27c2 100644 --- a/kjsembed/kjsembedpart.h +++ b/kjsembed/kjsembedpart.h @@ -71,7 +71,7 @@ class JSBuiltIn; */ class KJSEMBED_EXPORT KJSEmbedPart : public KParts::ReadOnlyPart { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQStringList constructorNames READ constructorNames ) TQ_PROPERTY( TQCString versionString READ versionString ) TQ_PROPERTY( int versionMajor READ versionMajor ) diff --git a/kjsembed/ksimpleprocess.h b/kjsembed/ksimpleprocess.h index e04d7b51..de11e24a 100644 --- a/kjsembed/ksimpleprocess.h +++ b/kjsembed/ksimpleprocess.h @@ -31,7 +31,7 @@ */ class KSimpleProcess : public TQObject { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/kjsembed/plugin/jsconsoleplugin.h b/kjsembed/plugin/jsconsoleplugin.h index 1c1e7138..17e0b6a9 100644 --- a/kjsembed/plugin/jsconsoleplugin.h +++ b/kjsembed/plugin/jsconsoleplugin.h @@ -34,7 +34,7 @@ namespace KJSEmbed { */ class JSConsolePlugin : public KParts::Plugin { - Q_OBJECT + TQ_OBJECT public: JSConsolePlugin( TQObject *parent, const char *name, const TQStringList & ); diff --git a/kjsembed/plugins/customqobject_plugin.h b/kjsembed/plugins/customqobject_plugin.h index 03f57769..0d6f2aac 100644 --- a/kjsembed/plugins/customqobject_plugin.h +++ b/kjsembed/plugins/customqobject_plugin.h @@ -38,7 +38,7 @@ public: class MyCustomTQObjectImp : public TQObject { -Q_OBJECT +TQ_OBJECT /** Identifiers for the methods provided by this class. */ enum Mode { On, Off }; diff --git a/kjsembed/plugins/qprocess_plugin.h b/kjsembed/plugins/qprocess_plugin.h index 2aecc188..5993e0f9 100644 --- a/kjsembed/plugins/qprocess_plugin.h +++ b/kjsembed/plugins/qprocess_plugin.h @@ -39,7 +39,7 @@ public: class ProcessImp : public TQProcess { -Q_OBJECT +TQ_OBJECT /** Identifiers for the methods provided by this class. */ enum Communication { Stdin = 0x01, Stdout = 0x02, Stderr = 0x04, DupStderr = 0x08 }; diff --git a/kjsembed/qtstubs.h b/kjsembed/qtstubs.h index 43c712ab..96c1f058 100644 --- a/kjsembed/qtstubs.h +++ b/kjsembed/qtstubs.h @@ -34,7 +34,7 @@ namespace KParts { class KJSEMBED_EXPORT ReadOnlyPart : public TQObject { - Q_OBJECT + TQ_OBJECT public: ReadOnlyPart( TQObject *parent, const char *name=0 ); @@ -48,7 +48,7 @@ private: class KJSEMBED_EXPORT ReadWritePart : public ReadOnlyPart { - Q_OBJECT + TQ_OBJECT public: ReadWritePart( TQObject *parent, const char *name=0 ); diff --git a/kjsembed/slotproxy.h b/kjsembed/slotproxy.h index 13469ba7..90cb57dd 100644 --- a/kjsembed/slotproxy.h +++ b/kjsembed/slotproxy.h @@ -49,7 +49,7 @@ class JSObjectProxy; */ class KJSEMBED_EXPORT JSSlotProxy : public TQObject { - Q_OBJECT + TQ_OBJECT public: JSSlotProxy( TQObject *parent, const char *name=0 ); diff --git a/kjsembed/tdescript/javascript.h b/kjsembed/tdescript/javascript.h index 9ca87f24..e1116a73 100644 --- a/kjsembed/tdescript/javascript.h +++ b/kjsembed/tdescript/javascript.h @@ -30,7 +30,7 @@ namespace KJSEmbed { //using namespace KScriptInterface; class JavaScript : public KScriptInterface { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQString appID READ appID ) public: diff --git a/kjsembed/tools/headers/qcanvas.h b/kjsembed/tools/headers/qcanvas.h index c60078c2..bebe575a 100644 --- a/kjsembed/tools/headers/qcanvas.h +++ b/kjsembed/tools/headers/qcanvas.h @@ -198,7 +198,7 @@ class TQCanvasData; class TQM_EXPORT_CANVAS TQCanvas : public TQObject { - Q_OBJECT + TQ_OBJECT public: TQCanvas( TQObject* parent = 0, const char* name = 0 ); TQCanvas(int w, int h); @@ -344,7 +344,7 @@ class TQCanvasViewData; class TQM_EXPORT_CANVAS TQCanvasView : public TQScrollView { - Q_OBJECT + TQ_OBJECT public: TQCanvasView(TQWidget* parent=0, const char* name=0, WFlags f=0); diff --git a/kjsembed/tools/headers/qtimer.h b/kjsembed/tools/headers/qtimer.h index 1f7115f2..5791c57e 100644 --- a/kjsembed/tools/headers/qtimer.h +++ b/kjsembed/tools/headers/qtimer.h @@ -45,7 +45,7 @@ class Q_EXPORT TQTimer : public TQObject { - Q_OBJECT + TQ_OBJECT public: TQTimer( TQObject *parent=0, const char *name=0 ); ~TQTimer(); diff --git a/kjsembed/xmlactionclient.h b/kjsembed/xmlactionclient.h index 30ae6c9e..4220403d 100644 --- a/kjsembed/xmlactionclient.h +++ b/kjsembed/xmlactionclient.h @@ -40,7 +40,7 @@ class XMLActionScript; */ class XMLActionClient : public TQObject { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/qtjava/javalib/qtjava/JavaSlot.h b/qtjava/javalib/qtjava/JavaSlot.h index a1d69069..6b51a449 100644 --- a/qtjava/javalib/qtjava/JavaSlot.h +++ b/qtjava/javalib/qtjava/JavaSlot.h @@ -45,7 +45,7 @@ class TQMetaObject; class JavaSlot: public TQObject { - Q_OBJECT + TQ_OBJECT public: JavaSlot(JNIEnv * env, jobject receiver, jstring slot); ~JavaSlot(); @@ -190,7 +190,7 @@ public: class JavaSignal: public TQObject { - Q_OBJECT + TQ_OBJECT public: JavaSignal(); ~JavaSignal(); diff --git a/qtjava/javalib/qtjava/QtUtils.h b/qtjava/javalib/qtjava/QtUtils.h index 823bac23..7d88adb9 100644 --- a/qtjava/javalib/qtjava/QtUtils.h +++ b/qtjava/javalib/qtjava/QtUtils.h @@ -8,7 +8,7 @@ class QtUtils : public TQObject { - Q_OBJECT + TQ_OBJECT public: QtUtils(); diff --git a/qtsharp/src/libtqtsharp/customslot.h b/qtsharp/src/libtqtsharp/customslot.h index eda314ee..1c1bcc08 100644 --- a/qtsharp/src/libtqtsharp/customslot.h +++ b/qtsharp/src/libtqtsharp/customslot.h @@ -31,7 +31,7 @@ class CustomSlot: public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/tdejava/koala/tdejava/TDEJavaSlot.h b/tdejava/koala/tdejava/TDEJavaSlot.h index 7cd9f704..1d316eae 100644 --- a/tdejava/koala/tdejava/TDEJavaSlot.h +++ b/tdejava/koala/tdejava/TDEJavaSlot.h @@ -49,7 +49,7 @@ class TDEJavaSlotFactory; class TDEJavaSlot: public JavaSlot { - Q_OBJECT + TQ_OBJECT public: TDEJavaSlot(JNIEnv * env, jobject receiver, jstring slot); virtual ~TDEJavaSlot(); diff --git a/xparts/mozilla/kmozillapart.h b/xparts/mozilla/kmozillapart.h index 00589d14..b53f4d16 100644 --- a/xparts/mozilla/kmozillapart.h +++ b/xparts/mozilla/kmozillapart.h @@ -8,7 +8,7 @@ class TDEProcess; class KMozillaPart : public XPartHost_KPart { - Q_OBJECT + TQ_OBJECT public: KMozillaPart(TQWidget *parentWidget, const char *widgetName, diff --git a/xparts/mozilla/kshell.cpp b/xparts/mozilla/kshell.cpp index 2b916dd5..6417973e 100644 --- a/xparts/mozilla/kshell.cpp +++ b/xparts/mozilla/kshell.cpp @@ -13,7 +13,7 @@ class ShellWindow : public KParts::MainWindow { - Q_OBJECT + TQ_OBJECT public: ShellWindow() diff --git a/xparts/src/tde/kbrowsersignals.h b/xparts/src/tde/kbrowsersignals.h index baee95aa..4fad567e 100644 --- a/xparts/src/tde/kbrowsersignals.h +++ b/xparts/src/tde/kbrowsersignals.h @@ -10,7 +10,7 @@ class XPartHost_KPart; class KBrowserSignals : public KParts::BrowserExtension, virtual public XBrowserSignals { - Q_OBJECT + TQ_OBJECT public: KBrowserSignals( XPartHost_KPart *part, DCOPRef ref ); virtual ~KBrowserSignals(); diff --git a/xparts/src/tde/xparthost_kpart.h b/xparts/src/tde/xparthost_kpart.h index 8cc54699..a8e74d1e 100644 --- a/xparts/src/tde/xparthost_kpart.h +++ b/xparts/src/tde/xparthost_kpart.h @@ -19,7 +19,7 @@ class QXEmbed; */ class XPartHost_KPart : public KParts::ReadOnlyPart, public XPartHost { - Q_OBJECT + TQ_OBJECT public: XPartHost_KPart( TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name ); diff --git a/xparts/xpart_notepad/shell_xparthost.h b/xparts/xpart_notepad/shell_xparthost.h index 4e329822..e11e52f7 100644 --- a/xparts/xpart_notepad/shell_xparthost.h +++ b/xparts/xpart_notepad/shell_xparthost.h @@ -9,7 +9,7 @@ class TDEProcess; class ShellWindow : public KParts::MainWindow { - Q_OBJECT + TQ_OBJECT public: ShellWindow(); diff --git a/xparts/xpart_notepad/xp_notepad_factory.h b/xparts/xpart_notepad/xp_notepad_factory.h index 02d36cfc..2a4fe069 100644 --- a/xparts/xpart_notepad/xp_notepad_factory.h +++ b/xparts/xpart_notepad/xp_notepad_factory.h @@ -34,7 +34,7 @@ class TDEProcess; class XP_NotepadFactory : public KParts::Factory { - Q_OBJECT + TQ_OBJECT public: XP_NotepadFactory( bool clone = false ) {} virtual ~XP_NotepadFactory() {} @@ -47,7 +47,7 @@ public: class XP_NotepadPart : public XPartHost_KPart { - Q_OBJECT + TQ_OBJECT public: XP_NotepadPart(TQWidget *parentWidget, const char *widgetName, -- cgit v1.2.1