diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:42:37 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:22:08 +0900 |
| commit | f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd (patch) | |
| tree | 49b5284de3c34fa5beb84bd52110e7e1cdba826d /src/libgui/editor_manager.cpp | |
| parent | 26bcb362b66b78984c0c7567d00c12f3425d6468 (diff) | |
| download | piklab-f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd.tar.gz piklab-f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c679361a50aee162491e7195f2bcfdbbf341dde5)
Diffstat (limited to 'src/libgui/editor_manager.cpp')
| -rw-r--r-- | src/libgui/editor_manager.cpp | 10 |
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() |
