summaryrefslogtreecommitdiffstats
path: root/src/editortabs.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-28 16:37:45 +0900
committerMichele Calgaro <[email protected]>2023-12-31 22:20:37 +0900
commitb035a6c47ef46ee310c0574ecd3bf6eb15cbca5c (patch)
tree0e0a6f82ea12db7ed50ba5e068128186493d44e1 /src/editortabs.cpp
parent3fb419090fd6a53dd1529a1707710a3b0ebea5ea (diff)
downloadkscope-b035a6c47ef46ee310c0574ecd3bf6eb15cbca5c.tar.gz
kscope-b035a6c47ef46ee310c0574ecd3bf6eb15cbca5c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 11f3716a1c82b43f92dc32083101558f3ec47f27)
Diffstat (limited to 'src/editortabs.cpp')
-rw-r--r--src/editortabs.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/editortabs.cpp b/src/editortabs.cpp
index 24aa6d4..e728f7e 100644
--- a/src/editortabs.cpp
+++ b/src/editortabs.cpp
@@ -53,16 +53,16 @@ EditorTabs::EditorTabs(TQWidget* pParent, const char* szName) :
setAcceptDrops(true);
// Close an editor page when its close button is clicked
- connect(this, SIGNAL(closeRequest(TQWidget*)), this,
- SLOT(slotRemovePage(TQWidget*)));
+ connect(this, TQ_SIGNAL(closeRequest(TQWidget*)), this,
+ TQ_SLOT(slotRemovePage(TQWidget*)));
// Set an editor page as the active part, when its tab is selected
- connect(this, SIGNAL(currentChanged(TQWidget*)), this,
- SLOT(slotCurrentChanged(TQWidget*)));
+ connect(this, TQ_SIGNAL(currentChanged(TQWidget*)), this,
+ TQ_SLOT(slotCurrentChanged(TQWidget*)));
// Start dragging a file from a tab
- connect(this, SIGNAL(initiateDrag(TQWidget*)), this,
- SLOT(slotInitiateDrag(TQWidget*)));
+ connect(this, TQ_SIGNAL(initiateDrag(TQWidget*)), this,
+ TQ_SLOT(slotInitiateDrag(TQWidget*)));
}
/**
@@ -79,10 +79,10 @@ EditorTabs::~EditorTabs()
void EditorTabs::setWindowMenu(TQPopupMenu* pWindowMenu)
{
m_pWindowMenu = pWindowMenu;
- connect(pWindowMenu, SIGNAL(aboutToShow()), this,
- SLOT(slotFillWindowMenu()));
- connect(pWindowMenu, SIGNAL(activated(int)), this,
- SLOT(slotSetCurrentPage(int)));
+ connect(pWindowMenu, TQ_SIGNAL(aboutToShow()), this,
+ TQ_SLOT(slotFillWindowMenu()));
+ connect(pWindowMenu, TQ_SIGNAL(activated(int)), this,
+ TQ_SLOT(slotSetCurrentPage(int)));
}
/**
@@ -97,16 +97,16 @@ void EditorTabs::addEditorPage(EditorPage* pNewPage)
// Add the file edited by this page to the map, and display its name,
// once the file is opened
- connect(pNewPage, SIGNAL(fileOpened(EditorPage*, const TQString&)), this,
- SLOT(slotAttachFile(EditorPage*, const TQString&)));
+ connect(pNewPage, TQ_SIGNAL(fileOpened(EditorPage*, const TQString&)), this,
+ TQ_SLOT(slotAttachFile(EditorPage*, const TQString&)));
// Handle new unnamed files
- connect(pNewPage, SIGNAL(newFile(EditorPage*)), this,
- SLOT(slotNewFile(EditorPage*)));
+ connect(pNewPage, TQ_SIGNAL(newFile(EditorPage*)), this,
+ TQ_SLOT(slotNewFile(EditorPage*)));
// Change tab icon when a file is modified
- connect(pNewPage, SIGNAL(modified(EditorPage*, bool)), this,
- SLOT(slotFileModified(EditorPage*, bool)));
+ connect(pNewPage, TQ_SIGNAL(modified(EditorPage*, bool)), this,
+ TQ_SLOT(slotFileModified(EditorPage*, bool)));
// If this is the first page, the current page will not be set by the
// signal handler, so we need to do it manually