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-21 19:38:32 +0900 |
commit | 9e553028bac0f0d934926318a7b13aa4d8474b27 (patch) | |
tree | 363c971f334f9b91813928c97867a113f34431d5 /kxsldbg | |
parent | 13d63148446745909c8ba4b1b68f99e4291cf0cd (diff) | |
download | tdewebdev-9e553028bac0f0d934926318a7b13aa4d8474b27.tar.gz tdewebdev-9e553028bac0f0d934926318a7b13aa4d8474b27.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kxsldbg')
-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*/) |