summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-07 19:08:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-09 15:43:55 +0900
commit91a23eaed45f300d6dc5f3eec30f74e7d6e132e3 (patch)
tree15dd1f75d90e822135c85f63d19d939a58b47d53
parent512732b013944b543144f448403548d63c3293da (diff)
downloadpotracegui-91a23eaed45f300d6dc5f3eec30f74e7d6e132e3.tar.gz
potracegui-91a23eaed45f300d6dc5f3eec30f74e7d6e132e3.zip
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 432ec56411cac662dc259ae2dcb2588607a7c15f)
-rw-r--r--src/potracegui.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/potracegui.cpp b/src/potracegui.cpp
index c361ef0..3f1b435 100644
--- a/src/potracegui.cpp
+++ b/src/potracegui.cpp
@@ -67,21 +67,21 @@ potracegui::~potracegui()
void potracegui::createInterface()
{
/*handled by potracegui*/
- 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());
+ KStdAction::openNew(this, TQT_SLOT(fileNew()),actionCollection());
+ KStdAction::quit(this, TQT_SLOT(quit()),actionCollection());
+ m_toolbarAction=KStdAction::showToolbar(this, TQT_SLOT(showToolbar()),actionCollection());
+ m_statusbarAction=KStdAction::showStatusbar(this, TQT_SLOT(showStatusbar()),actionCollection());
+ KStdAction::keyBindings(this, TQT_SLOT(configureKeys()),actionCollection());
+ KStdAction::configureToolbars(this, TQT_SLOT(configureTB()),actionCollection());
/*handled by MainWidget*/
- 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());
+ KStdAction::open(m_centralWidget, TQT_SLOT(fileOpen()),actionCollection());
+ KStdAction::save(m_centralWidget, TQT_SLOT(fileSave()),actionCollection());
+ KStdAction::saveAs(m_centralWidget, TQT_SLOT(fileSaveAs()),actionCollection());
+ KStdAction::close(m_centralWidget, TQT_SLOT(fileClose()),actionCollection());
+ KStdAction::cut(m_centralWidget, TQT_SLOT(cut()),actionCollection());
+ KStdAction::copy(m_centralWidget, TQT_SLOT(copy()),actionCollection());
+ KStdAction::paste(m_centralWidget, TQT_SLOT(paste()),actionCollection());
/*Create menu and toolbar*/
createGUI();