summaryrefslogtreecommitdiffstats
path: root/src/newui/dmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newui/dmainwindow.cpp')
-rw-r--r--src/newui/dmainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/newui/dmainwindow.cpp b/src/newui/dmainwindow.cpp
index 62a81eca..d3c70d4e 100644
--- a/src/newui/dmainwindow.cpp
+++ b/src/newui/dmainwindow.cpp
@@ -208,10 +208,10 @@ DTabWidget *DMainWindow::createTab()
DTabWidget *tab = new DTabWidget(m_central);
m_tabs.append(tab);
if (tab->closeButton())
- connect(tab->closeButton(), TQT_SIGNAL(clicked()), this, TQT_SLOT(closeTab()));
- connect(tab, TQT_SIGNAL(closeRequest(TQWidget*)), this, TQT_SLOT(closeTab(TQWidget*)));
- connect(tab, TQT_SIGNAL(contextMenu(TQWidget*,const TQPoint &)),
- this, TQT_SLOT(tabContext(TQWidget*,const TQPoint &)));
+ connect(tab->closeButton(), TQ_SIGNAL(clicked()), this, TQ_SLOT(closeTab()));
+ connect(tab, TQ_SIGNAL(closeRequest(TQWidget*)), this, TQ_SLOT(closeTab(TQWidget*)));
+ connect(tab, TQ_SIGNAL(contextMenu(TQWidget*,const TQPoint &)),
+ this, TQ_SLOT(tabContext(TQWidget*,const TQPoint &)));
return tab;
}
@@ -274,7 +274,7 @@ void DMainWindow::addDockWidget(DDockWindow::Position position, TQWidget *view,
{
toolWindow(position)->addWidget(title, view);
m_docks[view] = position;
- connect(view, TQT_SIGNAL(destroyed()), this, TQT_SLOT(widgetDestroyed()));
+ connect(view, TQ_SIGNAL(destroyed()), this, TQ_SLOT(widgetDestroyed()));
}
void DMainWindow::removeDockWidget(TQWidget *view)