diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:34:09 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:34:09 +0200 |
commit | 4c04a441814c7d1dda08f6075ab4e09dc05541df (patch) | |
tree | cf8a3dbd77114c416255d3995cd1b047072ef26a /src/k3bjobprogressosd_mod.cpp | |
parent | 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (diff) | |
download | klamav-4c04a441814c7d1dda08f6075ab4e09dc05541df.tar.gz klamav-4c04a441814c7d1dda08f6075ab4e09dc05541df.zip |
Conversion KDE3->TDE
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
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" ); |