diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-06-13 16:33:09 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-06-13 16:33:09 +0200 |
commit | 12b478cefdf1789828dbcd677d409cf8bad654ca (patch) | |
tree | e0fd4a3b7a3d5b64ede310493a7b25624807f8b1 /src/part/xineEngine.cpp | |
parent | 2c9bc9b806f533df7b8f5349467d0f4be95314a4 (diff) | |
download | codeine-12b478cefdf1789828dbcd677d409cf8bad654ca.tar.gz codeine-12b478cefdf1789828dbcd677d409cf8bad654ca.zip |
Conversion KDE -> TDE environment.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'src/part/xineEngine.cpp')
-rw-r--r-- | src/part/xineEngine.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/part/xineEngine.cpp b/src/part/xineEngine.cpp index 149ad1f..8424f37 100644 --- a/src/part/xineEngine.cpp +++ b/src/part/xineEngine.cpp @@ -4,8 +4,8 @@ #define CODEINE_DEBUG_PREFIX "engine" #include "debug.h" -#include <kglobalsettings.h> -#include <klocale.h> +#include <tdeglobalsettings.h> +#include <tdelocale.h> #include "mxcl.library.h" #include <ntqapplication.h> //::sendEvent() #include <ntqdatetime.h> //::play() @@ -65,7 +65,7 @@ VideoWindow::init() xine_cfg_entry_t config; if( xine_config_lookup_entry( m_xine, "misc.save_dir", &config ) ) { - const TQCString dir = KGlobalSettings::desktopPath().local8Bit(); + const TQCString dir = TDEGlobalSettings::desktopPath().local8Bit(); config.str_value = tqstrdup( dir ); xine_config_update_entry( m_xine, &config ); } @@ -258,7 +258,7 @@ VideoWindow::xineEventListener( void *p, const xine_event_t* xineEvent ) TQString msg = "%1 %2%"; msg = msg.arg( TQString::fromUtf8( pd->description ) ) - .arg( KGlobal::locale()->formatNumber( pd->percent, 0 ) ); + .arg( TDEGlobal::locale()->formatNumber( pd->percent, 0 ) ); TQApplication::postEvent( engine, new TQCustomEvent( TQEvent::Type(3000), new TQString( msg ) ) ); break; |