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