diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/widgets/resizablecombo.cpp | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-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 'lib/widgets/resizablecombo.cpp')
-rw-r--r-- | lib/widgets/resizablecombo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/widgets/resizablecombo.cpp b/lib/widgets/resizablecombo.cpp index 6ca7e239..eeeba8d0 100644 --- a/lib/widgets/resizablecombo.cpp +++ b/lib/widgets/resizablecombo.cpp @@ -51,8 +51,8 @@ static const char * resize_xpm[] = { " . ", " "}; -ResizableCombo::ResizableCombo(KComboView *view, TQWidget *parent, const char *name): - TQWidget(parent, name), m_sizer(0), m_combo(view) +ResizableCombo::ResizableCombo(KComboView *view, TQWidget *tqparent, const char *name): + TQWidget(tqparent, name), m_sizer(0), m_combo(view) { TQHBoxLayout *l = new TQHBoxLayout(this); view->reparent(this, TQPoint(0,0)); @@ -86,10 +86,10 @@ void MyPushButton::mouseMoveEvent( TQMouseEvent * e ) TQPushButton::mouseMoveEvent(e); } -MyPushButton::MyPushButton( ResizableCombo * parent, const char * name ) - :TQPushButton(parent, name), m_resizing(false), m_combo(parent) +MyPushButton::MyPushButton( ResizableCombo * tqparent, const char * name ) + :TQPushButton(tqparent, name), m_resizing(false), m_combo(tqparent) { - setFocusPolicy(NoFocus); + setFocusPolicy(TQ_NoFocus); setFlat(true); m_width = m_combo->m_combo->width(); } |