summaryrefslogtreecommitdiffstats
path: root/kompare/komparepart/komparesplitter.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/komparepart/komparesplitter.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/komparepart/komparesplitter.h')
-rw-r--r--kompare/komparepart/komparesplitter.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kompare/komparepart/komparesplitter.h b/kompare/komparepart/komparesplitter.h
index 08d9d94d..e6dd8ae9 100644
--- a/kompare/komparepart/komparesplitter.h
+++ b/kompare/komparepart/komparesplitter.h
@@ -38,9 +38,10 @@ class ViewSettings;
class KompareSplitter : public QSplitter
{
Q_OBJECT
+ TQ_OBJECT
public:
- KompareSplitter(ViewSettings *settings, TQWidget *parent=0, const char *name = 0);
+ KompareSplitter(ViewSettings *settings, TQWidget *tqparent=0, const char *name = 0);
~KompareSplitter();
signals:
@@ -75,7 +76,7 @@ protected:
void wheelEvent( TQWheelEvent* e );
void keyPressEvent( TQKeyEvent* e );
- void moveSplitter( QCOORD pos, int id );
+ void moveSplitter( TQCOORD pos, int id );
private slots:
void slotDelayedRepaintHandles();
@@ -88,7 +89,7 @@ private:
void doMove( bool backwards, int pos, int id, int delta,
bool mayCollapse, int* positions, int* widths );
- void repaintHandles();
+ void tqrepaintHandles();
TQTimer* m_scrollTimer;
bool restartTimer;