diff options
Diffstat (limited to 'kuiviewer/kuiviewer_part.cpp')
-rw-r--r-- | kuiviewer/kuiviewer_part.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kuiviewer/kuiviewer_part.cpp b/kuiviewer/kuiviewer_part.cpp index d2952577..c59e4c12 100644 --- a/kuiviewer/kuiviewer_part.cpp +++ b/kuiviewer/kuiviewer_part.cpp @@ -72,7 +72,7 @@ KUIViewerPart::KUIViewerPart( TQWidget *parentWidget, const char *widgetName, m_style = new TDEListAction( i18n("Style"), CTRL + Key_S, - TQT_TQOBJECT(this), + this, TQT_SLOT(slotStyle(int)), actionCollection(), "change_style"); @@ -187,7 +187,7 @@ void KUIViewerPart::slotStyle(int) TQObjectList *l = m_widget->queryList( "TQWidget" ); for ( TQObject *o = l->first(); o; o = l->next() ) - ( TQT_TQWIDGET(o) )->setStyle( style ); + ( static_cast<TQWidget*>(o) )->setStyle( style ); delete l; m_widget->show(); |