From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: 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 --- lib/widgets/resizablecombo.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/widgets/resizablecombo.cpp') 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(); } -- cgit v1.2.3