From 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:16:01 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kxsldbg/kxsldbg.cpp | 2 +- kxsldbg/kxsldbg.h | 6 ++--- kxsldbg/kxsldbgpart/kxsldbg_part.cpp | 52 ++++++++++++++++++------------------ 3 files changed, 30 insertions(+), 30 deletions(-) (limited to 'kxsldbg') diff --git a/kxsldbg/kxsldbg.cpp b/kxsldbg/kxsldbg.cpp index 5dab0044..34a82b28 100644 --- a/kxsldbg/kxsldbg.cpp +++ b/kxsldbg/kxsldbg.cpp @@ -90,7 +90,7 @@ bool KXsldbg::closeURL() void KXsldbg::setupActions() { - KAction *act = KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(quit()), actionCollection()); + TDEAction *act = KStdAction::quit(TQT_TQOBJECT(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()); diff --git a/kxsldbg/kxsldbg.h b/kxsldbg/kxsldbg.h index 16cf3592..36daab70 100644 --- a/kxsldbg/kxsldbg.h +++ b/kxsldbg/kxsldbg.h @@ -11,7 +11,7 @@ #include #include "kxsldbgif.h" -class KToggleAction; +class TDEToggleAction; /** * This is the application "Shell". It has a menubar, toolbar, and @@ -78,8 +78,8 @@ private: private: KParts::ReadOnlyPart *m_part; - KToggleAction *m_toolbarAction; - KToggleAction *m_statusbarAction; + TDEToggleAction *m_toolbarAction; + TDEToggleAction *m_statusbarAction; }; #endif // KXSLDBG_H diff --git a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp index 6fbd6f46..edac344b 100644 --- a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp +++ b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp @@ -106,133 +106,133 @@ KXsldbgPart::KXsldbgPart( TQWidget *parentWidget, const char * /*widgetName*/, // set our XML-UI resource file setXMLFile("kxsldbg_part.rc"); - (void) new KAction( i18n("Configure Editor..."), + (void) new TDEAction( i18n("Configure Editor..."), "configure", 0, this, TQT_SLOT(configureEditorCmd_activated()), actionCollection(), "configureEditorCmd" ); - (void) new KAction( i18n("Configure..."), + (void) new TDEAction( i18n("Configure..."), "configure", Key_C, this, TQT_SLOT(configureCmd_activated()), actionCollection(), "configureCmd" ); - (void) new KAction( i18n("Inspect..."), + (void) new TDEAction( i18n("Inspect..."), "find", Key_I, this, TQT_SLOT(inspectorCmd_activated()), actionCollection(), "inspectCmd" ); // Motions commands - (void) new KAction( i18n("Run"), + (void) new TDEAction( i18n("Run"), "run", Key_F5, this, TQT_SLOT(runCmd_activated()), actionCollection(), "runCmd" ); - (void) new KAction( i18n("Continue"), + (void) new TDEAction( i18n("Continue"), "1downarrow", Key_F4, this, TQT_SLOT(continueCmd_activated()), actionCollection(), "continueCmd" ); - (void) new KAction( i18n("Step"), + (void) new TDEAction( i18n("Step"), "step", Key_F8, this, TQT_SLOT(stepCmd_activated()), actionCollection(), "stepCmd" ); - (void) new KAction( i18n("Next"), + (void) new TDEAction( i18n("Next"), "next", Key_F10, this, TQT_SLOT(nextCmd_activated()), actionCollection(), "nextCmd" ); - (void) new KAction( i18n("Step Up"), + (void) new TDEAction( i18n("Step Up"), "xsldbg_stepup", Key_F6, this, TQT_SLOT(stepupCmd_activated()), actionCollection(), "stepupCmd" ); - (void) new KAction( i18n("Step Down"), + (void) new TDEAction( i18n("Step Down"), "xsldbg_stepdown", Key_F7, this, TQT_SLOT(stepCmd_activated()), actionCollection(), "stepdownCmd" ); // Breakpoint commands - (void) new KAction( i18n("Break"), + (void) new TDEAction( i18n("Break"), "xsldbg_break", Key_F2, this, TQT_SLOT(breakCmd_activated()), actionCollection(), "breakCmd" ); - (void) new KAction( i18n("Enable/Disable"), + (void) new TDEAction( i18n("Enable/Disable"), "xsldbg_enable", Key_F3, this, TQT_SLOT(enableCmd_activated()), actionCollection(), "enableCmd" ); - (void) new KAction( i18n("Delete"), + (void) new TDEAction( i18n("Delete"), "xsldbg_delete", Key_Delete, this, TQT_SLOT(deleteCmd_activated()), actionCollection(), "deleteCmd" ); - (void) new KAction( i18n("&Source"), + (void) new TDEAction( i18n("&Source"), "xsldbg_source", Key_S, this, TQT_SLOT(sourceCmd_activated()), actionCollection(), "sourceCmd" ); - (void) new KAction( i18n("&Data"), + (void) new TDEAction( i18n("&Data"), "xsldbg_data", Key_D, this, TQT_SLOT(dataCmd_activated()), actionCollection(), "dataCmd" ); - (void) new KAction( i18n("&Output"), + (void) new TDEAction( i18n("&Output"), "xsldbg_output", Key_O, this, TQT_SLOT(outputCmd_activated()), actionCollection(), "outputCmd" ); - (void) new KAction( i18n("Reload Current File From Disk"), + (void) new TDEAction( i18n("Reload Current File From Disk"), "xsldbg_refresh", CTRL + Key_F5, this, TQT_SLOT(refreshCmd_activated()), actionCollection(), "refreshCmd" ); /* tracing and walking */ - (void) new KAction( i18n("Walk Through Stylesheet..."), + (void) new TDEAction( i18n("Walk Through Stylesheet..."), Key_W, this, TQT_SLOT(walkCmd_activated()), actionCollection(), "walkCmd" ); - (void) new KAction( i18n("Stop Wal&king Through Stylesheet"), + (void) new TDEAction( i18n("Stop Wal&king Through Stylesheet"), Key_K, this, TQT_SLOT(walkStopCmd_activated()), actionCollection(), "walkStopCmd" ); - (void) new KAction( i18n("Tr&ace Execution of Stylesheet"), + (void) new TDEAction( i18n("Tr&ace Execution of Stylesheet"), Key_A, this, TQT_SLOT(traceCmd_activated()), actionCollection(), "traceCmd" ); - (void) new KAction( i18n("Stop Tracing of Stylesheet"), + (void) new TDEAction( i18n("Stop Tracing of Stylesheet"), Key_K, this, TQT_SLOT(traceStopCmd_activated()), actionCollection(), "traceStopCmd" ); - (void) new KAction( i18n("&Evaluate Expression..."), + (void) new TDEAction( i18n("&Evaluate Expression..."), Key_E, this, TQT_SLOT(evaluateCmd_activated()), actionCollection(), "evaluateCmd" ); - (void) new KAction( i18n("Goto &XPath..."), + (void) new TDEAction( i18n("Goto &XPath..."), Key_X, this, TQT_SLOT(gotoXPathCmd_activated()), actionCollection(), "gotoXPathCmd" ); - (void) new KAction( i18n("Lookup SystemID..."), + (void) new TDEAction( i18n("Lookup SystemID..."), 0, this, TQT_SLOT(slotLookupSystemID()), actionCollection(), "lookupSystemID" ); - (void) new KAction( i18n("Lookup PublicID..."), + (void) new TDEAction( i18n("Lookup PublicID..."), 0, this, TQT_SLOT(slotLookupPublicID()), actionCollection(), "lookupPublicID" ); - (void) new KAction( i18n("Quit"), + (void) new TDEAction( i18n("Quit"), 0, CTRL + Key_Q, this, TQT_SLOT(quit()), actionCollection(), "file_quit" ); /* - (void) new KAction( i18n("Exit KXsldbg"), + (void) new TDEAction( i18n("Exit KXsldbg"), "xsldbg_output", CTRL + Key_Q, this, TQT_SLOT(exitCmd_activated()), actionCollection(), "exitCmd" ); -- cgit v1.2.3