diff options
Diffstat (limited to 'karbon/widgets/vtypebuttonbox.cc')
-rw-r--r-- | karbon/widgets/vtypebuttonbox.cc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/karbon/widgets/vtypebuttonbox.cc b/karbon/widgets/vtypebuttonbox.cc index 4a23d6dd2..f182341dc 100644 --- a/karbon/widgets/vtypebuttonbox.cc +++ b/karbon/widgets/vtypebuttonbox.cc @@ -203,9 +203,9 @@ static const char* const buttonpattern[]={ #endif -#include <qpixmap.h> -#include <qtoolbutton.h> -#include <qtooltip.h> +#include <tqpixmap.h> +#include <tqtoolbutton.h> +#include <tqtooltip.h> #include <klocale.h> @@ -217,48 +217,48 @@ static const char* const buttonpattern[]={ #include "vtypebuttonbox.h" VTypeButtonBox::VTypeButtonBox( KarbonPart *part, - QWidget* parent, const char* name ) - : QHButtonGroup( parent, name ), + TQWidget* tqparent, const char* name ) + : TQHButtonGroup( tqparent, name ), m_part( part ), m_isStrokeManipulator( false ) { - setMaximumWidth( parent->width() - 2 ); + setMaximumWidth( tqparent->width() - 2 ); // The button for no fill - QToolButton* button = new QToolButton( this ); - button->setPixmap( QPixmap( (const char **) buttonnone ) ); + TQToolButton* button = new TQToolButton( this ); + button->setPixmap( TQPixmap( (const char **) buttonnone ) ); button->setMaximumWidth( 14 ); button->setMaximumHeight( 14 ); - QToolTip::add( button, i18n( "None" ) ); + TQToolTip::add( button, i18n( "None" ) ); insert( button, none ); // The button for solid fill - button = new QToolButton( this ); - button->setPixmap( QPixmap( (const char **) buttonsolid ) ); + button = new TQToolButton( this ); + button->setPixmap( TQPixmap( (const char **) buttonsolid ) ); button->setMaximumWidth( 14 ); button->setMaximumHeight( 14 ); - QToolTip::add( button, i18n( "Solid" ) ); + TQToolTip::add( button, i18n( "Solid" ) ); insert( button, solid ); // The button for gradient fill - button = new QToolButton( this ); - button->setPixmap( QPixmap( (const char **) buttongradient ) ); + button = new TQToolButton( this ); + button->setPixmap( TQPixmap( (const char **) buttongradient ) ); button->setMaximumWidth( 14 ); button->setMaximumHeight( 14 ); - QToolTip::add( button, i18n( "Gradient" ) ); + TQToolTip::add( button, i18n( "Gradient" ) ); insert( button, gradient ); // The button for pattern fill - button = new QToolButton( this ); - button->setPixmap( QPixmap( (const char **) buttonpattern ) ); + button = new TQToolButton( this ); + button->setPixmap( TQPixmap( (const char **) buttonpattern ) ); button->setMaximumWidth( 14 ); button->setMaximumHeight( 14 ); - QToolTip::add( button, i18n( "Pattern" ) ); + TQToolTip::add( button, i18n( "Pattern" ) ); insert( button, pattern ); setInsideMargin( 1 ); setInsideSpacing( 1 ); - connect( this, SIGNAL( clicked( int ) ), - this, SLOT( slotButtonPressed( int ) ) ); + connect( this, TQT_SIGNAL( clicked( int ) ), + this, TQT_SLOT( slotButtonPressed( int ) ) ); } void |