From 8eb500c4e81229a9853e2f9bac4f39450083f3d7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 15:36:09 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro --- interfaces/tdeimproxy/interface/kimiface.h | 4 ++-- interfaces/tdeimproxy/library/tdeimproxy.h | 2 +- interfaces/tdemediaplayer/player.h | 2 +- interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.h | 2 +- interfaces/tdemediaplayer/view.h | 2 +- interfaces/tdescript/sample/shellscript.h | 2 +- interfaces/tdescript/scriptclientinterface.h | 2 +- interfaces/tdescript/scriptinterface.h | 2 +- interfaces/tdescript/scriptloader.h | 2 +- interfaces/tdescript/scriptmanager.h | 2 +- interfaces/tdetexteditor/configinterfaceextension.h | 2 +- interfaces/tdetexteditor/document.h | 2 +- interfaces/tdetexteditor/editor.h | 2 +- interfaces/tdetexteditor/editorchooser.h | 4 ++-- interfaces/tdetexteditor/plugin.h | 2 +- interfaces/tdetexteditor/view.h | 2 +- interfaces/terminal/test/main.h | 2 +- 17 files changed, 19 insertions(+), 19 deletions(-) (limited to 'interfaces') diff --git a/interfaces/tdeimproxy/interface/kimiface.h b/interfaces/tdeimproxy/interface/kimiface.h index 2591c3ce0..aacb4217b 100644 --- a/interfaces/tdeimproxy/interface/kimiface.h +++ b/interfaces/tdeimproxy/interface/kimiface.h @@ -57,12 +57,12 @@ * @endcode * and the class implementing KIMIface must pass "KIMIface" to the DCOPObject constructor: * @code - * // just need TQObject inheritance and Q_OBJECT if you want signals and slots + * // just need TQObject inheritance and TQ_OBJECT if you want signals and slots * // no need to use K_DCOP macro again * * class MyIMIface : public TQObject, public KIMIface * { - * Q_OBJECT + * TQ_OBJECT * public: * MyIMIface(TQObject* parent = 0, const char* name) : * DCOPObject("KIMIface"), // <-- passing the interface name as required diff --git a/interfaces/tdeimproxy/library/tdeimproxy.h b/interfaces/tdeimproxy/library/tdeimproxy.h index 293d1f723..5a7ff87e9 100644 --- a/interfaces/tdeimproxy/library/tdeimproxy.h +++ b/interfaces/tdeimproxy/library/tdeimproxy.h @@ -106,7 +106,7 @@ typedef TQMap PresenceStringMap; */ class TDEIMPROXY_EXPORT KIMProxy : public TQObject, virtual public KIMProxyIface { - Q_OBJECT + TQ_OBJECT struct Private; template friend class KStaticDeleter; diff --git a/interfaces/tdemediaplayer/player.h b/interfaces/tdemediaplayer/player.h index 05582ca07..5302c721a 100644 --- a/interfaces/tdemediaplayer/player.h +++ b/interfaces/tdemediaplayer/player.h @@ -45,7 +45,7 @@ namespace KMediaPlayer */ class KDE_EXPORT Player : public KParts::ReadOnlyPart, public PlayerDCOPObject { -Q_OBJECT +TQ_OBJECT public: /** This constructor is what to use when no GUI is required, as in the diff --git a/interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.h b/interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.h index 6eae52cf7..f67533df2 100644 --- a/interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.h +++ b/interfaces/tdemediaplayer/tdefileaudiopreview/tdefileaudiopreview.h @@ -36,7 +36,7 @@ class KFileItem; */ class KFileAudioPreview : public KPreviewWidgetBase { - Q_OBJECT + TQ_OBJECT public: KFileAudioPreview(TQWidget *parent = 0, const char *name = 0 ); diff --git a/interfaces/tdemediaplayer/view.h b/interfaces/tdemediaplayer/view.h index c1d9dbe41..69fce7b5f 100644 --- a/interfaces/tdemediaplayer/view.h +++ b/interfaces/tdemediaplayer/view.h @@ -33,7 +33,7 @@ namespace KMediaPlayer /** View is part of the user interface of a Player. */ class KDE_EXPORT View : public TQWidget { -Q_OBJECT +TQ_OBJECT public: /** Your typical TQWidget constructor. */ diff --git a/interfaces/tdescript/sample/shellscript.h b/interfaces/tdescript/sample/shellscript.h index 2cdaf7e5a..f03e17ba3 100644 --- a/interfaces/tdescript/sample/shellscript.h +++ b/interfaces/tdescript/sample/shellscript.h @@ -26,7 +26,7 @@ //using namespace KScriptInterface; class ShellScript : public KScriptInterface { - Q_OBJECT + TQ_OBJECT public: ShellScript(KScriptClientInterface *parent, const char *name, const TQStringList &args); virtual ~ShellScript(); diff --git a/interfaces/tdescript/scriptclientinterface.h b/interfaces/tdescript/scriptclientinterface.h index 0f07d34b2..e1c345e10 100644 --- a/interfaces/tdescript/scriptclientinterface.h +++ b/interfaces/tdescript/scriptclientinterface.h @@ -33,7 +33,7 @@ class TQString; * interfaces with this class. * @code * class MyScript : public TQObject, public KScriptClientInterface { - * Q_OBJECT + * TQ_OBJECT * public: * * MyScript(TQObject *parent) diff --git a/interfaces/tdescript/scriptinterface.h b/interfaces/tdescript/scriptinterface.h index 1c37b7f71..78e6ba960 100644 --- a/interfaces/tdescript/scriptinterface.h +++ b/interfaces/tdescript/scriptinterface.h @@ -46,7 +46,7 @@ class KScriptClientInterface; **/ class KDE_EXPORT KScriptInterface : public TQObject { - Q_OBJECT + TQ_OBJECT public: /** * Return the current script code data diff --git a/interfaces/tdescript/scriptloader.h b/interfaces/tdescript/scriptloader.h index 7fa4fa93f..e575fb5c7 100644 --- a/interfaces/tdescript/scriptloader.h +++ b/interfaces/tdescript/scriptloader.h @@ -28,7 +28,7 @@ */ class ScriptLoader : virtual public QObject { - Q_OBJECT + TQ_OBJECT public: /** * Default Constructor diff --git a/interfaces/tdescript/scriptmanager.h b/interfaces/tdescript/scriptmanager.h index d21219901..ed9db2d95 100644 --- a/interfaces/tdescript/scriptmanager.h +++ b/interfaces/tdescript/scriptmanager.h @@ -38,7 +38,7 @@ class ScriptInfo; **/ class KDE_EXPORT KScriptManager : public TQObject, public KScriptClientInterface { - Q_OBJECT + TQ_OBJECT friend class KScriptInterface; public: /** diff --git a/interfaces/tdetexteditor/configinterfaceextension.h b/interfaces/tdetexteditor/configinterfaceextension.h index 23fa5bb38..f640ab0c5 100644 --- a/interfaces/tdetexteditor/configinterfaceextension.h +++ b/interfaces/tdetexteditor/configinterfaceextension.h @@ -28,7 +28,7 @@ namespace KTextEditor class KTEXTEDITOR_EXPORT ConfigPage : public TQWidget { - Q_OBJECT + TQ_OBJECT public: ConfigPage ( TQWidget *parent=0, const char *name=0 ); diff --git a/interfaces/tdetexteditor/document.h b/interfaces/tdetexteditor/document.h index 83d8b7cf6..817389ba3 100644 --- a/interfaces/tdetexteditor/document.h +++ b/interfaces/tdetexteditor/document.h @@ -32,7 +32,7 @@ class KTEXTEDITOR_EXPORT Document : public KTextEditor::Editor { friend class PrivateDocument; - Q_OBJECT + TQ_OBJECT public: diff --git a/interfaces/tdetexteditor/editor.h b/interfaces/tdetexteditor/editor.h index 8b6699f9f..475711a9d 100644 --- a/interfaces/tdetexteditor/editor.h +++ b/interfaces/tdetexteditor/editor.h @@ -40,7 +40,7 @@ class KTEXTEDITOR_EXPORT Editor : public KParts::ReadWritePart { friend class PrivateEditor; - Q_OBJECT + TQ_OBJECT public: diff --git a/interfaces/tdetexteditor/editorchooser.h b/interfaces/tdetexteditor/editorchooser.h index 251776c10..62feda5c6 100644 --- a/interfaces/tdetexteditor/editorchooser.h +++ b/interfaces/tdetexteditor/editorchooser.h @@ -16,7 +16,7 @@ class KTEXTEDITOR_EXPORT EditorChooser: public TQWidget { friend class PrivateEditorChooser; - Q_OBJECT + TQ_OBJECT public: EditorChooser(TQWidget *parent=0,const char *name=0); @@ -36,7 +36,7 @@ class KTEXTEDITOR_EXPORT EditorChooser: public TQWidget /* class EditorChooserBackEnd: public ComponentChooserPlugin { -Q_OBJECT +TQ_OBJECT public: EditorChooserBackEnd(TQObject *parent=0, const char *name=0); virtual ~EditorChooserBackEnd(); diff --git a/interfaces/tdetexteditor/plugin.h b/interfaces/tdetexteditor/plugin.h index 68416bf78..b13dc37e9 100644 --- a/interfaces/tdetexteditor/plugin.h +++ b/interfaces/tdetexteditor/plugin.h @@ -37,7 +37,7 @@ class KTEXTEDITOR_EXPORT Plugin : public TQObject { friend class PrivatePlugin; - Q_OBJECT + TQ_OBJECT public: Plugin ( Document *document = 0, const char *name = 0 ); diff --git a/interfaces/tdetexteditor/view.h b/interfaces/tdetexteditor/view.h index 0a807d6b3..c8cf586b8 100644 --- a/interfaces/tdetexteditor/view.h +++ b/interfaces/tdetexteditor/view.h @@ -33,7 +33,7 @@ class KTEXTEDITOR_EXPORT View : public TQWidget, public KXMLGUIClient { friend class PrivateView; - Q_OBJECT + TQ_OBJECT public: /** diff --git a/interfaces/terminal/test/main.h b/interfaces/terminal/test/main.h index 256b0840a..bf87cb041 100644 --- a/interfaces/terminal/test/main.h +++ b/interfaces/terminal/test/main.h @@ -5,7 +5,7 @@ class Win : public TDEMainWindow { - Q_OBJECT + TQ_OBJECT KParts::Part* p; public: Win(); -- cgit v1.2.1