summaryrefslogtreecommitdiffstats
path: root/src/potracegui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/potracegui.cpp')
-rw-r--r--src/potracegui.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/potracegui.cpp b/src/potracegui.cpp
index 70168b2..815bbb7 100644
--- a/src/potracegui.cpp
+++ b/src/potracegui.cpp
@@ -21,8 +21,8 @@
#include "potracegui.h"
#include "mainwidget.h"
-#include <qlabel.h>
-#include <qclipboard.h>
+#include <tqlabel.h>
+#include <tqclipboard.h>
#include <kmainwindow.h>
#include <klocale.h>
@@ -55,7 +55,7 @@ potracegui::potracegui()
setAutoSaveSettings();
setAcceptDrops(true);
- connect(m_centralWidget,SIGNAL(signalChangeStatusbar(QString)),this,SLOT(changeStatusbar(QString)));
+ connect(m_centralWidget,TQT_SIGNAL(signalChangeStatusbar(TQString)),this,TQT_SLOT(changeStatusbar(TQString)));
createInterface();
}
@@ -67,21 +67,21 @@ potracegui::~potracegui()
void potracegui::createInterface()
{
/*handled by potracegui*/
- KStdAction::openNew(this, SLOT(fileNew()),actionCollection());
- KStdAction::quit(this, SLOT(quit()),actionCollection());
- m_toolbarAction=KStdAction::showToolbar(this, SLOT(showToolbar()),actionCollection());
- m_statusbarAction=KStdAction::showStatusbar(this, SLOT(showStatusbar()),actionCollection());
- KStdAction::keyBindings(this, SLOT(configureKeys()),actionCollection());
- KStdAction::configureToolbars(this, SLOT(configureTB()),actionCollection());
+ KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(fileNew()),actionCollection());
+ KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(quit()),actionCollection());
+ m_toolbarAction=KStdAction::showToolbar(TQT_TQOBJECT(this), TQT_SLOT(showToolbar()),actionCollection());
+ m_statusbarAction=KStdAction::showStatusbar(TQT_TQOBJECT(this), TQT_SLOT(showStatusbar()),actionCollection());
+ KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(configureKeys()),actionCollection());
+ KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(configureTB()),actionCollection());
/*handled by MainWidget*/
- KStdAction::open(m_centralWidget, SLOT(fileOpen()),actionCollection());
- KStdAction::save(m_centralWidget, SLOT(fileSave()),actionCollection());
- KStdAction::saveAs(m_centralWidget, SLOT(fileSaveAs()),actionCollection());
- KStdAction::close(m_centralWidget, SLOT(fileClose()),actionCollection());
- KStdAction::cut(m_centralWidget, SLOT(cut()),actionCollection());
- KStdAction::copy(m_centralWidget, SLOT(copy()),actionCollection());
- KStdAction::paste(m_centralWidget, SLOT(paste()),actionCollection());
+ KStdAction::open(TQT_TQOBJECT(m_centralWidget), TQT_SLOT(fileOpen()),actionCollection());
+ KStdAction::save(TQT_TQOBJECT(m_centralWidget), TQT_SLOT(fileSave()),actionCollection());
+ KStdAction::saveAs(TQT_TQOBJECT(m_centralWidget), TQT_SLOT(fileSaveAs()),actionCollection());
+ KStdAction::close(TQT_TQOBJECT(m_centralWidget), TQT_SLOT(fileClose()),actionCollection());
+ KStdAction::cut(TQT_TQOBJECT(m_centralWidget), TQT_SLOT(cut()),actionCollection());
+ KStdAction::copy(TQT_TQOBJECT(m_centralWidget), TQT_SLOT(copy()),actionCollection());
+ KStdAction::paste(TQT_TQOBJECT(m_centralWidget), TQT_SLOT(paste()),actionCollection());
/*Create menu and toolbar*/
createGUI();
@@ -123,7 +123,7 @@ void potracegui::configureKeys()
void potracegui::configureTB()
{
KEditToolbar dlg(actionCollection());
- connect(&dlg,SIGNAL(newToolbarConfig()),this,SLOT(NewTBConfig()));
+ connect(&dlg,TQT_SIGNAL(newToolbarConfig()),this,TQT_SLOT(NewTBConfig()));
dlg.exec();
}
@@ -133,7 +133,7 @@ void potracegui::NewTBConfig()
saveMainWindowSettings(KGlobal::config());
}
-void potracegui::changeStatusbar(QString message)
+void potracegui::changeStatusbar(TQString message)
{
statusBar()->message(message);
}