Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 2 weeks ago
parent 8cb014b7a7
commit 2fcfe4ec17
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -66,7 +66,7 @@ TQString resourcePath (const TQString& filename);
extern TDEAboutData* about; extern TDEAboutData* about;
KPlayerApplication::KPlayerApplication (void) 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() << " count " << kevent -> count() << " state " << kevent -> state() << " after " << kevent -> stateAfter()
<< " control " << kPlayerSettings() -> control() << " shift " << kPlayerSettings() -> shift() << "\n"; << " control " << kPlayerSettings() -> control() << " shift " << kPlayerSettings() -> shift() << "\n";
#endif #endif
bool result = KUniqueApplication::notify (object, event); bool result = TDEUniqueApplication::notify (object, event);
overridden = kevent -> isAccepted(); overridden = kevent -> isAccepted();
return result; return result;
} }
@ -245,7 +245,7 @@ bool KPlayerApplication::notify (TQObject* object, TQEvent* event)
<< " accepted " << keyevent.isAccepted() << " autorepeat " << keyevent.isAutoRepeat() << " accepted " << keyevent.isAccepted() << " autorepeat " << keyevent.isAutoRepeat()
<< " shift " << kPlayerSettings() -> shift() << "\n"; << " shift " << kPlayerSettings() -> shift() << "\n";
#endif #endif
return KUniqueApplication::notify (object, &keyevent); return TDEUniqueApplication::notify (object, &keyevent);
} }
} }
break; break;
@ -276,7 +276,7 @@ bool KPlayerApplication::notify (TQObject* object, TQEvent* event)
mouseevent.accept(); mouseevent.accept();
else else
mouseevent.ignore(); mouseevent.ignore();
return KUniqueApplication::notify (object, &mouseevent); return TDEUniqueApplication::notify (object, &mouseevent);
} }
kPlayerSettings() -> setControl (mevent -> stateAfter() & TQt::ControlButton); kPlayerSettings() -> setControl (mevent -> stateAfter() & TQt::ControlButton);
kPlayerSettings() -> setShift (mevent -> stateAfter() & TQt::ShiftButton); kPlayerSettings() -> setShift (mevent -> stateAfter() & TQt::ShiftButton);
@ -341,7 +341,7 @@ bool KPlayerApplication::notify (TQObject* object, TQEvent* event)
break; break;
} }
} }
return KUniqueApplication::notify (object, event); return TDEUniqueApplication::notify (object, event);
} }
/*int KPlayerApplication::x11ClientMessage (TQWidget* widget, XEvent* event, bool passive_only) /*int KPlayerApplication::x11ClientMessage (TQWidget* widget, XEvent* event, bool passive_only)

@ -22,7 +22,7 @@
#include <tdeaction.h> #include <tdeaction.h>
#include <tdemainwindow.h> #include <tdemainwindow.h>
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
#include "kplayerengine.h" #include "kplayerengine.h"
@ -365,7 +365,7 @@ protected slots:
/** The KPlayer application class. /** The KPlayer application class.
*@author kiriuja *@author kiriuja
*/ */
class KPlayerApplication : public KUniqueApplication class KPlayerApplication : public TDEUniqueApplication
{ {
TQ_OBJECT TQ_OBJECT

Loading…
Cancel
Save