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.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp b/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
index c57dd521..690847e8 100644
--- a/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
+++ b/kxsldbg/kxsldbgpart/qxsldbgdoc.cpp
@@ -14,14 +14,14 @@
#include <tqptrlist.h>
-TQXsldbgDoc::TQXsldbgDoc(TQWidget *tqparent, KURL url)
- : TQObject(0L, "TQXsldbgDoc"), kDoc(0L),kView(0L), locked(false)
+QXsldbgDoc::QXsldbgDoc(TQWidget *tqparent, KURL url)
+ : TQObject(0L, "QXsldbgDoc"), 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(tqparent, "TQXsldbgDocView");
+ kView = kDoc->createView(tqparent, "QXsldbgDocView");
KURL cleanUrl;
// convert paths relative to PWD into a absolute path
TQString relUrl = url.prettyURL();
@@ -37,7 +37,7 @@ TQXsldbgDoc::TQXsldbgDoc(TQWidget *tqparent, KURL url)
}
-TQXsldbgDoc::~TQXsldbgDoc()
+QXsldbgDoc::~QXsldbgDoc()
{
if (kDoc){
if (kDoc->views().count() == 1){
@@ -47,7 +47,7 @@ TQXsldbgDoc::~TQXsldbgDoc()
}
}
-void TQXsldbgDoc::slotResult( KIO::Job *job )
+void QXsldbgDoc::slotResult( KIO::Job *job )
{
if ( job->error() != 0 ){
}else{
@@ -55,7 +55,7 @@ void TQXsldbgDoc::slotResult( KIO::Job *job )
emit docChanged();
}
-KURL TQXsldbgDoc::url() const
+KURL QXsldbgDoc::url() const
{
if (kDoc)
return kDoc->url();
@@ -63,7 +63,7 @@ KURL TQXsldbgDoc::url() const
return KURL();
}
-void TQXsldbgDoc::refresh()
+void QXsldbgDoc::refresh()
{
if (kDoc){
KURL lastUrl = kDoc->url();
@@ -73,7 +73,7 @@ void TQXsldbgDoc::refresh()
}
-void TQXsldbgDoc::enableBreakPoint(uint lineNumber, bool state)
+void QXsldbgDoc::enableBreakPoint(uint lineNumber, bool state)
{
if (locked)
return;
@@ -88,7 +88,7 @@ void TQXsldbgDoc::enableBreakPoint(uint lineNumber, bool state)
}
}
-void TQXsldbgDoc::addBreakPoint(uint lineNumber, bool enabled)
+void QXsldbgDoc::addBreakPoint(uint lineNumber, bool enabled)
{
if (locked)
return;
@@ -102,7 +102,7 @@ void TQXsldbgDoc::addBreakPoint(uint lineNumber, bool enabled)
}
}
-void TQXsldbgDoc::deleteBreakPoint(uint lineNumber)
+void QXsldbgDoc::deleteBreakPoint(uint lineNumber)
{
if (locked)
return;
@@ -113,7 +113,7 @@ void TQXsldbgDoc::deleteBreakPoint(uint lineNumber)
}
-void TQXsldbgDoc::clearMarks(bool allMarkTypes)
+void QXsldbgDoc::clearMarks(bool allMarkTypes)
{
if (locked)
return;
@@ -134,7 +134,7 @@ void TQXsldbgDoc::clearMarks(bool allMarkTypes)
}
-void TQXsldbgDoc::selectBreakPoint(uint lineNumber, bool reachedBreakPoint)
+void QXsldbgDoc::selectBreakPoint(uint lineNumber, bool reachedBreakPoint)
{
if (locked)
return;
@@ -150,12 +150,12 @@ void TQXsldbgDoc::selectBreakPoint(uint lineNumber, bool reachedBreakPoint)
}
}
-void TQXsldbgDoc::lockDoc()
+void QXsldbgDoc::lockDoc()
{
locked = true;
}
-void TQXsldbgDoc::unlockDoc()
+void QXsldbgDoc::unlockDoc()
{
locked = false;
}