From 5c10665b7217cbb2cf80505d31cf30817a1a0405 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 15:05:42 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro (cherry picked from commit 814bf5fc4f403c13b0d8274c7f13fbef183c5c84) --- kate/app/kateapp.h | 2 +- kate/app/kateconfigdialog.h | 2 +- kate/app/kateconfigplugindialogpage.h | 4 ++-- kate/app/kateconsole.h | 2 +- kate/app/katedocmanager.h | 2 +- kate/app/kateexternaltools.h | 8 ++++---- kate/app/katefilelist.h | 4 ++-- kate/app/katefileselector.h | 8 ++++---- kate/app/kategrepdialog.h | 2 +- kate/app/katemailfilesdialog.h | 2 +- kate/app/katemainwindow.h | 4 ++-- kate/app/katemdi.h | 12 ++++++------ kate/app/katemwmodonhddialog.h | 2 +- kate/app/katepluginmanager.h | 2 +- kate/app/katesavemodifieddialog.h | 2 +- kate/app/katesession.h | 4 ++-- kate/app/katesessionpanel.h | 6 +++--- kate/app/katetabwidget.h | 2 +- kate/app/kateviewmanager.h | 2 +- kate/app/kateviewspace.h | 4 ++-- kate/app/kateviewspacecontainer.h | 2 +- kate/app/kbookmarkhandler.h | 2 +- kate/app/kwritemain.h | 4 ++-- 23 files changed, 42 insertions(+), 42 deletions(-) (limited to 'kate/app') diff --git a/kate/app/kateapp.h b/kate/app/kateapp.h index f421df5a7..47918a46f 100644 --- a/kate/app/kateapp.h +++ b/kate/app/kateapp.h @@ -41,7 +41,7 @@ class TDECmdLineArgs; */ class KDE_EXPORT KateApp : public TDEApplication { - Q_OBJECT + TQ_OBJECT /** * constructors & accessor to app object + plugin interface for it diff --git a/kate/app/kateconfigdialog.h b/kate/app/kateconfigdialog.h index a90cdd1c0..91b84ee5d 100644 --- a/kate/app/kateconfigdialog.h +++ b/kate/app/kateconfigdialog.h @@ -43,7 +43,7 @@ struct PluginPageListItem class KateConfigDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: KateConfigDialog (KateMainWindow *parent, Kate::View *view); diff --git a/kate/app/kateconfigplugindialogpage.h b/kate/app/kateconfigplugindialogpage.h index 009f30739..018c97dfa 100644 --- a/kate/app/kateconfigplugindialogpage.h +++ b/kate/app/kateconfigplugindialogpage.h @@ -31,7 +31,7 @@ class KatePluginListItem; class KatePluginListView : public TDEListView { - Q_OBJECT + TQ_OBJECT friend class KatePluginListItem; @@ -47,7 +47,7 @@ class KatePluginListView : public TDEListView class KateConfigPluginPage: public TQVBox { - Q_OBJECT + TQ_OBJECT public: KateConfigPluginPage(TQWidget *parent, class KateConfigDialog *dialog); diff --git a/kate/app/kateconsole.h b/kate/app/kateconsole.h index dabfda38d..77fa455a4 100644 --- a/kate/app/kateconsole.h +++ b/kate/app/kateconsole.h @@ -44,7 +44,7 @@ class KateMainWindow; */ class KateConsole : public TQVBox { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/kate/app/katedocmanager.h b/kate/app/katedocmanager.h index 569aa9853..37f102a20 100644 --- a/kate/app/katedocmanager.h +++ b/kate/app/katedocmanager.h @@ -56,7 +56,7 @@ typedef QPair TPair; class KateDocManager : public TQObject { - Q_OBJECT + TQ_OBJECT public: KateDocManager (TQObject *parent); diff --git a/kate/app/kateexternaltools.h b/kate/app/kateexternaltools.h index ef3a9e9fd..aeefb0aa5 100644 --- a/kate/app/kateexternaltools.h +++ b/kate/app/kateexternaltools.h @@ -55,7 +55,7 @@ class KateExternalToolsMenuAction : public TDEActionMenu { friend class KateExternalToolAction; - Q_OBJECT + TQ_OBJECT public: KateExternalToolsMenuAction( const TQString &text=TQString::null, TQObject *parent=0, const char* name=0, class KateMainWindow *mw=0 ); ~KateExternalToolsMenuAction() {}; @@ -80,7 +80,7 @@ class KateExternalToolsMenuAction : public TDEActionMenu */ class KateExternalToolAction : public TDEAction, public KWordMacroExpander { - Q_OBJECT + TQ_OBJECT public: KateExternalToolAction( TQObject *parent, const char *name, class KateExternalTool *t ); ~KateExternalToolAction(); @@ -142,7 +142,7 @@ class KateExternalTool */ class KateExternalToolsConfigWidget : public Kate::ConfigPage { - Q_OBJECT + TQ_OBJECT public: KateExternalToolsConfigWidget( TQWidget *parent, const char* name); virtual ~KateExternalToolsConfigWidget(); @@ -201,7 +201,7 @@ class KateExternalToolsConfigWidget : public Kate::ConfigPage */ class KateExternalToolServiceEditor : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: diff --git a/kate/app/katefilelist.h b/kate/app/katefilelist.h index 24a62c7a5..1112c1235 100644 --- a/kate/app/katefilelist.h +++ b/kate/app/katefilelist.h @@ -76,7 +76,7 @@ class KateFileListItem : public TQListViewItem class KateFileList : public TDEListView { - Q_OBJECT + TQ_OBJECT friend class KFLConfigPage; @@ -172,7 +172,7 @@ class KateFileList : public TDEListView }; class KFLConfigPage : public Kate::ConfigPage { - Q_OBJECT + TQ_OBJECT public: KFLConfigPage( TQWidget* parent=0, const char *name=0, KateFileList *fl=0 ); virtual ~KFLConfigPage() {}; diff --git a/kate/app/katefileselector.h b/kate/app/katefileselector.h index 5de8f74cb..09ea07a76 100644 --- a/kate/app/katefileselector.h +++ b/kate/app/katefileselector.h @@ -48,7 +48,7 @@ class KFileView; /* I think this fix for not moving toolbars is better */ class KateFileSelectorToolBar: public TDEToolBar { - Q_OBJECT + TQ_OBJECT public: KateFileSelectorToolBar(TQWidget *parent); virtual ~KateFileSelectorToolBar(); @@ -58,7 +58,7 @@ public: class KateFileSelectorToolBarParent: public TQFrame { - Q_OBJECT + TQ_OBJECT public: KateFileSelectorToolBarParent(TQWidget *parent); ~KateFileSelectorToolBarParent(); @@ -71,7 +71,7 @@ protected: class KateFileSelector : public TQVBox { - Q_OBJECT + TQ_OBJECT friend class KFSConfigPage; @@ -144,7 +144,7 @@ class KateFileSelector : public TQVBox user closed session. */ class KFSConfigPage : public Kate::ConfigPage { - Q_OBJECT + TQ_OBJECT public: KFSConfigPage( TQWidget* parent=0, const char *name=0, KateFileSelector *kfs=0); virtual ~KFSConfigPage() {}; diff --git a/kate/app/kategrepdialog.h b/kate/app/kategrepdialog.h index 1bd930735..dbe722f20 100644 --- a/kate/app/kategrepdialog.h +++ b/kate/app/kategrepdialog.h @@ -37,7 +37,7 @@ class TQEvent; class GrepTool : public TQWidget { - Q_OBJECT + TQ_OBJECT public: GrepTool(TQWidget *parent, const char *name=0); diff --git a/kate/app/katemailfilesdialog.h b/kate/app/katemailfilesdialog.h index a2de4e504..4b60a1946 100644 --- a/kate/app/katemailfilesdialog.h +++ b/kate/app/katemailfilesdialog.h @@ -36,7 +36,7 @@ class KateMainWindow; */ class KateMailDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: KateMailDialog( TQWidget *parent=0, KateMainWindow *mainwin=0 ); diff --git a/kate/app/katemainwindow.h b/kate/app/katemainwindow.h index f458bd705..1e8839991 100644 --- a/kate/app/katemainwindow.h +++ b/kate/app/katemainwindow.h @@ -47,7 +47,7 @@ class KateExternalToolsMenuAction; class KateMainWindow : public KateMDI::MainWindow, virtual public KParts::PartBase { - Q_OBJECT + TQ_OBJECT friend class KateConfigDialog; friend class KateViewManager; @@ -222,7 +222,7 @@ class KateMainWindow : public KateMDI::MainWindow, virtual public KParts::PartBa class KateSessionListActionMenu : public TDEActionMenu { - Q_OBJECT + TQ_OBJECT public: KateSessionListActionMenu(KateMainWindow *mw, const TQString &text, TQObject *parent = NULL, const char *name = NULL); diff --git a/kate/app/katemdi.h b/kate/app/katemdi.h index f37d56ef3..f9eef3bda 100644 --- a/kate/app/katemdi.h +++ b/kate/app/katemdi.h @@ -40,7 +40,7 @@ namespace KateMDI { /** This class is needed because TQSplitter cant return an index for a widget. */ class Splitter : public TQSplitter { - Q_OBJECT + TQ_OBJECT public: @@ -60,7 +60,7 @@ class Splitter : public TQSplitter class ToggleToolViewAction : public TDEToggleAction { - Q_OBJECT + TQ_OBJECT public: @@ -79,7 +79,7 @@ class ToggleToolViewAction : public TDEToggleAction class GUIClient : public TQObject, public KXMLGUIClient { - Q_OBJECT + TQ_OBJECT public: @@ -104,7 +104,7 @@ class GUIClient : public TQObject, public KXMLGUIClient class ToolView : public TQVBox { - Q_OBJECT + TQ_OBJECT friend class Sidebar; @@ -179,7 +179,7 @@ class ToolView : public TQVBox class Sidebar : public KMultiTabBar { - Q_OBJECT + TQ_OBJECT public: @@ -252,7 +252,7 @@ class Sidebar : public KMultiTabBar class MainWindow : public KParts::MainWindow { - Q_OBJECT + TQ_OBJECT friend class ToolView; diff --git a/kate/app/katemwmodonhddialog.h b/kate/app/katemwmodonhddialog.h index ff2f4989d..2ca012f84 100644 --- a/kate/app/katemwmodonhddialog.h +++ b/kate/app/katemwmodonhddialog.h @@ -33,7 +33,7 @@ class TDEProcess; */ class KateMwModOnHdDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: KateMwModOnHdDialog( DocVector docs, TQWidget *parent=0, const char *name=0 ); ~KateMwModOnHdDialog(); diff --git a/kate/app/katepluginmanager.h b/kate/app/katepluginmanager.h index 1617c5501..e8fbddcb0 100644 --- a/kate/app/katepluginmanager.h +++ b/kate/app/katepluginmanager.h @@ -43,7 +43,7 @@ typedef TQValueList KatePluginList; class KatePluginManager : public TQObject { - Q_OBJECT + TQ_OBJECT public: KatePluginManager(TQObject *parent); diff --git a/kate/app/katesavemodifieddialog.h b/kate/app/katesavemodifieddialog.h index 92036c63c..e66da24d4 100644 --- a/kate/app/katesavemodifieddialog.h +++ b/kate/app/katesavemodifieddialog.h @@ -26,7 +26,7 @@ class TQListViewItem; class TDEListView; class KateSaveModifiedDialog: public KDialogBase { - Q_OBJECT + TQ_OBJECT public: KateSaveModifiedDialog(TQWidget *parent, TQPtrList documents); virtual ~KateSaveModifiedDialog(); diff --git a/kate/app/katesession.h b/kate/app/katesession.h index e4a31f441..fa267e91f 100644 --- a/kate/app/katesession.h +++ b/kate/app/katesession.h @@ -175,7 +175,7 @@ class KateSession //FIXME add kdDebug statement to ease debugging class KateSessionManager : public TQObject { - Q_OBJECT + TQ_OBJECT public: @@ -503,7 +503,7 @@ class KateSessionChooserItem : public TDEListViewItem //FIXME create one single KateSessionChooser and reuse it all the time class KateSessionChooser : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: enum Result diff --git a/kate/app/katesessionpanel.h b/kate/app/katesessionpanel.h index 023de53e2..d8b1e156c 100644 --- a/kate/app/katesessionpanel.h +++ b/kate/app/katesessionpanel.h @@ -45,7 +45,7 @@ class TDEActionCollection; //FIXME improve string to distinguish between new session and saving an unnamed session class KateSessionNameChooser : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: @@ -72,7 +72,7 @@ class KateSessionNameChooser : public KDialogBase //BEGIN KateSessionPanelToolBarParent class KateSessionPanelToolBarParent: public TQFrame { - Q_OBJECT + TQ_OBJECT public: KateSessionPanelToolBarParent(TQWidget *parent) : TQFrame(parent), m_tbar(0) {} @@ -109,7 +109,7 @@ class KateSessionPanelItem : public TDEListViewItem //BEGIN KateSessionPanel class KateSessionPanel : public TQVBox { - Q_OBJECT + TQ_OBJECT friend class KateMainWindow; diff --git a/kate/app/katetabwidget.h b/kate/app/katetabwidget.h index 7e4327595..6bac94e1b 100644 --- a/kate/app/katetabwidget.h +++ b/kate/app/katetabwidget.h @@ -24,7 +24,7 @@ class KateTabWidget : public KTabWidget { - Q_OBJECT + TQ_OBJECT public: enum TabWidgetVisibility { diff --git a/kate/app/kateviewmanager.h b/kate/app/kateviewmanager.h index d16b59dc2..f67eb4758 100644 --- a/kate/app/kateviewmanager.h +++ b/kate/app/kateviewmanager.h @@ -38,7 +38,7 @@ class TQToolButton; class KateViewManager : public TQObject { - Q_OBJECT + TQ_OBJECT public: KateViewManager (KateMainWindow *parent); diff --git a/kate/app/kateviewspace.h b/kate/app/kateviewspace.h index 7c4674ec1..3b238beb8 100644 --- a/kate/app/kateviewspace.h +++ b/kate/app/kateviewspace.h @@ -39,7 +39,7 @@ class KateViewSpaceContainer; class KateVSStatusBar : public KStatusBar { - Q_OBJECT + TQ_OBJECT public: KateVSStatusBar ( KateViewSpace *parent = 0L, const char *name = 0L ); @@ -73,7 +73,7 @@ class KateViewSpace : public TQVBox friend class KateViewSpaceContainer; friend class KateVSStatusBar; - Q_OBJECT + TQ_OBJECT public: KateViewSpace(KateViewSpaceContainer *, TQWidget* parent=0, const char* name=0); diff --git a/kate/app/kateviewspacecontainer.h b/kate/app/kateviewspacecontainer.h index 2f1fa5372..a5f04f1ee 100644 --- a/kate/app/kateviewspacecontainer.h +++ b/kate/app/kateviewspacecontainer.h @@ -34,7 +34,7 @@ class KateMainWindow; class KateViewSpaceContainer: public TQVBox { - Q_OBJECT + TQ_OBJECT friend class KateViewSpace; friend class KateVSStatusBar; diff --git a/kate/app/kbookmarkhandler.h b/kate/app/kbookmarkhandler.h index 612c15a18..274218e04 100644 --- a/kate/app/kbookmarkhandler.h +++ b/kate/app/kbookmarkhandler.h @@ -32,7 +32,7 @@ class TDEPopupMenu; class KBookmarkHandler : public TQObject, public KBookmarkOwner { - Q_OBJECT + TQ_OBJECT public: KBookmarkHandler( KateFileSelector *parent, TDEPopupMenu *tdepopupmenu=0 ); diff --git a/kate/app/kwritemain.h b/kate/app/kwritemain.h index 5718d1e67..5a4187c3b 100644 --- a/kate/app/kwritemain.h +++ b/kate/app/kwritemain.h @@ -37,7 +37,7 @@ class TDERecentFilesAction; class KWrite : public KParts::MainWindow { - Q_OBJECT + TQ_OBJECT public: @@ -122,7 +122,7 @@ class KWrite : public KParts::MainWindow class KWriteEditorChooser: public KDialogBase { - Q_OBJECT + TQ_OBJECT public: -- cgit v1.2.1