summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 15:24:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 15:24:57 +0900
commit2e60f361db9c1545f10f22e342252570edb75b41 (patch)
tree6f8caf1ba415b942248571203395ac5afefd882d
parent83e7bca077ea8e53d515d38f387f860fb133a1f5 (diff)
downloadtde-style-lipstik-2e60f361.tar.gz
tde-style-lipstik-2e60f361.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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) {