summaryrefslogtreecommitdiffstats
path: root/parts/valgrind/valgrind_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/valgrind/valgrind_widget.cpp')
-rw-r--r--parts/valgrind/valgrind_widget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/valgrind/valgrind_widget.cpp b/parts/valgrind/valgrind_widget.cpp
index 39c51094..00eca21e 100644
--- a/parts/valgrind/valgrind_widget.cpp
+++ b/parts/valgrind/valgrind_widget.cpp
@@ -21,18 +21,18 @@
#define VALLISTVIEWITEMRTTI 130977
// helper class to sort the ListView by item number instead of the string representation of the item number
-class ValListViewItem: public QListViewItem
+class ValListViewItem: public TQListViewItem
{
public:
- ValListViewItem( TQListView* parent, int key, int pid, const TQString& message ):
- TQListViewItem( parent, TQString::number( key ), TQString::number( pid ), message ),
+ ValListViewItem( TQListView* tqparent, int key, int pid, const TQString& message ):
+ TQListViewItem( tqparent, TQString::number( key ), TQString::number( pid ), message ),
_key( key ), _pid ( pid ), backtrace( false ), _line( -1 ), _active( false ) {}
- ValListViewItem( ValListViewItem* parent, int key, int pid, const TQString& message, const TQString& filename, int line, bool active ):
- TQListViewItem( parent, TQString::number( key ), TQString::null, message ),
+ ValListViewItem( ValListViewItem* tqparent, int key, int pid, const TQString& message, const TQString& filename, int line, bool active ):
+ TQListViewItem( tqparent, TQString::number( key ), TQString(), message ),
_key( key ), _pid( pid ), backtrace( true ), _filename( filename ), _line( line ), _active( active )
{
- if ( parent->_pid != _pid && _pid > 0 )
+ if ( tqparent->_pid != _pid && _pid > 0 )
setText( 1, TQString::number( _pid ) );
}