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;
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)

@ -22,7 +22,7 @@
#include <tdeaction.h>
#include <tdemainwindow.h>
#include <kuniqueapplication.h>
#include <tdeuniqueapplication.h>
#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

Loading…
Cancel
Save