diff options
Diffstat (limited to 'kxsldbg/kxsldbg.cpp')
-rw-r--r-- | kxsldbg/kxsldbg.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kxsldbg/kxsldbg.cpp b/kxsldbg/kxsldbg.cpp index f4de889b..1bd2ae0e 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) @@ -54,7 +54,7 @@ KXsldbg::KXsldbg() createGUI(m_part); // connect up signals - kapp->dcopClient()->attach(); + tdeApp->dcopClient()->attach(); connectDCOPSignal(0, 0, "debuggerPositionChanged(TQString,int)", "newDebuggerPosition(TQString,int)", false ); connectDCOPSignal(0, 0, "editorPositionChanged(TQString,int,int)", "newCursorPosition(TQString,int,int)", false ); @@ -64,8 +64,8 @@ KXsldbg::KXsldbg() (menuBar()->findItem(mbar->idAt(mbar->count()-1))->popup()); if (help_menu) { - help_menu->insertItem(SmallIconSet("contents"), i18n("&XSLDbg Handbook"), TQT_TQOBJECT(this), - TQT_SLOT(showXSLDbgHelp()), 0, -1, 1); + help_menu->insertItem(SmallIconSet("contents"), i18n("&XSLDbg Handbook"), this, + TQ_SLOT(showXSLDbgHelp()), 0, -1, 1); } } } @@ -74,7 +74,7 @@ KXsldbg::KXsldbg() // if we couldn't find our Part, we exit since the Shell by // itself can't do anything useful KMessageBox::error(this, i18n("Could not find our part.")); - kapp->quit(); + tdeApp->quit(); } } @@ -102,14 +102,14 @@ bool KXsldbg::closeURL() void KXsldbg::setupActions() { - TDEAction *act = KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(quit()), actionCollection()); - connect(act, TQT_SIGNAL(activated()), this, TQT_SLOT(quit())); + TDEAction *act = KStdAction::quit(tdeApp, TQ_SLOT(quit()), actionCollection()); + connect(act, TQ_SIGNAL(activated()), this, TQ_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, TQ_SLOT(optionsShowToolbar()), actionCollection()); + m_statusbarAction = KStdAction::showStatusbar(this, TQ_SLOT(optionsShowStatusbar()), actionCollection()); - KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection()); - KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()), actionCollection()); + KStdAction::keyBindings(this, TQ_SLOT(optionsConfigureKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQ_SLOT(optionsConfigureToolbars()), actionCollection()); } void KXsldbg::saveProperties(TDEConfig* /*config*/) @@ -159,8 +159,8 @@ void KXsldbg::optionsConfigureToolbars() // use the standard toolbar editor KEditToolbar dlg(factory()); - connect(&dlg, TQT_SIGNAL(newToolbarConfig()), - this, TQT_SLOT(applyNewToolbarConfig())); + connect(&dlg, TQ_SIGNAL(newToolbarConfig()), + this, TQ_SLOT(applyNewToolbarConfig())); dlg.exec(); } @@ -184,7 +184,7 @@ void KXsldbg::newDebuggerPosition(const TQString &file, int lineNumber) void KXsldbg::showXSLDbgHelp() { - kapp->invokeHelp(TQString(), "xsldbg"); + tdeApp->invokeHelp(TQString(), "xsldbg"); } #include "kxsldbg.moc" |