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/part.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/part.cpp')
-rw-r--r-- | src/part/part.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/part/part.cpp b/src/part/part.cpp index 1b4b878..f251731 100644 --- a/src/part/part.cpp +++ b/src/part/part.cpp @@ -3,14 +3,14 @@ #include "codeine.h"
#include "debug.h"
-#include <kaboutdata.h>
-#include <kparts/genericfactory.h>
+#include <tdeaboutdata.h>
+#include <tdeparts/genericfactory.h>
#include "part.h"
#include <ntqtimer.h>
#include "toolbar.h"
#include "videoWindow.h"
-#include <kaction.h>
+#include <tdeaction.h>
#include <ntqslider.h>
namespace Codeine
@@ -35,9 +35,9 @@ namespace Codeine //FIXME this will terminate the host, eg Konqueror
Debug::fatal() << "Couldn't init xine!\n";
- KAction *play = new KToggleAction( i18n("Play"), "player_play", TQt::Key_Space, videoWindow(), SLOT(togglePlay()), actionCollection(), "play" );
- KAction *mute = new KToggleAction( i18n("Mute"), "player_mute", TQt::Key_M, videoWindow(), SLOT(toggleMute()), actionCollection(), "mute" );
- KToolBar *toolBar = new MouseOverToolBar( widget() );
+ TDEAction *play = new TDEToggleAction( i18n("Play"), "player_play", TQt::Key_Space, videoWindow(), SLOT(togglePlay()), actionCollection(), "play" );
+ TDEAction *mute = new TDEToggleAction( i18n("Mute"), "player_mute", TQt::Key_M, videoWindow(), SLOT(toggleMute()), actionCollection(), "mute" );
+ TDEToolBar *toolBar = new MouseOverToolBar( widget() );
play->plug( toolBar );
mute->plug( toolBar );
m_slider = new TQSlider( TQt::Horizontal, toolBar, "slider" );
@@ -68,11 +68,11 @@ namespace Codeine return true;
}
- KAboutData*
+ TDEAboutData*
Part::createAboutData()
{
// generic factory expects this on the heap
- return new KAboutData( APP_NAME, PRETTY_NAME, APP_VERSION );
+ return new TDEAboutData( APP_NAME, PRETTY_NAME, APP_VERSION );
}
void
|