summaryrefslogtreecommitdiffstats
path: root/parts/replace/replaceitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/replace/replaceitem.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;