diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
commit | 99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch) | |
tree | eff34cf0762227f6baf2a93e8fef48d4bed2651c /kompare/komparepart/kompareconnectwidget.h | |
parent | 1c104292188541106338d4940b0f04beeb4301a0 (diff) | |
download | tdesdk-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/kompareconnectwidget.h')
-rw-r--r-- | kompare/komparepart/kompareconnectwidget.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/kompare/komparepart/kompareconnectwidget.h b/kompare/komparepart/kompareconnectwidget.h index 5287552f..8282463b 100644 --- a/kompare/komparepart/kompareconnectwidget.h +++ b/kompare/komparepart/kompareconnectwidget.h @@ -32,13 +32,14 @@ class ViewSettings; class KompareListView; class KompareSplitter; -class KompareConnectWidget : public QWidget +class KompareConnectWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: KompareConnectWidget( KompareListView* left, KompareListView* right, - ViewSettings* settings, TQWidget* parent, const char* name = 0 ); + ViewSettings* settings, TQWidget* tqparent, const char* name = 0 ); ~KompareConnectWidget(); public slots: @@ -69,17 +70,18 @@ private: class KompareConnectWidgetFrame : public QSplitterHandle { Q_OBJECT + TQ_OBJECT public: KompareConnectWidgetFrame( KompareListView* left, KompareListView* right, - ViewSettings* settings, KompareSplitter* parent, const char* name = 0 ); + ViewSettings* settings, KompareSplitter* tqparent, const char* name = 0 ); ~KompareConnectWidgetFrame(); - TQSize sizeHint() const; + TQSize tqsizeHint() const; KompareConnectWidget* wid() { return &m_wid; } protected: - // stop the parent QSplitterHandle painting + // stop the tqparent QSplitterHandle painting void paintEvent( TQPaintEvent* /* e */ ) { } void mouseMoveEvent( TQMouseEvent * ); |