summaryrefslogtreecommitdiffstats
path: root/src/libgui/editor_manager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-29 16:42:37 +0900
committerMichele Calgaro <[email protected]>2023-12-29 16:48:53 +0900
commitc679361a50aee162491e7195f2bcfdbbf341dde5 (patch)
treec8ff90ba1810054b7e53a79649b0e33a0937e74f /src/libgui/editor_manager.cpp
parenta8207be921513da0ccccf41e36e056736c2b8457 (diff)
downloadpiklab-c679361a50aee162491e7195f2bcfdbbf341dde5.tar.gz
piklab-c679361a50aee162491e7195f2bcfdbbf341dde5.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/libgui/editor_manager.cpp')
-rw-r--r--src/libgui/editor_manager.cpp10
1 files changed, 5 insertions, 5 deletions
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()