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