summaryrefslogtreecommitdiffstats
path: root/parts/replace/replaceitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/replace/replaceitem.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/replace/replaceitem.h')
-rw-r--r--parts/replace/replaceitem.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/parts/replace/replaceitem.h b/parts/replace/replaceitem.h
index 4cea682c..8d4f3fd3 100644
--- a/parts/replace/replaceitem.h
+++ b/parts/replace/replaceitem.h
@@ -18,12 +18,12 @@
#include "replaceview.h"
-class ReplaceItem : public QCheckListItem
+class ReplaceItem : public TQCheckListItem
{
public:
// the file item
- ReplaceItem( ReplaceView * parent, ReplaceItem * after, TQString file ) :
- TQCheckListItem( parent,
+ ReplaceItem( ReplaceView * tqparent, ReplaceItem * after, TQString file ) :
+ TQCheckListItem( tqparent,
after,
file, TQCheckListItem::CheckBox ),
_file( file ), _string( file ), _line( 0 ), _isfile( true ),
@@ -34,8 +34,8 @@ public:
}
// the line item
- ReplaceItem( ReplaceItem * parent, ReplaceItem * after, TQString file, TQString string, int line ) :
- TQCheckListItem( parent,
+ ReplaceItem( ReplaceItem * tqparent, ReplaceItem * after, TQString file, TQString string, int line ) :
+ TQCheckListItem( tqparent,
after,
TQString::number( line + 1 ) + ": " + string, TQCheckListItem::CheckBox ),
_file( file ), _string( string ), _line( line ), _isfile( false ),
@@ -76,9 +76,9 @@ public:
return _lineclicked;
}
- ReplaceItem * parent() const
+ ReplaceItem * tqparent() const
{
- return static_cast<ReplaceItem*>( TQListViewItem::parent() );
+ return static_cast<ReplaceItem*>( TQListViewItem::tqparent() );
}
ReplaceItem * firstChild() const