summaryrefslogtreecommitdiffstats
path: root/keduca/keduca/kcheckeduca.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keduca/keduca/kcheckeduca.cpp')
-rw-r--r--keduca/keduca/kcheckeduca.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/keduca/keduca/kcheckeduca.cpp b/keduca/keduca/kcheckeduca.cpp
index a75c8478..9f88971b 100644
--- a/keduca/keduca/kcheckeduca.cpp
+++ b/keduca/keduca/kcheckeduca.cpp
@@ -38,7 +38,7 @@ void KCheckEduca::drawButtonLabel( TQPainter *p){
int extra_width, indicator_width;
extra_width = 8;
- indicator_width = style().pixelMetric(TQStyle::PM_IndicatorWidth, 0);
+ indicator_width = style().tqpixelMetric(TQStyle::PM_IndicatorWidth, 0);
y = 0;
x = indicator_width + extra_width; //###
@@ -61,14 +61,14 @@ void KCheckEduca::drawButtonLabel( TQPainter *p){
yo = (cr.height()-rh)/2;
if ( !isEnabled() ) {
- TQColorGroup cg = colorGroup();
+ TQColorGroup cg = tqcolorGroup();
cg.setColor( TQColorGroup::Text, cg.light() );
_doc->draw(p, cr.x()+xo+1, cr.y()+yo+1, cr, cg, 0);
}
- _doc->draw(p, cr.x()+xo, cr.y()+yo, cr, colorGroup(), 0);
+ _doc->draw(p, cr.x()+xo, cr.y()+yo, cr, tqcolorGroup(), 0);
if ( hasFocus() ) {
-// TQRect br = style().itemRect( p, x, y, rw, rh+yo,
+// TQRect br = style().tqitemRect( p, x, y, rw, rh+yo,
// AlignLeft|AlignVCenter|ShowPrefix,
// isEnabled(),
// pixmap(), text().visual() );
@@ -80,6 +80,6 @@ void KCheckEduca::drawButtonLabel( TQPainter *p){
br.setBottom( br.bottom()+2);
br = br.intersect( TQRect(0,0,rw, rh+yo ) );
- style().drawPrimitive( TQStyle::PE_FocusRect, p, br, colorGroup());
+ style().drawPrimitive( TQStyle::PE_FocusRect, p, br, tqcolorGroup());
}
}