summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/tkcombobox.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /lib/kofficeui/tkcombobox.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'lib/kofficeui/tkcombobox.cpp')
-rw-r--r--lib/kofficeui/tkcombobox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficeui/tkcombobox.cpp b/lib/kofficeui/tkcombobox.cpp
index d1cb7ac2..cd20f790 100644
--- a/lib/kofficeui/tkcombobox.cpp
+++ b/lib/kofficeui/tkcombobox.cpp
@@ -59,7 +59,7 @@ void TKComboBox::paintEvent(TQPaintEvent*)
int bh = height()-4;
TQPainter p( this );
- const TQColorGroup& g = tqcolorGroup();
+ const TQColorGroup& g = colorGroup();
TQRect fr(2,2,width()-4,height()-4);
@@ -87,8 +87,8 @@ void TKComboBox::paintEvent(TQPaintEvent*)
TQPixmap pixmap(arrow_down);
- tqstyle().tqdrawControl( TQStyle::CE_PushButton, &p, this, TQRect( bx, by, bw, bh ), tqcolorGroup() );
- tqstyle().drawItem( &p, TQRect( bx, by, bw, bh), AlignCenter, tqcolorGroup(), isEnabled(), &pixmap, TQString() );
+ tqstyle().drawControl( TQStyle::CE_PushButton, &p, this, TQRect( bx, by, bw, bh ), colorGroup() );
+ tqstyle().drawItem( &p, TQRect( bx, by, bw, bh), AlignCenter, colorGroup(), isEnabled(), &pixmap, TQString() );
if ( hasFocus()) {
tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, fr, g );