summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kxsldbg/kxsldbgpart/kxsldbg_part.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/kxsldbg_part.cpp90
1 files changed, 45 insertions, 45 deletions
diff --git a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
index d1dee273..d83b6be4 100644
--- a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
+++ b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
@@ -94,7 +94,7 @@ KXsldbgPart::KXsldbgPart( TQWidget *parentWidget, const char * /*widgetName*/,
newEvaluate = new TQLineEdit(h);
evaluateBtn = new TQPushButton(i18n("Evaluate"), h);
- TQSplitter *splitter = new TQSplitter(Qt::Vertical, frame);
+ TQSplitter *splitter = new TQSplitter(TQt::Vertical, frame);
mainView = new TQWidgetStack(splitter);
mainView->setMinimumHeight(400); //## TODO don't use a magic number
outputview = new XsldbgOutputView(splitter);
@@ -102,149 +102,149 @@ KXsldbgPart::KXsldbgPart( TQWidget *parentWidget, const char * /*widgetName*/,
docDictionary.setAutoDelete(true);
// create our actions
- KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
+ KStdAction::open(this, TQ_SLOT(fileOpen()), actionCollection());
// set our XML-UI resource file
setXMLFile("kxsldbg_part.rc");
(void) new TDEAction( i18n("Configure Editor..."),
"configure", 0,
- this, TQT_SLOT(configureEditorCmd_activated()),
+ this, TQ_SLOT(configureEditorCmd_activated()),
actionCollection(), "configureEditorCmd" );
(void) new TDEAction( i18n("Configure..."),
"configure", Key_C,
- this, TQT_SLOT(configureCmd_activated()),
+ this, TQ_SLOT(configureCmd_activated()),
actionCollection(), "configureCmd" );
(void) new TDEAction( i18n("Inspect..."),
"edit-find", Key_I,
- this, TQT_SLOT(inspectorCmd_activated()),
+ this, TQ_SLOT(inspectorCmd_activated()),
actionCollection(), "inspectCmd" );
// Motions commands
(void) new TDEAction( i18n("Run"),
"system-run", Key_F5,
- this, TQT_SLOT(runCmd_activated()),
+ this, TQ_SLOT(runCmd_activated()),
actionCollection(), "runCmd" );
(void) new TDEAction( i18n("Continue"),
"1downarrow", Key_F4,
- this, TQT_SLOT(continueCmd_activated()),
+ this, TQ_SLOT(continueCmd_activated()),
actionCollection(), "continueCmd" );
(void) new TDEAction( i18n("Step"),
"step", Key_F8,
- this, TQT_SLOT(stepCmd_activated()),
+ this, TQ_SLOT(stepCmd_activated()),
actionCollection(), "stepCmd" );
(void) new TDEAction( i18n("Next"),
"next", Key_F10,
- this, TQT_SLOT(nextCmd_activated()),
+ this, TQ_SLOT(nextCmd_activated()),
actionCollection(), "nextCmd" );
(void) new TDEAction( i18n("Step Up"),
"xsldbg_stepup", Key_F6,
- this, TQT_SLOT(stepupCmd_activated()),
+ this, TQ_SLOT(stepupCmd_activated()),
actionCollection(), "stepupCmd" );
(void) new TDEAction( i18n("Step Down"),
"xsldbg_stepdown", Key_F7,
- this, TQT_SLOT(stepCmd_activated()),
+ this, TQ_SLOT(stepCmd_activated()),
actionCollection(), "stepdownCmd" );
// Breakpoint commands
(void) new TDEAction( i18n("Break"),
"xsldbg_break", Key_F2,
- this, TQT_SLOT(breakCmd_activated()),
+ this, TQ_SLOT(breakCmd_activated()),
actionCollection(), "breakCmd" );
(void) new TDEAction( i18n("Enable/Disable"),
"xsldbg_enable", Key_F3,
- this, TQT_SLOT(enableCmd_activated()),
+ this, TQ_SLOT(enableCmd_activated()),
actionCollection(), "enableCmd" );
(void) new TDEAction( i18n("Delete"),
"xsldbg_delete", Key_Delete,
- this, TQT_SLOT(deleteCmd_activated()),
+ this, TQ_SLOT(deleteCmd_activated()),
actionCollection(), "deleteCmd" );
(void) new TDEAction( i18n("&Source"),
"xsldbg_source", Key_S,
- this, TQT_SLOT(sourceCmd_activated()),
+ this, TQ_SLOT(sourceCmd_activated()),
actionCollection(), "sourceCmd" );
(void) new TDEAction( i18n("&Data"),
"xsldbg_data", Key_D,
- this, TQT_SLOT(dataCmd_activated()),
+ this, TQ_SLOT(dataCmd_activated()),
actionCollection(), "dataCmd" );
(void) new TDEAction( i18n("&Output"),
"xsldbg_output", Key_O,
- this, TQT_SLOT(outputCmd_activated()),
+ this, TQ_SLOT(outputCmd_activated()),
actionCollection(), "outputCmd" );
(void) new TDEAction( i18n("Reload Current File From Disk"),
"xsldbg_refresh", CTRL + Key_F5,
- this, TQT_SLOT(refreshCmd_activated()),
+ this, TQ_SLOT(refreshCmd_activated()),
actionCollection(), "refreshCmd" );
/* tracing and walking */
(void) new TDEAction( i18n("Walk Through Stylesheet..."),
Key_W,
- this, TQT_SLOT(walkCmd_activated()),
+ this, TQ_SLOT(walkCmd_activated()),
actionCollection(), "walkCmd" );
(void) new TDEAction( i18n("Stop Wal&king Through Stylesheet"),
Key_K,
- this, TQT_SLOT(walkStopCmd_activated()),
+ this, TQ_SLOT(walkStopCmd_activated()),
actionCollection(), "walkStopCmd" );
(void) new TDEAction( i18n("Tr&ace Execution of Stylesheet"),
Key_A,
- this, TQT_SLOT(traceCmd_activated()),
+ this, TQ_SLOT(traceCmd_activated()),
actionCollection(), "traceCmd" );
(void) new TDEAction( i18n("Stop Tracing of Stylesheet"),
Key_K,
- this, TQT_SLOT(traceStopCmd_activated()),
+ this, TQ_SLOT(traceStopCmd_activated()),
actionCollection(), "traceStopCmd" );
(void) new TDEAction( i18n("&Evaluate Expression..."),
Key_E,
- this, TQT_SLOT(evaluateCmd_activated()),
+ this, TQ_SLOT(evaluateCmd_activated()),
actionCollection(), "evaluateCmd" );
(void) new TDEAction( i18n("Goto &XPath..."),
Key_X,
- this, TQT_SLOT(gotoXPathCmd_activated()),
+ this, TQ_SLOT(gotoXPathCmd_activated()),
actionCollection(), "gotoXPathCmd" );
(void) new TDEAction( i18n("Lookup SystemID..."),
0,
- this, TQT_SLOT(slotLookupSystemID()),
+ this, TQ_SLOT(slotLookupSystemID()),
actionCollection(), "lookupSystemID" );
(void) new TDEAction( i18n("Lookup PublicID..."),
0,
- this, TQT_SLOT(slotLookupPublicID()),
+ this, TQ_SLOT(slotLookupPublicID()),
actionCollection(), "lookupPublicID" );
(void) new TDEAction( i18n("Quit"),
0, CTRL + Key_Q,
- this, TQT_SLOT(quit()),
+ this, TQ_SLOT(quit()),
actionCollection(), "file_quit" );
/*
(void) new TDEAction( i18n("Exit KXsldbg"),
"xsldbg_output", CTRL + Key_Q,
- this, TQT_SLOT(exitCmd_activated()),
+ this, TQ_SLOT(exitCmd_activated()),
actionCollection(), "exitCmd" );
*/
- connect( xPathBtn, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotGotoXPath() ) );
- connect( evaluateBtn, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotEvaluate() ) );
+ connect( xPathBtn, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotGotoXPath() ) );
+ connect( evaluateBtn, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotEvaluate() ) );
/*
- connect( searchBtn, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotSearch() ) );
+ connect( searchBtn, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotSearch() ) );
*/
/* We must have a valid debugger and inspector */
createInspector();
@@ -312,7 +312,7 @@ bool KXsldbgPart::fetchURL(const KURL &url)
if (docPtr->kateView()){
mainView->addWidget(docPtr->kateView());
Kate::View *v = Kate::view((docPtr->kateView()));
- connect(v, TQT_SIGNAL(cursorPositionChanged()), this, TQT_SLOT(cursorPositionChanged()));
+ connect(v, TQ_SIGNAL(cursorPositionChanged()), this, TQ_SLOT(cursorPositionChanged()));
}
}
@@ -470,13 +470,13 @@ void KXsldbgPart::createInspector()
debugger = new XsldbgDebugger();
TQ_CHECK_PTR( debugger );
if ( debugger != 0L ) {
- connect(debugger, TQT_SIGNAL( debuggerReady()),
- this, TQT_SLOT(debuggerStarted()));
+ connect(debugger, TQ_SIGNAL( debuggerReady()),
+ this, TQ_SLOT(debuggerStarted()));
if (outputview){
connect(debugger,
- TQT_SIGNAL( showMessage(TQString /* msg*/)),
+ TQ_SIGNAL( showMessage(TQString /* msg*/)),
outputview,
- TQT_SLOT(slotProcShowMessage(TQString /* msg*/)));
+ TQ_SLOT(slotProcShowMessage(TQString /* msg*/)));
}
inspector = new XsldbgInspector( debugger );
TQ_CHECK_PTR( inspector );
@@ -484,31 +484,31 @@ void KXsldbgPart::createInspector()
if (inspector != 0L){
/*process line number and/or file name changed */
connect(debugger,
- TQT_SIGNAL(lineNoChanged
+ TQ_SIGNAL(lineNoChanged
(TQString /* fileName */ ,
int /* lineNumber */ ,
bool /* breakpoint */ ) ),
this,
- TQT_SLOT(lineNoChanged
+ TQ_SLOT(lineNoChanged
( TQString /* fileName */ ,
int /* lineNumber */ ,
bool /* breakpoint */ ) ) );
connect(debugger,
- TQT_SIGNAL(breakpointItem(TQString /* fileName*/,
+ TQ_SIGNAL(breakpointItem(TQString /* fileName*/,
int /* lineNumber */,
TQString /*templateName*/,
TQString /* modeName */,
bool /* enabled */,
int /* id */)),
this,
- TQT_SLOT( breakpointItem(TQString /* fileName*/,
+ TQ_SLOT( breakpointItem(TQString /* fileName*/,
int /* lineNumber */,
TQString /*templateName*/,
TQString /* modeName */,
bool /* enabled */,
int /* id */)));
- connect(debugger, TQT_SIGNAL(resolveItem(TQString /*URI*/)),
- this, TQT_SLOT(slotProcResolveItem(TQString /*URI*/)));
+ connect(debugger, TQ_SIGNAL(resolveItem(TQString /*URI*/)),
+ this, TQ_SLOT(slotProcResolveItem(TQString /*URI*/)));
}
}
}