diff options
Diffstat (limited to 'src/k3bjobprogressosd_mod.cpp')
-rw-r--r-- | src/k3bjobprogressosd_mod.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/k3bjobprogressosd_mod.cpp b/src/k3bjobprogressosd_mod.cpp index 1431bf3..cf1ed3e 100644 --- a/src/k3bjobprogressosd_mod.cpp +++ b/src/k3bjobprogressosd_mod.cpp @@ -21,13 +21,13 @@ #include "k3bjobprogressosd_mod.h" -#include <kwin.h> +#include <twin.h> #include <kiconloader.h> #include <kdebug.h> #include <kcursor.h> -#include <kconfig.h> -#include <klocale.h> -#include <kpopupmenu.h> +#include <tdeconfig.h> +#include <tdelocale.h> +#include <tdepopupmenu.h> #include <tqpixmap.h> #include <tqpainter.h> @@ -115,7 +115,7 @@ void K3bJobProgressOSD::renderOSD() // ---------------------------------------- // calculate needed size - TQPixmap icon = KGlobal::iconLoader()->loadIcon( "klamav", KIcon::NoGroup, 32 ); + TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "klamav", TDEIcon::NoGroup, 32 ); int margin = 10; int textWidth = fontMetrics().width( m_text ); @@ -212,7 +212,7 @@ void K3bJobProgressOSD::mousePressEvent( TQMouseEvent* e ) m_dragging = true; } else if( e->button() == RightButton ) { - KPopupMenu m; + TDEPopupMenu m; if( m.insertItem( i18n("Hide OSD") ) == m.exec( e->globalPos() ) ) hide(); } @@ -279,7 +279,7 @@ TQPoint K3bJobProgressOSD::fixupPosition( const TQPoint& pp ) } -void K3bJobProgressOSD::readSettings( KConfigBase* c ) +void K3bJobProgressOSD::readSettings( TDEConfigBase* c ) { TQString oldGroup = c->group(); c->setGroup( "KlamOSD Position" ); @@ -291,7 +291,7 @@ void K3bJobProgressOSD::readSettings( KConfigBase* c ) } -void K3bJobProgressOSD::saveSettings( KConfigBase* c ) +void K3bJobProgressOSD::saveSettings( TDEConfigBase* c ) { TQString oldGroup = c->group(); c->setGroup( "KlamOSD Position" ); |