diff options
Diffstat (limited to 'karbon/dialogs/vcolortab.cpp')
-rw-r--r-- | karbon/dialogs/vcolortab.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/karbon/dialogs/vcolortab.cpp b/karbon/dialogs/vcolortab.cpp index 0b2c3bab..fc8f4eac 100644 --- a/karbon/dialogs/vcolortab.cpp +++ b/karbon/dialogs/vcolortab.cpp @@ -48,7 +48,7 @@ VColorTab::VColorTab( const VColor &c, TQWidget* parent, const char* name ) mainLayout->addMultiCellWidget(mColorSelector, 0, 2, 0, 0 ); //Selector - mSelector = new KGradientSelector( Qt::Vertical, mRGBWidget ); + mSelector = new KGradientSelector( TQt::Vertical, mRGBWidget ); mSelector->setColors( TQColor( "white" ), TQColor( "black" ) ); mSelector->setMinimumWidth( 20 ); //TODO: Make it autochange color if the solid-filled object is selected (also for TQSpinBoxes) @@ -56,7 +56,7 @@ VColorTab::VColorTab( const VColor &c, TQWidget* parent, const char* name ) mainLayout->addMultiCellWidget( mSelector, 0, 2, 1, 1 ); //Reference - TQGroupBox* groupbox = new TQGroupBox( 2,Qt::Vertical, i18n( "Reference" ), mRGBWidget ); + TQGroupBox* groupbox = new TQGroupBox( 2,TQt::Vertical, i18n( "Reference" ), mRGBWidget ); new TQLabel( i18n( "Old:" ), groupbox ); new TQLabel( i18n( "New:" ), groupbox ); mOldColor = new KColorPatch( groupbox ); @@ -68,7 +68,7 @@ VColorTab::VColorTab( const VColor &c, TQWidget* parent, const char* name ) mainLayout->addWidget( groupbox, 0, 2 ); //Components - TQGroupBox* cgroupbox = new TQGroupBox( 3,Qt::Vertical, i18n( "Components" ), mRGBWidget ); + TQGroupBox* cgroupbox = new TQGroupBox( 3,TQt::Vertical, i18n( "Components" ), mRGBWidget ); //--->RGB new TQLabel( i18n( "R:" ), cgroupbox ); @@ -94,7 +94,7 @@ VColorTab::VColorTab( const VColor &c, TQWidget* parent, const char* name ) mainLayout->addWidget( cgroupbox, 1, 2 ); //--->Opacity - TQGroupBox* ogroupBox = new TQGroupBox( 1,Qt::Vertical, i18n( "Opacity" ), mRGBWidget ); + TQGroupBox* ogroupBox = new TQGroupBox( 1,TQt::Vertical, i18n( "Opacity" ), mRGBWidget ); mOpacity = new KIntNumInput( 100, ogroupBox ); mOpacity->setRange( 0, 100, 1, true ); mOpacity->setValue( int( c.opacity() * 100.0 ) ); |