summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--style/lipstik.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/style/lipstik.cpp b/style/lipstik.cpp
index 0fe7abe..4dd4940 100644
--- a/style/lipstik.cpp
+++ b/style/lipstik.cpp
@@ -3100,14 +3100,14 @@ void LipstikStyle::drawControl(ControlElement element,
// Draw the pixmap
if ( pixmap->depth() == 1 )
- p->setBackgroundMode( Qt::OpaqueMode );
+ p->setBackgroundMode( TQt::OpaqueMode );
int diffw = ( ( r.width() - pixmap->width() ) / 2 )
+ ( ( r.width() - pixmap->width() ) % 2 );
p->drawPixmap( r.x()+diffw, r.y()+1, *pixmap );
if ( pixmap->depth() == 1 )
- p->setBackgroundMode( Qt::TransparentMode );
+ p->setBackgroundMode( TQt::TransparentMode );
}
}
@@ -3143,7 +3143,7 @@ void LipstikStyle::drawControl(ControlElement element,
if (_drawToolBarGradient) {
TQDockWindow *wind = (TQDockWindow*)widget;
bool horizontal=false;
- if ( Qt::Horizontal==wind->orientation() ) {
+ if ( TQt::Horizontal==wind->orientation() ) {
horizontal=true;
}
if (_invertBarGrad) {