diff --git a/kplayer/kplayer.cpp b/kplayer/kplayer.cpp index 2f46097..b317092 100644 --- a/kplayer/kplayer.cpp +++ b/kplayer/kplayer.cpp @@ -66,7 +66,7 @@ TQString resourcePath (const TQString& filename); extern TDEAboutData* about; KPlayerApplication::KPlayerApplication (void) - : KUniqueApplication (true, true, true) + : TDEUniqueApplication (true, true, true) { } @@ -118,7 +118,7 @@ bool KPlayerApplication::notify (TQObject* object, TQEvent* event) << " count " << kevent -> count() << " state " << kevent -> state() << " after " << kevent -> stateAfter() << " control " << kPlayerSettings() -> control() << " shift " << kPlayerSettings() -> shift() << "\n"; #endif - bool result = KUniqueApplication::notify (object, event); + bool result = TDEUniqueApplication::notify (object, event); overridden = kevent -> isAccepted(); return result; } @@ -245,7 +245,7 @@ bool KPlayerApplication::notify (TQObject* object, TQEvent* event) << " accepted " << keyevent.isAccepted() << " autorepeat " << keyevent.isAutoRepeat() << " shift " << kPlayerSettings() -> shift() << "\n"; #endif - return KUniqueApplication::notify (object, &keyevent); + return TDEUniqueApplication::notify (object, &keyevent); } } break; @@ -276,7 +276,7 @@ bool KPlayerApplication::notify (TQObject* object, TQEvent* event) mouseevent.accept(); else mouseevent.ignore(); - return KUniqueApplication::notify (object, &mouseevent); + return TDEUniqueApplication::notify (object, &mouseevent); } kPlayerSettings() -> setControl (mevent -> stateAfter() & TQt::ControlButton); kPlayerSettings() -> setShift (mevent -> stateAfter() & TQt::ShiftButton); @@ -341,7 +341,7 @@ bool KPlayerApplication::notify (TQObject* object, TQEvent* event) break; } } - return KUniqueApplication::notify (object, event); + return TDEUniqueApplication::notify (object, event); } /*int KPlayerApplication::x11ClientMessage (TQWidget* widget, XEvent* event, bool passive_only) diff --git a/kplayer/kplayer.h b/kplayer/kplayer.h index 854fe9d..8c1bba3 100644 --- a/kplayer/kplayer.h +++ b/kplayer/kplayer.h @@ -22,7 +22,7 @@ #include #include -#include +#include #include "kplayerengine.h" @@ -365,7 +365,7 @@ protected slots: /** The KPlayer application class. *@author kiriuja */ -class KPlayerApplication : public KUniqueApplication +class KPlayerApplication : public TDEUniqueApplication { TQ_OBJECT