diff options
Diffstat (limited to 'kpersonalizer/stylepreview.ui.h')
-rw-r--r-- | kpersonalizer/stylepreview.ui.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kpersonalizer/stylepreview.ui.h b/kpersonalizer/stylepreview.ui.h index 66388024f..b4c626221 100644 --- a/kpersonalizer/stylepreview.ui.h +++ b/kpersonalizer/stylepreview.ui.h @@ -41,14 +41,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; } @@ -73,5 +73,3 @@ bool StylePreview::eventFilter( TQObject* /* obj */, TQEvent* ev ) } return FALSE; } - -// vim: set noet ts=4: |