diff options
Diffstat (limited to 'kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp')
-rw-r--r-- | kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp index 5592e4e6..9a500b6c 100644 --- a/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp +++ b/kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp @@ -14,23 +14,23 @@ * (at your option) any later version. * * * ***************************************************************************/ -#include <qlistview.h> -#include <qlineedit.h> +#include <tqlistview.h> +#include <tqlineedit.h> #include "xsldbgdebugger.h" #include "xsldbgcallstackimpl.h" #include "xsldbggloballistitem.h" /* reuse global list item variable as a template list item */ XsldbgCallStackImpl::XsldbgCallStackImpl(XsldbgDebugger *debugger, - QWidget *parent /*=0*/, const char *name /*=0*/) + TQWidget *parent /*=0*/, const char *name /*=0*/) : XsldbgCallStack(parent, name), XsldbgDialogBase() { this->debugger = debugger; - connect(debugger, SIGNAL(callStackItem(QString /* templateName*/, QString /* fileName */, int /* lineNumber */)), - this, SLOT(slotProcCallStackItem(QString /* templateName*/, QString /* fileName */, int /* lineNumber */))); - connect( callStackListView, SIGNAL(selectionChanged(QListViewItem *)), - this, SLOT(selectionChanged(QListViewItem*))); + connect(debugger, TQT_SIGNAL(callStackItem(TQString /* templateName*/, TQString /* fileName */, int /* lineNumber */)), + this, TQT_SLOT(slotProcCallStackItem(TQString /* templateName*/, TQString /* fileName */, int /* lineNumber */))); + connect( callStackListView, TQT_SIGNAL(selectionChanged(TQListViewItem *)), + this, TQT_SLOT(selectionChanged(TQListViewItem*))); show(); refresh(); @@ -40,7 +40,7 @@ XsldbgCallStackImpl::~XsldbgCallStackImpl(){ debugger = 0L; } -void XsldbgCallStackImpl::slotProcCallStackItem(QString templateName, QString fileName , int lineNumber ) +void XsldbgCallStackImpl::slotProcCallStackItem(TQString templateName, TQString fileName , int lineNumber ) { static int frameNo =0; if (templateName.isNull()){ @@ -49,12 +49,12 @@ void XsldbgCallStackImpl::slotProcCallStackItem(QString templateName, QString }else{ /* each stack entry will have a FRAME# prefix */ callStackListView->insertItem(new XsldbgGlobalListItem(callStackListView, - fileName, lineNumber, templateName.prepend(QString::number(frameNo++)+ "# "))); + fileName, lineNumber, templateName.prepend(TQString::number(frameNo++)+ "# "))); } } -void XsldbgCallStackImpl::selectionChanged(QListViewItem *item) +void XsldbgCallStackImpl::selectionChanged(TQListViewItem *item) { XsldbgGlobalListItem *callStackItem = dynamic_cast<XsldbgGlobalListItem*>(item); if (callStackItem){ |