|
|
|
@ -353,7 +353,7 @@ void MandrivaStyle::updateHoverControl(const TQPoint &pos, const TQStyleControlE
|
|
|
|
|
|
|
|
|
|
void MandrivaStyle::applicationPolish(const TQStyleControlElementData &ceData, ControlElementFlags, void *ptr)
|
|
|
|
|
{
|
|
|
|
|
if (ceData.widgetObjectTypes.contains(TQAPPLICATION_OBJECT_NAME_STRING)) {
|
|
|
|
|
if (ceData.widgetObjectTypes.contains("TQApplication")) {
|
|
|
|
|
TQApplication *app = reinterpret_cast<TQApplication*>(ptr);
|
|
|
|
|
if (!qstrcmp(app->argv()[0], "kicker")) {
|
|
|
|
|
kickerMode = true;
|
|
|
|
@ -363,7 +363,7 @@ void MandrivaStyle::applicationPolish(const TQStyleControlElementData &ceData, C
|
|
|
|
|
|
|
|
|
|
void MandrivaStyle::polish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr)
|
|
|
|
|
{
|
|
|
|
|
if (ceData.widgetObjectTypes.contains(TQWIDGET_OBJECT_NAME_STRING)) {
|
|
|
|
|
if (ceData.widgetObjectTypes.contains("TQWidget")) {
|
|
|
|
|
TQWidget *widget = reinterpret_cast<TQWidget*>(ptr);
|
|
|
|
|
|
|
|
|
|
// Put in order of highest occurance to maximize hit rate
|
|
|
|
@ -418,7 +418,7 @@ void MandrivaStyle::polish(const TQStyleControlElementData &ceData, ControlEleme
|
|
|
|
|
|
|
|
|
|
void MandrivaStyle::unPolish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr)
|
|
|
|
|
{
|
|
|
|
|
if (ceData.widgetObjectTypes.contains(TQWIDGET_OBJECT_NAME_STRING)) {
|
|
|
|
|
if (ceData.widgetObjectTypes.contains("TQWidget")) {
|
|
|
|
|
TQWidget *widget = reinterpret_cast<TQWidget*>(ptr);
|
|
|
|
|
|
|
|
|
|
TQFont f = TQApplication::font();
|
|
|
|
@ -3030,7 +3030,7 @@ bool MandrivaStyle::objectEventHandler( const TQStyleControlElementData &ceData,
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (ceData.widgetObjectTypes.contains(TQOBJECT_OBJECT_NAME_STRING)) {
|
|
|
|
|
if (ceData.widgetObjectTypes.contains("TQObject")) {
|
|
|
|
|
TQObject* obj = reinterpret_cast<TQObject*>(source);
|
|
|
|
|
|
|
|
|
|
TQToolBar* toolbar;
|
|
|
|
|