summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kxsldbg/kxsldbgpart/qxsldbgdoc.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/qxsldbgdoc.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp b/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
index 1b8d2df3..c57dd521 100644
--- a/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
+++ b/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
@@ -14,18 +14,18 @@
#include <tqptrlist.h>
-QXsldbgDoc::QXsldbgDoc(TQWidget *parent, KURL url)
- : TQObject(0L, "QXsldbgDoc"), kDoc(0L),kView(0L), locked(false)
+TQXsldbgDoc::TQXsldbgDoc(TQWidget *tqparent, KURL url)
+ : TQObject(0L, "TQXsldbgDoc"), kDoc(0L),kView(0L), locked(false)
{
kDoc = KTextEditor::createDocument("libkatepart", 0L,"KTextEditor::Document");
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");
+ kView = kDoc->createView(tqparent, "TQXsldbgDocView");
KURL cleanUrl;
// convert paths relative to PWD into a absolute path
TQString relUrl = url.prettyURL();
- if (!relUrl.contains(":/")){
+ if (!relUrl.tqcontains(":/")){
if (!(relUrl.left(1) == "/"))
relUrl.prepend(TQDir::currentDirPath() + "/");
cleanUrl.setFileName(relUrl);
@@ -37,7 +37,7 @@ QXsldbgDoc::QXsldbgDoc(TQWidget *parent, KURL url)
}
-QXsldbgDoc::~QXsldbgDoc()
+TQXsldbgDoc::~TQXsldbgDoc()
{
if (kDoc){
if (kDoc->views().count() == 1){
@@ -47,7 +47,7 @@ QXsldbgDoc::~QXsldbgDoc()
}
}
-void QXsldbgDoc::slotResult( KIO::Job *job )
+void TQXsldbgDoc::slotResult( KIO::Job *job )
{
if ( job->error() != 0 ){
}else{
@@ -55,7 +55,7 @@ void QXsldbgDoc::slotResult( KIO::Job *job )
emit docChanged();
}
-KURL QXsldbgDoc::url() const
+KURL TQXsldbgDoc::url() const
{
if (kDoc)
return kDoc->url();
@@ -63,7 +63,7 @@ KURL QXsldbgDoc::url() const
return KURL();
}
-void QXsldbgDoc::refresh()
+void TQXsldbgDoc::refresh()
{
if (kDoc){
KURL lastUrl = kDoc->url();
@@ -73,7 +73,7 @@ void QXsldbgDoc::refresh()
}
-void QXsldbgDoc::enableBreakPoint(uint lineNumber, bool state)
+void TQXsldbgDoc::enableBreakPoint(uint lineNumber, bool state)
{
if (locked)
return;
@@ -88,7 +88,7 @@ void QXsldbgDoc::enableBreakPoint(uint lineNumber, bool state)
}
}
-void QXsldbgDoc::addBreakPoint(uint lineNumber, bool enabled)
+void TQXsldbgDoc::addBreakPoint(uint lineNumber, bool enabled)
{
if (locked)
return;
@@ -102,7 +102,7 @@ void QXsldbgDoc::addBreakPoint(uint lineNumber, bool enabled)
}
}
-void QXsldbgDoc::deleteBreakPoint(uint lineNumber)
+void TQXsldbgDoc::deleteBreakPoint(uint lineNumber)
{
if (locked)
return;
@@ -113,7 +113,7 @@ void QXsldbgDoc::deleteBreakPoint(uint lineNumber)
}
-void QXsldbgDoc::clearMarks(bool allMarkTypes)
+void TQXsldbgDoc::clearMarks(bool allMarkTypes)
{
if (locked)
return;
@@ -134,7 +134,7 @@ void QXsldbgDoc::clearMarks(bool allMarkTypes)
}
-void QXsldbgDoc::selectBreakPoint(uint lineNumber, bool reachedBreakPoint)
+void TQXsldbgDoc::selectBreakPoint(uint lineNumber, bool reachedBreakPoint)
{
if (locked)
return;
@@ -150,12 +150,12 @@ void QXsldbgDoc::selectBreakPoint(uint lineNumber, bool reachedBreakPoint)
}
}
-void QXsldbgDoc::lockDoc()
+void TQXsldbgDoc::lockDoc()
{
locked = true;
}
-void QXsldbgDoc::unlockDoc()
+void TQXsldbgDoc::unlockDoc()
{
locked = false;
}