summaryrefslogtreecommitdiffstats
path: root/kompare/libdiff2/diffmodel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /kompare/libdiff2/diffmodel.h
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kompare/libdiff2/diffmodel.h')
-rw-r--r--kompare/libdiff2/diffmodel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kompare/libdiff2/diffmodel.h b/kompare/libdiff2/diffmodel.h
index 3b957b89..3467b55b 100644
--- a/kompare/libdiff2/diffmodel.h
+++ b/kompare/libdiff2/diffmodel.h
@@ -32,9 +32,10 @@ namespace Diff2
class DiffHunk;
class Difference;
-class DiffModel : public QObject
+class DiffModel : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
DiffModel( const TQString& srcBaseURL, const TQString& destBaseURL );
@@ -60,7 +61,7 @@ public:
DifferenceList* allDifferences();
- int findDifference( Difference* diff ) const { return m_differences.findIndex( diff ); }
+ int findDifference( Difference* diff ) const { return m_differences.tqfindIndex( diff ); }
Difference* firstDifference();
Difference* lastDifference();