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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/kcontrol/style/stylepreview.ui.h b/kcontrol/style/stylepreview.ui.h
index edf38650e..38f47ecee 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;
}
@@ -65,5 +65,3 @@ bool StylePreview::eventFilter( TQObject* /* obj */, TQEvent* ev )
}
return FALSE;
}
-
-// vim: set noet ts=4: