summaryrefslogtreecommitdiffstats
path: root/quanta/components/debugger/debuggerbreakpointview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/debugger/debuggerbreakpointview.cpp')
-rw-r--r--quanta/components/debugger/debuggerbreakpointview.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/quanta/components/debugger/debuggerbreakpointview.cpp b/quanta/components/debugger/debuggerbreakpointview.cpp
index 2f7eea36..8614bc28 100644
--- a/quanta/components/debugger/debuggerbreakpointview.cpp
+++ b/quanta/components/debugger/debuggerbreakpointview.cpp
@@ -52,7 +52,7 @@ DebuggerBreakpointViewItem::DebuggerBreakpointViewItem(DebuggerBreakpointView* v
}
-DebuggerBreakpointView::DebuggerBreakpointView(QWidget *parent, const char *name)
+DebuggerBreakpointView::DebuggerBreakpointView(TQWidget *parent, const char *name)
: KListView(parent, name)
{
// If you change here, change the DebuggerBreakpointViewColumns enums above
@@ -63,16 +63,16 @@ DebuggerBreakpointView::DebuggerBreakpointView(QWidget *parent, const char *name
addColumn(i18n("Line"));
addColumn(i18n("Value"));
- setResizeMode(QListView::AllColumns);
+ setResizeMode(TQListView::AllColumns);
setAllColumnsShowFocus(true);
m_breakpointPopup = new KPopupMenu(this);
- m_breakpointPopup->insertItem(SmallIcon("editdelete"), i18n("&Remove"), this, SLOT(slotRemoveSelected()));
+ m_breakpointPopup->insertItem(SmallIcon("editdelete"), i18n("&Remove"), this, TQT_SLOT(slotRemoveSelected()));
- connect(this, SIGNAL( contextMenu( KListView *, QListViewItem *, const QPoint & ) ), this, SLOT(slotBreakpointContextMenu(KListView *, QListViewItem *, const QPoint &)));
+ connect(this, TQT_SIGNAL( contextMenu( KListView *, TQListViewItem *, const TQPoint & ) ), this, TQT_SLOT(slotBreakpointContextMenu(KListView *, TQListViewItem *, const TQPoint &)));
// Jump to bp
- connect(this, SIGNAL( doubleClicked( QListViewItem *, const QPoint &, int) ), this, SLOT(slotBreakpointDoubleClick( QListViewItem *, const QPoint &, int)));
+ connect(this, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQT_SLOT(slotBreakpointDoubleClick( TQListViewItem *, const TQPoint &, int)));
}
@@ -81,7 +81,7 @@ DebuggerBreakpointView::~DebuggerBreakpointView()
void DebuggerBreakpointView::deleteBreakpoint(const DebuggerBreakpoint &bp)
{
- QListViewItem *item = findBreakpoint(bp, false);
+ TQListViewItem *item = findBreakpoint(bp, false);
if(item)
{
delete item;
@@ -91,14 +91,14 @@ void DebuggerBreakpointView::deleteBreakpoint(const DebuggerBreakpoint &bp)
void DebuggerBreakpointView::showBreakpoint(const DebuggerBreakpoint &bp)
{
- QListViewItem *item = findBreakpoint(bp);
+ TQListViewItem *item = findBreakpoint(bp);
if(!item)
return;
if(bp.type() == DebuggerBreakpoint::LineBreakpoint)
{
item->setText(DebuggerBreakpointViewColumns::Value, "");
- item->setText(DebuggerBreakpointViewColumns::Line, QString::number(bp.line() + 1));
+ item->setText(DebuggerBreakpointViewColumns::Line, TQString::number(bp.line() + 1));
}
else
{
@@ -111,7 +111,7 @@ void DebuggerBreakpointView::showBreakpoint(const DebuggerBreakpoint &bp)
item->setText(DebuggerBreakpointViewColumns::Function, bp.inFunction());
}
-QListViewItem* DebuggerBreakpointView::findBreakpoint(const DebuggerBreakpoint& bp, bool addIfNotExist)
+TQListViewItem* DebuggerBreakpointView::findBreakpoint(const DebuggerBreakpoint& bp, bool addIfNotExist)
{
// Find the old item if its there
DebuggerBreakpointViewItem* item = dynamic_cast<DebuggerBreakpointViewItem*>(firstChild());
@@ -152,7 +152,7 @@ void DebuggerBreakpointView::slotRemoveSelected()
emit removeBreakpoint(&bp);
}
-void DebuggerBreakpointView::keyPressEvent(QKeyEvent *e)
+void DebuggerBreakpointView::keyPressEvent(TQKeyEvent *e)
{
if(e->key() != Qt::Key_Delete)
{
@@ -168,7 +168,7 @@ void DebuggerBreakpointView::clear()
KListView::clear();
}
-void DebuggerBreakpointView::slotBreakpointDoubleClick(QListViewItem *item, const QPoint &, int )
+void DebuggerBreakpointView::slotBreakpointDoubleClick(TQListViewItem *item, const TQPoint &, int )
{
if(!item)
return;
@@ -182,7 +182,7 @@ void DebuggerBreakpointView::slotBreakpointDoubleClick(QListViewItem *item, cons
}
-void DebuggerBreakpointView::slotBreakpointContextMenu(KListView *, QListViewItem *, const QPoint& point)
+void DebuggerBreakpointView::slotBreakpointContextMenu(KListView *, TQListViewItem *, const TQPoint& point)
{
if(!selectedItem())
return;