diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:07 -0600 |
commit | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (patch) | |
tree | f248b71f55539d6689a4cbe086d5d8cc146c8998 /arts/gui/kde/kpopupbox_private.h | |
parent | f59dfa08651a47f21d004e8e4cb5020b8035287e (diff) | |
download | tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.tar.gz tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'arts/gui/kde/kpopupbox_private.h')
-rw-r--r-- | arts/gui/kde/kpopupbox_private.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arts/gui/kde/kpopupbox_private.h b/arts/gui/kde/kpopupbox_private.h index b9b38e7f..07fb221c 100644 --- a/arts/gui/kde/kpopupbox_private.h +++ b/arts/gui/kde/kpopupbox_private.h @@ -88,7 +88,7 @@ public: TQPainter p( this ); TQStyle::SFlags flags = TQStyle::Style_Default; if( width() < height() ) flags |= TQStyle::Style_Horizontal; - tqstyle().tqdrawPrimitive( TQStyle::PE_DockWindowHandle, &p, rect(), tqcolorGroup(), flags ); + tqstyle().tqdrawPrimitive( TQStyle::PE_DockWindowHandle, &p, rect(), colorGroup(), flags ); } signals: void clicked(); @@ -151,17 +151,17 @@ public slots: } } public: - TQSize tqminimumSizeHint() const { - int wh = tqstyle().tqpixelMetric( TQStyle::PM_DockWindowHandleExtent, this ); + TQSize minimumSizeHint() const { + int wh = tqstyle().pixelMetric( TQStyle::PM_DockWindowHandleExtent, this ); return TQSize( wh, wh ); } TQSizePolicy sizePolicy() const { return TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ); } - TQSize tqminimumSize() const { return tqminimumSizeHint(); } - TQSize tqsizeHint() const { return tqminimumSize(); } + TQSize minimumSize() const { return minimumSizeHint(); } + TQSize sizeHint() const { return minimumSize(); } void drawButton( TQPainter * p ) { - p->fillRect( 0,0, width(), height(), TQBrush( tqcolorGroup().brush( TQColorGroup::Background ) ) ); + p->fillRect( 0,0, width(), height(), TQBrush( colorGroup().brush( TQColorGroup::Background ) ) ); p->drawPixmap( ( width() - pixmap()->width() ) / 2, ( height() - pixmap()->height() ) / 2, *pixmap() ); } }; @@ -187,17 +187,17 @@ public slots: else setPixmap( _pmown ); } public: - TQSize tqminimumSizeHint() const { - int wh = tqstyle().tqpixelMetric( TQStyle::PM_DockWindowHandleExtent, this ); + TQSize minimumSizeHint() const { + int wh = tqstyle().pixelMetric( TQStyle::PM_DockWindowHandleExtent, this ); return TQSize( wh, wh ); } TQSizePolicy sizePolicy() const { return TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ); } - TQSize tqminimumSize() const { return tqminimumSizeHint(); } - TQSize tqsizeHint() const { return tqminimumSize(); } + TQSize minimumSize() const { return minimumSizeHint(); } + TQSize sizeHint() const { return minimumSize(); } void drawButton( TQPainter * p ) { - p->fillRect( 0,0, width(), height(), TQBrush( tqcolorGroup().brush( TQColorGroup::Background ) ) ); + p->fillRect( 0,0, width(), height(), TQBrush( colorGroup().brush( TQColorGroup::Background ) ) ); p->drawPixmap( ( width() - pixmap()->width() ) / 2, ( height() - pixmap()->height() ) / 2, *pixmap() ); } }; |