diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 11:42:47 +0900 |
commit | 86fed9b788837a7f02086639225c66ecd83065e1 (patch) | |
tree | 610edf3b7e43182a7e200a84e2fba357369a1d13 /kxsldbg/kxsldbg.cpp | |
parent | 8954d7640bd43ba663a75334b5d30d3f5f62174b (diff) | |
download | tdewebdev-86fed9b788837a7f02086639225c66ecd83065e1.tar.gz tdewebdev-86fed9b788837a7f02086639225c66ecd83065e1.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9e553028bac0f0d934926318a7b13aa4d8474b27)
Diffstat (limited to 'kxsldbg/kxsldbg.cpp')
-rw-r--r-- | kxsldbg/kxsldbg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kxsldbg/kxsldbg.cpp b/kxsldbg/kxsldbg.cpp index f4de889b..bdc8affd 100644 --- a/kxsldbg/kxsldbg.cpp +++ b/kxsldbg/kxsldbg.cpp @@ -42,7 +42,7 @@ KXsldbg::KXsldbg() { // now that the Part is loaded, we cast it to a Part to get // our hands on it - m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(TQT_TQOBJECT(this), + m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(this, "kxsldbg_part", "KParts::ReadOnlyPart" )); if (m_part) @@ -64,7 +64,7 @@ KXsldbg::KXsldbg() (menuBar()->findItem(mbar->idAt(mbar->count()-1))->popup()); if (help_menu) { - help_menu->insertItem(SmallIconSet("contents"), i18n("&XSLDbg Handbook"), TQT_TQOBJECT(this), + help_menu->insertItem(SmallIconSet("contents"), i18n("&XSLDbg Handbook"), this, TQT_SLOT(showXSLDbgHelp()), 0, -1, 1); } } @@ -102,14 +102,14 @@ bool KXsldbg::closeURL() void KXsldbg::setupActions() { - TDEAction *act = KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(quit()), actionCollection()); + TDEAction *act = KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection()); connect(act, TQT_SIGNAL(activated()), this, TQT_SLOT(quit())); - m_toolbarAction = KStdAction::showToolbar(TQT_TQOBJECT(this), TQT_SLOT(optionsShowToolbar()), actionCollection()); - m_statusbarAction = KStdAction::showStatusbar(TQT_TQOBJECT(this), TQT_SLOT(optionsShowStatusbar()), actionCollection()); + m_toolbarAction = KStdAction::showToolbar(this, TQT_SLOT(optionsShowToolbar()), actionCollection()); + m_statusbarAction = KStdAction::showStatusbar(this, TQT_SLOT(optionsShowStatusbar()), actionCollection()); - KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection()); - KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()), actionCollection()); + KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection()); } void KXsldbg::saveProperties(TDEConfig* /*config*/) |