summaryrefslogtreecommitdiffstats
path: root/src/editortabs.cpp
diff options
context:
space:
mode:
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