summaryrefslogtreecommitdiffstats
path: root/amarok/src/osd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src/osd.cpp')
-rw-r--r--amarok/src/osd.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/amarok/src/osd.cpp b/amarok/src/osd.cpp
index 74bfa51e..dec06d19 100644
--- a/amarok/src/osd.cpp
+++ b/amarok/src/osd.cpp
@@ -69,7 +69,7 @@ OSDWidget::OSDWidget( TQWidget *parent, const char *name )
this, TQ_SLOT( ratingChanged( const TQString&, int ) ) );
//or crashes, KWin bug I think, crashes in TQWidget::icon()
- kapp->setTopWidget( this );
+ tdeApp->setTopWidget( this );
}
void
@@ -153,7 +153,7 @@ OSDWidget::show() //virtual
m_screenshot.resize( newGeometry.size() );
p = newGeometry.topLeft() - unite.topLeft();
- if (!kapp->isX11CompositionAvailable())
+ if (!tdeApp->isX11CompositionAvailable())
bitBlt( &m_screenshot, 0, 0, &pix, p.x(), p.y() );
}
@@ -312,13 +312,13 @@ OSDWidget::render( const uint M, const TQSize &size )
m_buffer.resize( rect.size() );
TQPainter p( &m_buffer );
- if (( m_translucency ) && (!kapp->isX11CompositionAvailable()))
+ if (( m_translucency ) && (!tdeApp->isX11CompositionAvailable()))
{
KPixmap background( m_screenshot );
KPixmapEffect::fade( background, 0.80, backgroundColor() );
p.drawPixmap( 0, 0, background );
}
- else if (( m_translucency ) && (kapp->isX11CompositionAvailable()))
+ else if (( m_translucency ) && (tdeApp->isX11CompositionAvailable()))
{
// Make the background semi-transparent
TQPixmap background( m_screenshot.width(), m_screenshot.height(), 32 );
@@ -400,13 +400,13 @@ OSDWidget::render( const uint M, const TQSize &size )
pixmapGradient.setMask( mask );
}
- if (( m_translucency ) && (!kapp->isX11CompositionAvailable()))
+ if (( m_translucency ) && (!tdeApp->isX11CompositionAvailable()))
{
KPixmap background( m_screenshot );
KPixmapEffect::fade( background, 0.80, backgroundColor() );
bitBlt( &vol, -r.left(), -r.top(), &background );
}
- else if (( m_translucency ) && (kapp->isX11CompositionAvailable()))
+ else if (( m_translucency ) && (tdeApp->isX11CompositionAvailable()))
{
// Make the background semi-transparent
TQPixmap background( m_screenshot.width(), m_screenshot.height(), 32 );
@@ -514,7 +514,7 @@ OSDWidget::render( const uint M, const TQSize &size )
void
OSDWidget::paintMe()
{
- if ((m_translucency) && (kapp->isX11CompositionAvailable())) {
+ if ((m_translucency) && (tdeApp->isX11CompositionAvailable())) {
// We have true composition support, so make the OSD truly transparent
TQImage blendedImage = m_buffer.convertToImage();
blendedImage = blendedImage.convertDepth(32);