diff options
Diffstat (limited to 'parts/replace/replaceitem.h')
-rw-r--r-- | parts/replace/replaceitem.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/replace/replaceitem.h b/parts/replace/replaceitem.h index 8d4f3fd3..aa8f1700 100644 --- a/parts/replace/replaceitem.h +++ b/parts/replace/replaceitem.h @@ -22,8 +22,8 @@ class ReplaceItem : public TQCheckListItem { public: // the file item - ReplaceItem( ReplaceView * tqparent, ReplaceItem * after, TQString file ) : - TQCheckListItem( tqparent, + ReplaceItem( ReplaceView * parent, ReplaceItem * after, TQString file ) : + TQCheckListItem( parent, after, file, TQCheckListItem::CheckBox ), _file( file ), _string( file ), _line( 0 ), _isfile( true ), @@ -34,8 +34,8 @@ public: } // the line item - ReplaceItem( ReplaceItem * tqparent, ReplaceItem * after, TQString file, TQString string, int line ) : - TQCheckListItem( tqparent, + ReplaceItem( ReplaceItem * parent, ReplaceItem * after, TQString file, TQString string, int line ) : + TQCheckListItem( parent, after, TQString::number( line + 1 ) + ": " + string, TQCheckListItem::CheckBox ), _file( file ), _string( string ), _line( line ), _isfile( false ), @@ -76,9 +76,9 @@ public: return _lineclicked; } - ReplaceItem * tqparent() const + ReplaceItem * parent() const { - return static_cast<ReplaceItem*>( TQListViewItem::tqparent() ); + return static_cast<ReplaceItem*>( TQListViewItem::parent() ); } ReplaceItem * firstChild() const |