summaryrefslogtreecommitdiffstats
path: root/quanta/components/debugger/backtracelistview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/components/debugger/backtracelistview.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-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 'quanta/components/debugger/backtracelistview.cpp')
-rw-r--r--quanta/components/debugger/backtracelistview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/quanta/components/debugger/backtracelistview.cpp b/quanta/components/debugger/backtracelistview.cpp
index aa5c8c95..202e86e0 100644
--- a/quanta/components/debugger/backtracelistview.cpp
+++ b/quanta/components/debugger/backtracelistview.cpp
@@ -49,7 +49,7 @@ BacktraceListviewItem::BacktraceListviewItem(BacktraceListview* view)
}
-BacktraceListview::BacktraceListview(QWidget *parent, const char *name)
+BacktraceListview::BacktraceListview(TQWidget *parent, const char *name)
: KListView(parent, name)
{
int charwidth = this->fontMetrics().width("0");
@@ -64,14 +64,14 @@ BacktraceListview::BacktraceListview(QWidget *parent, const char *name)
setAllColumnsShowFocus(true);
// Jump to bt
- connect(this, SIGNAL( doubleClicked( QListViewItem *, const QPoint &, int) ), this, SLOT(slotBacktraceDoubleClick( QListViewItem *, const QPoint &, int)));
+ connect(this, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQT_SLOT(slotBacktraceDoubleClick( TQListViewItem *, const TQPoint &, int)));
}
BacktraceListview::~BacktraceListview()
{}
-void BacktraceListview::backtraceShow(int level, BacktraceType type, const QString& filename, long line, const QString& func)
+void BacktraceListview::backtraceShow(int level, BacktraceType type, const TQString& filename, long line, const TQString& func)
{
BacktraceListviewItem* item = new BacktraceListviewItem(this);
item->setLevel(level);
@@ -82,14 +82,14 @@ void BacktraceListview::backtraceShow(int level, BacktraceType type, const QStri
item->setText(BacktraceListviewColumns::File, filename);
item->setText(BacktraceListviewColumns::Function, func);
- item->setText(BacktraceListviewColumns::Level, QString::number(level));
- item->setText(BacktraceListviewColumns::Line, QString::number(line + 1));
+ item->setText(BacktraceListviewColumns::Level, TQString::number(level));
+ item->setText(BacktraceListviewColumns::Line, TQString::number(line + 1));
item->setText(BacktraceListviewColumns::Type, type == File ? i18n("File") : i18n("Eval"));
insertItem(item);
}
-void BacktraceListview::keyPressEvent(QKeyEvent *e)
+void BacktraceListview::keyPressEvent(TQKeyEvent *e)
{
if(e->key() != Qt::Key_Enter)
{
@@ -106,7 +106,7 @@ void BacktraceListview::clear()
KListView::clear();
}
-void BacktraceListview::slotBacktraceDoubleClick(QListViewItem *item, const QPoint &, int )
+void BacktraceListview::slotBacktraceDoubleClick(TQListViewItem *item, const TQPoint &, int )
{
if(!item)
return;
@@ -114,7 +114,7 @@ void BacktraceListview::slotBacktraceDoubleClick(QListViewItem *item, const QPoi
jumpHistory(item);
}
-void BacktraceListview::jumpHistory(QListViewItem *item)
+void BacktraceListview::jumpHistory(TQListViewItem *item)
{
BacktraceListviewItem* btitem = dynamic_cast<BacktraceListviewItem*>(item);