diff options
Diffstat (limited to 'kxsldbg/kxsldbgpart/qxsldbgdoc.cpp')
-rw-r--r-- | kxsldbg/kxsldbgpart/qxsldbgdoc.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp b/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp index 69105338..1b8d2df3 100644 --- a/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp +++ b/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp @@ -8,26 +8,26 @@ #include "qxsldbgdoc.h" #include <ktexteditor/markinterface.h> #include <ktexteditor/editorchooser.h> -#include <qfile.h> -#include <qdir.h> -#include <qtextstream.h> -#include <qptrlist.h> +#include <tqfile.h> +#include <tqdir.h> +#include <tqtextstream.h> +#include <tqptrlist.h> -QXsldbgDoc::QXsldbgDoc(QWidget *parent, KURL url) - : QObject(0L, "QXsldbgDoc"), kDoc(0L),kView(0L), locked(false) +QXsldbgDoc::QXsldbgDoc(TQWidget *parent, KURL url) + : TQObject(0L, "QXsldbgDoc"), kDoc(0L),kView(0L), locked(false) { kDoc = KTextEditor::createDocument("libkatepart", 0L,"KTextEditor::Document"); - connect(kDoc, SIGNAL(started(KIO::Job *)), this, SLOT(lockDoc())); - connect(kDoc, SIGNAL(completed()), this, SLOT(unlockDoc())); + connect(kDoc, TQT_SIGNAL(started(KIO::Job *)), this, TQT_SLOT(lockDoc())); + connect(kDoc, TQT_SIGNAL(completed()), this, TQT_SLOT(unlockDoc())); if (kDoc){ kView = kDoc->createView(parent, "QXsldbgDocView"); KURL cleanUrl; // convert paths relative to PWD into a absolute path - QString relUrl = url.prettyURL(); + TQString relUrl = url.prettyURL(); if (!relUrl.contains(":/")){ if (!(relUrl.left(1) == "/")) - relUrl.prepend(QDir::currentDirPath() + "/"); + relUrl.prepend(TQDir::currentDirPath() + "/"); cleanUrl.setFileName(relUrl); }else{ cleanUrl = url; @@ -121,7 +121,7 @@ void QXsldbgDoc::clearMarks(bool allMarkTypes) KTextEditor::MarkInterface *markIf = KTextEditor::markInterface(kDoc); if (markIf){ if (!allMarkTypes){ - QPtrList<KTextEditor::Mark> marks = markIf->marks(); + TQPtrList<KTextEditor::Mark> marks = markIf->marks(); while ( marks.current()) { markIf->removeMark(marks.current()->line, KTextEditor::MarkInterface::Execution); markIf->removeMark(marks.current()->line, KTextEditor::MarkInterface::BreakpointReached); |