summaryrefslogtreecommitdiffstats
path: root/kcontrol/style/stylepreview.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/style/stylepreview.ui.h')
-rw-r--r--kcontrol/style/stylepreview.ui.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/kcontrol/style/stylepreview.ui.h b/kcontrol/style/stylepreview.ui.h
index edf38650e..2d2128396 100644
--- a/kcontrol/style/stylepreview.ui.h
+++ b/kcontrol/style/stylepreview.ui.h
@@ -33,14 +33,14 @@ void StylePreview::init()
{
// Ensure that the user can't toy with the child widgets.
// Method borrowed from Qt's qtconfig.
- TQObjectList* l = queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList* l = queryList("TQWidget");
TQObjectListIt it(*l);
TQObject* obj;
while ((obj = it.current()) != 0)
{
++it;
obj->installEventFilter(this);
- ((TQWidget*)obj)->setFocusPolicy(TQ_NoFocus);
+ ((TQWidget*)obj)->setFocusPolicy(TQWidget::NoFocus);
}
delete l;
}
@@ -59,11 +59,9 @@ bool StylePreview::eventFilter( TQObject* /* obj */, TQEvent* ev )
case TQEvent::Leave:
case TQEvent::Wheel:
case TQEvent::ContextMenu:
- return TRUE; // ignore
+ return true; // ignore
default:
break;
}
- return FALSE;
+ return false;
}
-
-// vim: set noet ts=4: