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.cpp266
1 files changed, 133 insertions, 133 deletions
diff --git a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
index 5c4742ab..c9023d07 100644
--- a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
+++ b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp
@@ -13,15 +13,15 @@
#include <ktexteditor/configinterface.h>
#include <kate/view.h>
-#include <qfile.h>
-#include <qtextstream.h>
+#include <tqfile.h>
+#include <tqtextstream.h>
#include "../kxsldbg.h"
#include <kaction.h>
#include <kcmdlineargs.h>
#include <kinstance.h>
#include <kiconloader.h>
-#include <qmessagebox.h>
+#include <tqmessagebox.h>
#include <klocale.h>
#include <kdeversion.h>
#if KDE_IS_VERSION(3,1,90)
@@ -32,33 +32,33 @@
// Qxsldbg specific includes
#include "qxsldbgdoc.h"
-#include <qvariant.h>
-#include <qfile.h>
-#include <qstatusbar.h>
-#include <qsplitter.h>
-#include <qvbox.h>
-
-
-#include <qmime.h>
-#include <qdragobject.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-#include <qaction.h>
-#include <qmenubar.h>
-#include <qpopupmenu.h>
-#include <qtoolbar.h>
-#include <qimage.h>
-#include <qpixmap.h>
-#include <qtextstream.h>
-#include <qtextbrowser.h>
-#include <qmessagebox.h>
-#include <qlineedit.h>
-#include <qdockwindow.h>
-#include <qpushbutton.h>
-#include <qinputdialog.h>
-#include <qobjectlist.h>
-#include <qwidgetstack.h>
+#include <tqvariant.h>
+#include <tqfile.h>
+#include <tqstatusbar.h>
+#include <tqsplitter.h>
+#include <tqvbox.h>
+
+
+#include <tqmime.h>
+#include <tqdragobject.h>
+#include <tqlayout.h>
+#include <tqtooltip.h>
+#include <tqwhatsthis.h>
+#include <tqaction.h>
+#include <tqmenubar.h>
+#include <tqpopupmenu.h>
+#include <tqtoolbar.h>
+#include <tqimage.h>
+#include <tqpixmap.h>
+#include <tqtextstream.h>
+#include <tqtextbrowser.h>
+#include <tqmessagebox.h>
+#include <tqlineedit.h>
+#include <tqdockwindow.h>
+#include <tqpushbutton.h>
+#include <tqinputdialog.h>
+#include <tqobjectlist.h>
+#include <tqwidgetstack.h>
#include "xsldbgoutputview.h"
#include "xsldbgconfigimpl.h"
#include <kdebug.h>
@@ -67,9 +67,9 @@
typedef KParts::GenericFactory<KXsldbgPart> KXsldbgPartFactory;
K_EXPORT_COMPONENT_FACTORY( libkxsldbgpart, KXsldbgPartFactory )
-KXsldbgPart::KXsldbgPart( QWidget *parentWidget, const char * /*widgetName*/,
- QObject *parent, const char *name,
- const QStringList & /*args*/ )
+KXsldbgPart::KXsldbgPart( TQWidget *parentWidget, const char * /*widgetName*/,
+ TQObject *parent, const char *name,
+ const TQStringList & /*args*/ )
: DCOPObject("KXsldbgPart"), KParts::ReadOnlyPart(parent, name)
{
currentLineNo = 0;
@@ -81,170 +81,170 @@ KXsldbgPart::KXsldbgPart( QWidget *parentWidget, const char * /*widgetName*/,
// we need an instance
setInstance( KXsldbgPartFactory::instance() );
- QVBox *frame = new QVBox(parentWidget);
- QHBox *h = new QHBox(frame);
- newXPath = new QLineEdit(h);
- xPathBtn = new QPushButton(i18n("Goto XPath"), h);
+ TQVBox *frame = new TQVBox(parentWidget);
+ TQHBox *h = new TQHBox(frame);
+ newXPath = new TQLineEdit(h);
+ xPathBtn = new TQPushButton(i18n("Goto XPath"), h);
/* Disable searching as searching documentation is not ready
- h = new QHBox(frame);
- newSearch = new QLineEdit(h);
- searchBtn = new QPushButton(i18n("Search"), h);
+ h = new TQHBox(frame);
+ newSearch = new TQLineEdit(h);
+ searchBtn = new TQPushButton(i18n("Search"), h);
*/
- h = new QHBox(frame);
- newEvaluate = new QLineEdit(h);
- evaluateBtn = new QPushButton(i18n("Evaluate"), h);
+ h = new TQHBox(frame);
+ newEvaluate = new TQLineEdit(h);
+ evaluateBtn = new TQPushButton(i18n("Evaluate"), h);
- QSplitter *splitter = new QSplitter(QSplitter::Vertical, frame);
- mainView = new QWidgetStack(splitter);
+ TQSplitter *splitter = new TQSplitter(TQSplitter::Vertical, frame);
+ mainView = new TQWidgetStack(splitter);
mainView->setMinimumHeight(400); //## TODO don't use a magic number
outputview = new XsldbgOutputView(splitter);
setWidget(frame);
docDictionary.setAutoDelete(true);
// create our actions
- KStdAction::open(this, SLOT(fileOpen()), actionCollection());
+ KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
// set our XML-UI resource file
setXMLFile("kxsldbg_part.rc");
(void) new KAction( i18n("Configure Editor..."),
"configure", 0,
- this, SLOT(configureEditorCmd_activated()),
+ this, TQT_SLOT(configureEditorCmd_activated()),
actionCollection(), "configureEditorCmd" );
(void) new KAction( i18n("Configure..."),
"configure", Key_C,
- this, SLOT(configureCmd_activated()),
+ this, TQT_SLOT(configureCmd_activated()),
actionCollection(), "configureCmd" );
(void) new KAction( i18n("Inspect..."),
"find", Key_I,
- this, SLOT(inspectorCmd_activated()),
+ this, TQT_SLOT(inspectorCmd_activated()),
actionCollection(), "inspectCmd" );
// Motions commands
(void) new KAction( i18n("Run"),
"run", Key_F5,
- this, SLOT(runCmd_activated()),
+ this, TQT_SLOT(runCmd_activated()),
actionCollection(), "runCmd" );
(void) new KAction( i18n("Continue"),
"1downarrow", Key_F4,
- this, SLOT(continueCmd_activated()),
+ this, TQT_SLOT(continueCmd_activated()),
actionCollection(), "continueCmd" );
(void) new KAction( i18n("Step"),
"step", Key_F8,
- this, SLOT(stepCmd_activated()),
+ this, TQT_SLOT(stepCmd_activated()),
actionCollection(), "stepCmd" );
(void) new KAction( i18n("Next"),
"next", Key_F10,
- this, SLOT(nextCmd_activated()),
+ this, TQT_SLOT(nextCmd_activated()),
actionCollection(), "nextCmd" );
(void) new KAction( i18n("Step Up"),
"xsldbg_stepup", Key_F6,
- this, SLOT(stepupCmd_activated()),
+ this, TQT_SLOT(stepupCmd_activated()),
actionCollection(), "stepupCmd" );
(void) new KAction( i18n("Step Down"),
"xsldbg_stepdown", Key_F7,
- this, SLOT(stepCmd_activated()),
+ this, TQT_SLOT(stepCmd_activated()),
actionCollection(), "stepdownCmd" );
// Breakpoint commands
(void) new KAction( i18n("Break"),
"xsldbg_break", Key_F2,
- this, SLOT(breakCmd_activated()),
+ this, TQT_SLOT(breakCmd_activated()),
actionCollection(), "breakCmd" );
(void) new KAction( i18n("Enable/Disable"),
"xsldbg_enable", Key_F3,
- this, SLOT(enableCmd_activated()),
+ this, TQT_SLOT(enableCmd_activated()),
actionCollection(), "enableCmd" );
(void) new KAction( i18n("Delete"),
"xsldbg_delete", Key_Delete,
- this, SLOT(deleteCmd_activated()),
+ this, TQT_SLOT(deleteCmd_activated()),
actionCollection(), "deleteCmd" );
(void) new KAction( i18n("&Source"),
"xsldbg_source", Key_S,
- this, SLOT(sourceCmd_activated()),
+ this, TQT_SLOT(sourceCmd_activated()),
actionCollection(), "sourceCmd" );
(void) new KAction( i18n("&Data"),
"xsldbg_data", Key_D,
- this, SLOT(dataCmd_activated()),
+ this, TQT_SLOT(dataCmd_activated()),
actionCollection(), "dataCmd" );
(void) new KAction( i18n("&Output"),
"xsldbg_output", Key_O,
- this, SLOT(outputCmd_activated()),
+ this, TQT_SLOT(outputCmd_activated()),
actionCollection(), "outputCmd" );
(void) new KAction( i18n("Reload Current File From Disk"),
"xsldbg_refresh", CTRL + Key_F5,
- this, SLOT(refreshCmd_activated()),
+ this, TQT_SLOT(refreshCmd_activated()),
actionCollection(), "refreshCmd" );
/* tracing and walking */
(void) new KAction( i18n("Walk Through Stylesheet..."),
Key_W,
- this, SLOT(walkCmd_activated()),
+ this, TQT_SLOT(walkCmd_activated()),
actionCollection(), "walkCmd" );
(void) new KAction( i18n("Stop Wal&king Through Stylesheet"),
Key_K,
- this, SLOT(walkStopCmd_activated()),
+ this, TQT_SLOT(walkStopCmd_activated()),
actionCollection(), "walkStopCmd" );
(void) new KAction( i18n("Tr&ace Execution of Stylesheet"),
Key_A,
- this, SLOT(traceCmd_activated()),
+ this, TQT_SLOT(traceCmd_activated()),
actionCollection(), "traceCmd" );
(void) new KAction( i18n("Stop Tracing of Stylesheet"),
Key_K,
- this, SLOT(traceStopCmd_activated()),
+ this, TQT_SLOT(traceStopCmd_activated()),
actionCollection(), "traceStopCmd" );
(void) new KAction( i18n("&Evaluate Expression..."),
Key_E,
- this, SLOT(evaluateCmd_activated()),
+ this, TQT_SLOT(evaluateCmd_activated()),
actionCollection(), "evaluateCmd" );
(void) new KAction( i18n("Goto &XPath..."),
Key_X,
- this, SLOT(gotoXPathCmd_activated()),
+ this, TQT_SLOT(gotoXPathCmd_activated()),
actionCollection(), "gotoXPathCmd" );
(void) new KAction( i18n("Lookup SystemID..."),
0,
- this, SLOT(slotLookupSystemID()),
+ this, TQT_SLOT(slotLookupSystemID()),
actionCollection(), "lookupSystemID" );
(void) new KAction( i18n("Lookup PublicID..."),
0,
- this, SLOT(slotLookupPublicID()),
+ this, TQT_SLOT(slotLookupPublicID()),
actionCollection(), "lookupPublicID" );
(void) new KAction( i18n("Quit"),
0, CTRL + Key_Q,
- this, SLOT(quit()),
+ this, TQT_SLOT(quit()),
actionCollection(), "file_quit" );
/*
(void) new KAction( i18n("Exit KXsldbg"),
"xsldbg_output", CTRL + Key_Q,
- this, SLOT(exitCmd_activated()),
+ this, TQT_SLOT(exitCmd_activated()),
actionCollection(), "exitCmd" );
*/
- connect( xPathBtn, SIGNAL( clicked() ),
- this, SLOT( slotGotoXPath() ) );
- connect( evaluateBtn, SIGNAL( clicked() ),
- this, SLOT( slotEvaluate() ) );
+ connect( xPathBtn, TQT_SIGNAL( clicked() ),
+ this, TQT_SLOT( slotGotoXPath() ) );
+ connect( evaluateBtn, TQT_SIGNAL( clicked() ),
+ this, TQT_SLOT( slotEvaluate() ) );
/*
- connect( searchBtn, SIGNAL( clicked() ),
- this, SLOT( slotSearch() ) );
+ connect( searchBtn, TQT_SIGNAL( clicked() ),
+ this, TQT_SLOT( slotSearch() ) );
*/
/* We must have a valid debugger and inspector */
createInspector();
@@ -304,7 +304,7 @@ bool KXsldbgPart::openURL(const KURL &url)
/* Don't show the content of URL just loaded it into our data structures */
bool KXsldbgPart::fetchURL(const KURL &url)
{
- QString docID = url.prettyURL();
+ TQString docID = url.prettyURL();
QXsldbgDoc *docPtr = docDictionary[docID];
if (!docPtr){
docPtr = new QXsldbgDoc(mainView, url);
@@ -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, SIGNAL(cursorPositionChanged()), this, SLOT(cursorPositionChanged()));
+ connect(v, TQT_SIGNAL(cursorPositionChanged()), this, TQT_SLOT(cursorPositionChanged()));
}
}
@@ -336,7 +336,7 @@ void KXsldbgPart::fileOpen()
// this slot is called whenever the File->Open menu is selected,
// the Open shortcut is pressed (usually CTRL+O) or the Open toolbar
// button is clicked
- QString file_name = KFileDialog::getOpenFileName();
+ TQString file_name = KFileDialog::getOpenFileName();
if (file_name.isEmpty() == false)
openURL(KURL( file_name ));
@@ -355,16 +355,16 @@ bool KXsldbgPart::checkDebugger()
{
bool result = debugger != 0L;
if (!result){
- QMessageBox::information(0L, i18n("Debugger Not Ready"),
+ TQMessageBox::information(0L, i18n("Debugger Not Ready"),
i18n("Configure and start the debugger first."),
- QMessageBox::Ok);
+ TQMessageBox::Ok);
}
return result;
}
-void KXsldbgPart::lookupSystemID( QString systemID)
+void KXsldbgPart::lookupSystemID( TQString systemID)
{
bool ok = false;
if (!checkDebugger())
@@ -375,13 +375,13 @@ void KXsldbgPart::lookupSystemID( QString systemID)
systemID = KInputDialog::getText(
i18n( "Lookup SystemID" ),
i18n( "Please enter SystemID to find:" ),
- QString::null, &ok,
+ TQString::null, &ok,
mainView);
#else
systemID = QInputDialog::getText(
i18n( "Lookup SystemID" ),
i18n( "Please enter SystemID to find:" ),
- QLineEdit::Normal, QString::null, &ok,
+ TQLineEdit::Normal, TQString::null, &ok,
mainView);
#endif
}else{
@@ -389,14 +389,14 @@ void KXsldbgPart::lookupSystemID( QString systemID)
}
if ( ok && !systemID.isEmpty() ){
// user entered something and pressed ok
- QString msg(QString("system %1").arg(systemID)); // noTr
+ TQString msg(TQString("system %1").arg(systemID)); // noTr
debugger->fakeInput(msg, true);
}
}
-void KXsldbgPart::lookupPublicID(QString publicID)
+void KXsldbgPart::lookupPublicID(TQString publicID)
{
bool ok = false;
if (!checkDebugger())
@@ -407,19 +407,19 @@ void KXsldbgPart::lookupPublicID(QString publicID)
publicID = KInputDialog::getText(
i18n( "Lookup PublicID" ),
i18n( "Please enter PublicID to find:" ),
- QString::null, &ok, mainView );
+ TQString::null, &ok, mainView );
#else
publicID = QInputDialog::getText(
i18n( "Lookup PublicID" ),
i18n( "Please enter PublicID to find:" ),
- QLineEdit::Normal, QString::null, &ok, mainView );
+ TQLineEdit::Normal, TQString::null, &ok, mainView );
#endif
}else{
ok = true;
}
if ( ok && !publicID.isEmpty()){
// user entered something and pressed ok
- QString msg(QString("public %1").arg(publicID)); // noTr
+ TQString msg(TQString("public %1").arg(publicID)); // noTr
debugger->fakeInput(msg, true);
}
}
@@ -470,13 +470,13 @@ void KXsldbgPart::createInspector()
debugger = new XsldbgDebugger();
Q_CHECK_PTR( debugger );
if ( debugger != 0L ) {
- connect(debugger, SIGNAL( debuggerReady()),
- this, SLOT(debuggerStarted()));
+ connect(debugger, TQT_SIGNAL( debuggerReady()),
+ this, TQT_SLOT(debuggerStarted()));
if (outputview){
connect(debugger,
- SIGNAL( showMessage(QString /* msg*/)),
+ TQT_SIGNAL( showMessage(TQString /* msg*/)),
outputview,
- SLOT(slotProcShowMessage(QString /* msg*/)));
+ TQT_SLOT(slotProcShowMessage(TQString /* msg*/)));
}
inspector = new XsldbgInspector( debugger );
Q_CHECK_PTR( inspector );
@@ -484,42 +484,42 @@ void KXsldbgPart::createInspector()
if (inspector != 0L){
/*process line number and/or file name changed */
connect(debugger,
- SIGNAL(lineNoChanged
- (QString /* fileName */ ,
+ TQT_SIGNAL(lineNoChanged
+ (TQString /* fileName */ ,
int /* lineNumber */ ,
bool /* breakpoint */ ) ),
this,
- SLOT(lineNoChanged
- ( QString /* fileName */ ,
+ TQT_SLOT(lineNoChanged
+ ( TQString /* fileName */ ,
int /* lineNumber */ ,
bool /* breakpoint */ ) ) );
connect(debugger,
- SIGNAL(breakpointItem(QString /* fileName*/,
+ TQT_SIGNAL(breakpointItem(TQString /* fileName*/,
int /* lineNumber */,
- QString /*templateName*/,
- QString /* modeName */,
+ TQString /*templateName*/,
+ TQString /* modeName */,
bool /* enabled */,
int /* id */)),
this,
- SLOT( breakpointItem(QString /* fileName*/,
+ TQT_SLOT( breakpointItem(TQString /* fileName*/,
int /* lineNumber */,
- QString /*templateName*/,
- QString /* modeName */,
+ TQString /*templateName*/,
+ TQString /* modeName */,
bool /* enabled */,
int /* id */)));
- connect(debugger, SIGNAL(resolveItem(QString /*URI*/)),
- this, SLOT(slotProcResolveItem(QString /*URI*/)));
+ connect(debugger, TQT_SIGNAL(resolveItem(TQString /*URI*/)),
+ this, TQT_SLOT(slotProcResolveItem(TQString /*URI*/)));
}
}
}
}
-void KXsldbgPart::emitOpenFile(QString file, int line, int row)
+void KXsldbgPart::emitOpenFile(TQString file, int line, int row)
{
- QByteArray params;
- QDataStream stream(params, IO_WriteOnly);
+ TQByteArray params;
+ TQDataStream stream(params, IO_WriteOnly);
stream << file << line << row;
- emitDCOPSignal("openFile(QString,int,int)", params);
+ emitDCOPSignal("openFile(TQString,int,int)", params);
}
void KXsldbgPart::continueCmd_activated()
{
@@ -582,7 +582,7 @@ void KXsldbgPart::refreshCmd_activated()
{
if ( !currentFileName.isEmpty() ){
- QDictIterator<QXsldbgDoc> it(docDictionary);
+ TQDictIterator<QXsldbgDoc> it(docDictionary);
QXsldbgDoc *docPtr;
while (it.current()){
docPtr = it.current();
@@ -619,9 +619,9 @@ void KXsldbgPart::breakCmd_activated()
void KXsldbgPart::evaluateCmd_activated()
{
#if KDE_IS_VERSION(3,1,90)
- QString expression = KInputDialog::getText(i18n("Evalute Expression"), i18n("XPath:"));
+ TQString expression = KInputDialog::getText(i18n("Evalute Expression"), i18n("XPath:"));
#else
- QString expression = KLineEditDlg::getText(i18n("Evalute Expression"), i18n("XPath:"));
+ TQString expression = KLineEditDlg::getText(i18n("Evalute Expression"), i18n("XPath:"));
#endif
if (checkDebugger() && (expression.length() > 0)){
debugger->slotCatCmd( expression);
@@ -631,9 +631,9 @@ void KXsldbgPart::evaluateCmd_activated()
void KXsldbgPart::gotoXPathCmd_activated()
{
#if KDE_IS_VERSION(3,1,90)
- QString xpath = KInputDialog::getText(i18n("Goto XPath"), i18n("XPath:"));
+ TQString xpath = KInputDialog::getText(i18n("Goto XPath"), i18n("XPath:"));
#else
- QString xpath = KLineEditDlg::getText(i18n("Goto XPath"), i18n("XPath:"));
+ TQString xpath = KLineEditDlg::getText(i18n("Goto XPath"), i18n("XPath:"));
#endif
if (checkDebugger() && xpath.length() > 0){
debugger->slotCdCmd( xpath );
@@ -641,7 +641,7 @@ void KXsldbgPart::gotoXPathCmd_activated()
}
void
-KXsldbgPart::lineNoChanged(QString fileName, int lineNumber, bool breakpoint)
+KXsldbgPart::lineNoChanged(TQString fileName, int lineNumber, bool breakpoint)
{
if ( fileName.isEmpty() ) {
kdDebug() << "Empty file Name" << endl; // noTr
@@ -651,7 +651,7 @@ KXsldbgPart::lineNoChanged(QString fileName, int lineNumber, bool breakpoint)
openURL(fileName);
QXsldbgDoc *docPtr;
- QDictIterator<QXsldbgDoc> it(docDictionary);
+ TQDictIterator<QXsldbgDoc> it(docDictionary);
while (it.current()){
docPtr = it.current();
// cause all Execution and BreakpointReached marks to be cleared
@@ -661,10 +661,10 @@ KXsldbgPart::lineNoChanged(QString fileName, int lineNumber, bool breakpoint)
/* Did we stop at a breakpoint if so move the marker */
if (currentDoc) {
currentDoc->selectBreakPoint(lineNumber -1, breakpoint);
- QByteArray params;
- QDataStream stream(params, IO_WriteOnly);
+ TQByteArray params;
+ TQDataStream stream(params, IO_WriteOnly);
stream << currentFileName << lineNumber;
- emitDCOPSignal("debuggerPositionChanged(QString,int)", params);
+ emitDCOPSignal("debuggerPositionChanged(TQString,int)", params);
}else {
qWarning("Unable to retrieve document from internal cache");
}
@@ -688,10 +688,10 @@ void KXsldbgPart::cursorPositionChanged()
viewCurIf->cursorPosition(&currentLineNo, &currentColumnNo);
currentLineNo++;
currentColumnNo++;
- QByteArray params;
- QDataStream stream(params, IO_WriteOnly);
+ TQByteArray params;
+ TQDataStream stream(params, IO_WriteOnly);
stream << currentFileName << currentLineNo << currentColumnNo;
- emitDCOPSignal("editorPositionChanged(QString,int,int)", params);
+ emitDCOPSignal("editorPositionChanged(TQString,int,int)", params);
}
}
}
@@ -708,14 +708,14 @@ void KXsldbgPart::debuggerStarted()
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
if (args){
int i=0, result=1, noFilesFound = 0;
- QString expandedName; /* contains file name with path expansion if any */
+ TQString expandedName; /* contains file name with path expansion if any */
for (i = 0; i < args->count(); i++) {
if (!result)
break;
if (args->arg(i)[0] != '-') {
- expandedName = QString::fromUtf8((const char*)filesExpandName((const xmlChar*)args->arg(i)));
+ expandedName = TQString::fromUtf8((const char*)filesExpandName((const xmlChar*)args->arg(i)));
if (expandedName.isEmpty()) {
result = 0;
break;
@@ -774,7 +774,7 @@ void KXsldbgPart::deleteBreakPoint(int lineNumber)
void KXsldbgPart::slotSearch()
{
if ((newSearch != 0L) && checkDebugger() ) {
- QString msg(QString("search \"%1\"").arg(newSearch->text())); // noTr
+ TQString msg(TQString("search \"%1\"").arg(newSearch->text())); // noTr
debugger->fakeInput(msg, false);
}
}
@@ -796,23 +796,23 @@ void KXsldbgPart::slotGotoXPath()
-void KXsldbgPart::slotProcResolveItem(QString URI)
+void KXsldbgPart::slotProcResolveItem(TQString URI)
{
if (!URI.isEmpty()){
- QMessageBox::information(mainView, i18n("SystemID or PublicID Resolution Result"),
+ TQMessageBox::information(mainView, i18n("SystemID or PublicID Resolution Result"),
i18n("SystemID or PublicID has been resolved to\n.%1").arg(URI),
- QMessageBox::Ok);
+ TQMessageBox::Ok);
}
}
-void KXsldbgPart::breakpointItem(QString fileName, int lineNumber ,
- QString /*templateName*/, QString /* modeName */,
+void KXsldbgPart::breakpointItem(TQString fileName, int lineNumber ,
+ TQString /*templateName*/, TQString /* modeName */,
bool enabled , int /* id */)
{
if (fileName == 0L){
/* Go through all documents and remove all breakpoints */
- QDictIterator<QXsldbgDoc> it(docDictionary);
+ TQDictIterator<QXsldbgDoc> it(docDictionary);
QXsldbgDoc *docPtr;
while (it.current()){
docPtr = it.current();