diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
commit | dc6b8e72fed2586239e3514819238c520636c9d9 (patch) | |
tree | 88b200df0a0b7fab9d6f147596173556f1ed9a13 /kxsldbg/kxsldbgpart/xsldbgcallstackimpl.cpp | |
parent | 6927d4436e54551917f600b706a8d6109e49de1c (diff) | |
download | tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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){ |