From f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 29 Dec 2023 16:42:37 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit c679361a50aee162491e7195f2bcfdbbf341dde5) --- src/libgui/editor_manager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libgui/editor_manager.cpp') diff --git a/src/libgui/editor_manager.cpp b/src/libgui/editor_manager.cpp index d6747f3..3e17daf 100644 --- a/src/libgui/editor_manager.cpp +++ b/src/libgui/editor_manager.cpp @@ -96,7 +96,7 @@ EditorManager::EditorManager(TQWidget *parent) : TabWidget(parent, "editor_manager"), _current(0) { setTabBar(new EditorTabBar(this)); - connect(this, TQT_SIGNAL(currentChanged(TQWidget *)), TQT_SLOT(showEditor(TQWidget *))); + connect(this, TQ_SIGNAL(currentChanged(TQWidget *)), TQ_SLOT(showEditor(TQWidget *))); setHoverCloseButton(readConfigEntry(BaseGlobalConfig::ShowTabCloseButton).toBool()); setHoverCloseButtonDelayed(false); } @@ -127,10 +127,10 @@ void EditorManager::connectEditor(Editor *editor) disconnectEditor(currentEditor()); if ( editor==0 ) return; editor->addGui(); - connect(editor, TQT_SIGNAL(modified()), TQT_SLOT(modifiedSlot())); - connect(editor, TQT_SIGNAL(guiChanged()), TQT_SIGNAL(guiChanged())); - connect(editor, TQT_SIGNAL(dropEventPass(TQDropEvent *)), TQT_SLOT(slotDropEvent(TQDropEvent *))); - connect(editor, TQT_SIGNAL(statusTextChanged(const TQString &)), TQT_SIGNAL(statusChanged(const TQString &))); + connect(editor, TQ_SIGNAL(modified()), TQ_SLOT(modifiedSlot())); + connect(editor, TQ_SIGNAL(guiChanged()), TQ_SIGNAL(guiChanged())); + connect(editor, TQ_SIGNAL(dropEventPass(TQDropEvent *)), TQ_SLOT(slotDropEvent(TQDropEvent *))); + connect(editor, TQ_SIGNAL(statusTextChanged(const TQString &)), TQ_SIGNAL(statusChanged(const TQString &))); } void EditorManager::modifiedSlot() -- cgit v1.2.3