From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/karrowbutton.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdeui/karrowbutton.cpp') diff --git a/kdeui/karrowbutton.cpp b/kdeui/karrowbutton.cpp index fd9624b67..22d221bcb 100644 --- a/kdeui/karrowbutton.cpp +++ b/kdeui/karrowbutton.cpp @@ -40,7 +40,7 @@ KArrowButton::~KArrowButton() delete d; } -TQSize KArrowButton::sizeHint() const +TQSize KArrowButton::tqsizeHint() const { return TQSize( 12, 12 ); } @@ -49,7 +49,7 @@ void KArrowButton::setArrowType(Qt::ArrowType a) { if (d->arrow != a) { d->arrow = a; - repaint(); + tqrepaint(); } } Qt::ArrowType KArrowButton::arrowType() const @@ -62,9 +62,9 @@ void KArrowButton::drawButton(TQPainter *p) const unsigned int arrowSize = 8; const unsigned int margin = 2; - p->fillRect( rect(), colorGroup().brush( TQColorGroup::Background ) ); + p->fillRect( rect(), tqcolorGroup().brush( TQColorGroup::Background ) ); style().drawPrimitive( TQStyle::PE_Panel, p, TQRect( 0, 0, width(), height() ), - colorGroup(), + tqcolorGroup(), isDown() ? TQStyle::Style_Sunken : TQStyle::Style_Default, TQStyleOption( 2, 0 ) ); @@ -104,7 +104,7 @@ void KArrowButton::drawButton(TQPainter *p) if ( isDown() ) flags |= TQStyle::Style_Down; style().drawPrimitive( e, p, TQRect( TQPoint( x, y ), TQSize( arrowSize, arrowSize ) ), - colorGroup(), flags ); + tqcolorGroup(), flags ); } void KArrowButton::virtual_hook( int, void* ) -- cgit v1.2.3