summaryrefslogtreecommitdiffstats
path: root/languages/lib/debugger/debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/lib/debugger/debugger.cpp')
-rw-r--r--languages/lib/debugger/debugger.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/languages/lib/debugger/debugger.cpp b/languages/lib/debugger/debugger.cpp
index 92765efe..5d33ee8c 100644
--- a/languages/lib/debugger/debugger.cpp
+++ b/languages/lib/debugger/debugger.cpp
@@ -16,8 +16,8 @@ Debugger *Debugger::s_instance = 0;
Debugger::Debugger(KDevPartController *partController)
:m_partController(partController)
{
- connect( m_partController, SIGNAL(partAdded(KParts::Part*)),
- this, SLOT(partAdded(KParts::Part*)) );
+ connect( m_partController, TQT_SIGNAL(partAdded(KParts::Part*)),
+ this, TQT_SLOT(partAdded(KParts::Part*)) );
}
@@ -34,7 +34,7 @@ Debugger::~Debugger()
// }
-void Debugger::setBreakpoint(const QString &fileName, int lineNum, int id, bool enabled, bool pending)
+void Debugger::setBreakpoint(const TQString &fileName, int lineNum, int id, bool enabled, bool pending)
{
KParts::Part *part = m_partController->partForURL(KURL(fileName));
if( !part )
@@ -46,11 +46,11 @@ void Debugger::setBreakpoint(const QString &fileName, int lineNum, int id, bool
// Temporarily disconnect so we don't get confused by receiving extra
// marksChanged signals
- disconnect( part, SIGNAL(marksChanged()), this, SLOT(marksChanged()) );
+ disconnect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) );
iface->removeMark( lineNum, Breakpoint | ActiveBreakpoint | ReachedBreakpoint | DisabledBreakpoint );
BPItem bpItem(fileName, lineNum);
- QValueList<BPItem>::Iterator it = BPList.find(bpItem);
+ TQValueList<BPItem>::Iterator it = BPList.find(bpItem);
if (it != BPList.end())
{
// kdDebug(9012) << "Removing BP=" << fileName << ":" << lineNum << endl;
@@ -71,21 +71,21 @@ void Debugger::setBreakpoint(const QString &fileName, int lineNum, int id, bool
BPList.append(BPItem(fileName, lineNum));
}
- connect( part, SIGNAL(marksChanged()), this, SLOT(marksChanged()) );
+ connect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) );
}
void Debugger::clearExecutionPoint()
{
- QPtrListIterator<KParts::Part> it(*m_partController->parts());
+ TQPtrListIterator<KParts::Part> it(*m_partController->parts());
for ( ; it.current(); ++it)
{
MarkInterface *iface = dynamic_cast<MarkInterface*>(it.current());
if (!iface)
continue;
- QPtrList<Mark> list = iface->marks();
- QPtrListIterator<Mark> markIt(list);
+ TQPtrList<Mark> list = iface->marks();
+ TQPtrListIterator<Mark> markIt(list);
for( ; markIt.current(); ++markIt )
{
Mark* mark = markIt.current();
@@ -125,8 +125,8 @@ void Debugger::marksChanged()
return; // Probably means the document is being closed.
KTextEditor::Mark *m;
- QValueList<BPItem> oldBPList = BPList;
- QPtrList<KTextEditor::Mark> newMarks = iface->marks();
+ TQValueList<BPItem> oldBPList = BPList;
+ TQPtrList<KTextEditor::Mark> newMarks = iface->marks();
// Compare the oldBPlist to the new list from the editor.
//
@@ -203,7 +203,7 @@ void Debugger::partAdded( KParts::Part* part )
iface->setPixmap((MarkInterface::MarkTypes)ExecutionPoint, *executionPointPixmap());
iface->setMarksUserChangable( Bookmark | Breakpoint );
- connect( part, SIGNAL(marksChanged()), this, SLOT(marksChanged()) );
+ connect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) );
}
#include "debugger.moc"