diff options
author | Michele Calgaro <[email protected]> | 2025-01-22 18:11:47 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-02-03 23:03:49 +0900 |
commit | 4e6db34b5d572684f5d5c56647257fedb9833c4b (patch) | |
tree | ec70105655f1a942f8ef491016b02fdbd1ec5248 | |
parent | 36d55c8a4393262a26d4376b27d03a985bbb3566 (diff) | |
download | kplayer-master.tar.gz kplayer-master.zip |
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | kplayer/kplayer.cpp | 4 | ||||
-rw-r--r-- | kplayer/kplayerengine.cpp | 10 | ||||
-rw-r--r-- | kplayer/kplayernodeview.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/kplayer/kplayer.cpp b/kplayer/kplayer.cpp index b317092..00a9d38 100644 --- a/kplayer/kplayer.cpp +++ b/kplayer/kplayer.cpp @@ -440,7 +440,7 @@ KPlayer::KPlayer (TQWidget *parent, const char *name) : TDEMainWindow (parent, n i18n("Hue toolbar has a hue slider that shows the current video hue and allows you to change it. This is the same slider you get from the hue pop-up slider button on the main toolbar, but it will not disappear when you click elsewhere. You can show or hide the toolbar using the Show Hue Toolbar option on the Settings menu. Clicking the Hue button on this toolbar will also hide it."), i18n("Saturation toolbar has a saturation slider that shows the current video saturation and allows you to change it. This is the same slider you get from the saturation pop-up slider button on the main toolbar, but it will not disappear when you click elsewhere. You can show or hide the toolbar using the Show Saturation Toolbar option on the Settings menu. Clicking the Saturation button on this toolbar will also hide it.") }; - KPlayerEngine::initialize (actionCollection(), this, 0, kapp -> config()); + KPlayerEngine::initialize (actionCollection(), this, 0, tdeApp -> config()); connect (engine(), TQ_SIGNAL (windowStateChanged (uint)), TQ_SLOT (windowStateChanged (uint))); connect (engine(), TQ_SIGNAL (syncronize (bool)), TQ_SLOT (syncronize (bool))); connect (engine(), TQ_SIGNAL (zoom()), TQ_SLOT (zoom())); @@ -1471,7 +1471,7 @@ void KPlayer::settingsConfigure (void) void KPlayer::helpReportBug (void) { - kapp -> invokeHelp ("howto-bug-reporting"); + tdeApp -> invokeHelp ("howto-bug-reporting"); } void KPlayer::playerStateChanged (KPlayerProcess::State state, KPlayerProcess::State previous) diff --git a/kplayer/kplayerengine.cpp b/kplayer/kplayerengine.cpp index 9ee9329..f0e947c 100644 --- a/kplayer/kplayerengine.cpp +++ b/kplayer/kplayerengine.cpp @@ -1113,7 +1113,7 @@ void KPlayerEngine::disableScreenSaver (void) return; TQByteArray data, reply; TQCString type; - if ( ! kapp -> dcopClient() -> call ("kdesktop", "KScreensaverIface", "isEnabled()", data, type, reply) + if ( ! tdeApp -> dcopClient() -> call ("kdesktop", "KScreensaverIface", "isEnabled()", data, type, reply) || type != "bool" ) { #ifdef DEBUG_KPLAYER_ENGINE @@ -1134,12 +1134,12 @@ void KPlayerEngine::disableScreenSaver (void) TQDataStream argStream (data, IO_WriteOnly); argStream << false; #ifdef DEBUG_KPLAYER_ENGINE - if ( kapp -> dcopClient() -> send ("kdesktop", "KScreensaverIface", "enable(bool)", data) ) + if ( tdeApp -> dcopClient() -> send ("kdesktop", "KScreensaverIface", "enable(bool)", data) ) kdDebugTime() << "Screensaver successfully disabled\n"; else kdWarning() << "Could not disable screensaver\n"; #else - kapp -> dcopClient() -> send ("kdesktop", "KScreensaverIface", "enable(bool)", data); + tdeApp -> dcopClient() -> send ("kdesktop", "KScreensaverIface", "enable(bool)", data); #endif m_enable_screen_saver = true; } @@ -1152,12 +1152,12 @@ void KPlayerEngine::enableScreenSaver (void) TQDataStream argStream (data, IO_WriteOnly); argStream << true; #ifdef DEBUG_KPLAYER_ENGINE - if ( kapp -> dcopClient() -> send ("kdesktop", "KScreensaverIface", "enable(bool)", data) ) + if ( tdeApp -> dcopClient() -> send ("kdesktop", "KScreensaverIface", "enable(bool)", data) ) kdDebugTime() << "Screensaver successfully enabled\n"; else kdWarning() << "Could not enable screensaver\n"; #else - kapp -> dcopClient() -> send ("kdesktop", "KScreensaverIface", "enable(bool)", data); + tdeApp -> dcopClient() -> send ("kdesktop", "KScreensaverIface", "enable(bool)", data); #endif m_enable_screen_saver = false; } diff --git a/kplayer/kplayernodeview.cpp b/kplayer/kplayernodeview.cpp index ed02685..01c04c1 100644 --- a/kplayer/kplayernodeview.cpp +++ b/kplayer/kplayernodeview.cpp @@ -2149,7 +2149,7 @@ void KPlayerNodeView::goToOrigin (void) KPlayerPlaylist* KPlayerNodeView::playlist (void) { - return ((KPlayer*) kapp -> mainWidget()) -> playlist(); + return ((KPlayer*) tdeApp -> mainWidget()) -> playlist(); } KPlayerListView::KPlayerListView (TQWidget* parent, const char* name) |