Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/8/head
Michele Calgaro 6 months ago
parent 83e7bca077
commit 2e60f361db
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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) {

Loading…
Cancel
Save