diff options
Diffstat (limited to 'kdevdesigner/designer/widgetaction.cpp')
-rw-r--r-- | kdevdesigner/designer/widgetaction.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdevdesigner/designer/widgetaction.cpp b/kdevdesigner/designer/widgetaction.cpp index 36a9c14c..7568a98c 100644 --- a/kdevdesigner/designer/widgetaction.cpp +++ b/kdevdesigner/designer/widgetaction.cpp @@ -25,22 +25,22 @@ **********************************************************************/ #include "widgetaction.h" -#include <qwidget.h> -#include <qtoolbutton.h> +#include <tqwidget.h> +#include <tqtoolbutton.h> #include "mainwindow.h" -#include <qstylefactory.h> -#include <qstyle.h> +#include <tqstylefactory.h> +#include <tqstyle.h> -static QStyle *windowsStyle = 0; +static TQStyle *windowsStyle = 0; -void WidgetAction::addedTo( QWidget *w, QWidget *container ) +void WidgetAction::addedTo( TQWidget *w, TQWidget *container ) { - if ( ::qt_cast<QToolButton*>(w) && ::qt_cast<QScrollView*>(container->parent()->parent()) ) { + if ( ::qt_cast<TQToolButton*>(w) && ::qt_cast<TQScrollView*>(container->parent()->parent()) ) { if ( !windowsStyle ) - windowsStyle = QStyleFactory::create( "windows" ); + windowsStyle = TQStyleFactory::create( "windows" ); w->setStyle( windowsStyle ); - ( (QToolButton*)w )->setUsesTextLabel( TRUE ); - ( (QToolButton*)w )->setTextPosition( QToolButton::Right ); + ( (TQToolButton*)w )->setUsesTextLabel( TRUE ); + ( (TQToolButton*)w )->setTextPosition( TQToolButton::Right ); w->setBackgroundMode( container->backgroundMode() ); } } @@ -51,7 +51,7 @@ WidgetAction::~WidgetAction() MainWindow::self->toolActions.removeRef( this ); } -void WidgetAction::init( const QString &g ) +void WidgetAction::init( const TQString &g ) { MainWindow::self->toolActions.append( this ); grp = g; |