summaryrefslogtreecommitdiffstats
path: root/parts/replace/replaceitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'parts/replace/replaceitem.h')
-rw-r--r--parts/replace/replaceitem.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/parts/replace/replaceitem.h b/parts/replace/replaceitem.h
index a6bc8ffb..4cea682c 100644
--- a/parts/replace/replaceitem.h
+++ b/parts/replace/replaceitem.h
@@ -22,10 +22,10 @@ class ReplaceItem : public QCheckListItem
{
public:
// the file item
- ReplaceItem( ReplaceView * parent, ReplaceItem * after, QString file ) :
- QCheckListItem( parent,
+ ReplaceItem( ReplaceView * parent, ReplaceItem * after, TQString file ) :
+ TQCheckListItem( parent,
after,
- file, QCheckListItem::CheckBox ),
+ file, TQCheckListItem::CheckBox ),
_file( file ), _string( file ), _line( 0 ), _isfile( true ),
_lineclicked( false ), _clicked( true )
{
@@ -34,17 +34,17 @@ public:
}
// the line item
- ReplaceItem( ReplaceItem * parent, ReplaceItem * after, QString file, QString string, int line ) :
- QCheckListItem( parent,
+ ReplaceItem( ReplaceItem * parent, ReplaceItem * after, TQString file, TQString string, int line ) :
+ TQCheckListItem( parent,
after,
- QString::number( line + 1 ) + ": " + string, QCheckListItem::CheckBox ),
+ TQString::number( line + 1 ) + ": " + string, TQCheckListItem::CheckBox ),
_file( file ), _string( string ), _line( line ), _isfile( false ),
_lineclicked( false ), _clicked( true )
{
setOn( true );
}
- QString const & file() const
+ TQString const & file() const
{
return _file;
}
@@ -54,7 +54,7 @@ public:
return _line;
}
- QString const & string() const
+ TQString const & string() const
{
return _string;
}
@@ -78,31 +78,31 @@ public:
ReplaceItem * parent() const
{
- return static_cast<ReplaceItem*>( QListViewItem::parent() );
+ return static_cast<ReplaceItem*>( TQListViewItem::parent() );
}
ReplaceItem * firstChild() const
{
- return static_cast<ReplaceItem*>( QListViewItem::firstChild() );
+ return static_cast<ReplaceItem*>( TQListViewItem::firstChild() );
}
ReplaceItem * nextSibling() const
{
- return static_cast<ReplaceItem*>( QListViewItem::nextSibling() );
+ return static_cast<ReplaceItem*>( TQListViewItem::nextSibling() );
}
- void activate( int column, QPoint const & localPos );
+ void activate( int column, TQPoint const & localPos );
bool hasCheckedChildren() const;
virtual void stateChange( bool state );
static bool s_listview_done;
private:
- void paintCell( QPainter * p, const QColorGroup & cg, int column, int width, int align );
+ void paintCell( TQPainter * p, const TQColorGroup & cg, int column, int width, int align );
void setChecked( bool checked );
- QString _file;
- QString _string;
+ TQString _file;
+ TQString _string;
int _line;
bool const _isfile;
bool _lineclicked;