diff options
Diffstat (limited to 'karbon/dialogs')
-rw-r--r-- | karbon/dialogs/vcolortab.cpp | 16 | ||||
-rw-r--r-- | karbon/dialogs/vconfiguredlg.cpp | 10 | ||||
-rw-r--r-- | karbon/dialogs/vstrokedlg.cpp | 8 |
3 files changed, 17 insertions, 17 deletions
diff --git a/karbon/dialogs/vcolortab.cpp b/karbon/dialogs/vcolortab.cpp index fc8f4eac..78b89cba 100644 --- a/karbon/dialogs/vcolortab.cpp +++ b/karbon/dialogs/vcolortab.cpp @@ -44,7 +44,7 @@ VColorTab::VColorTab( const VColor &c, TQWidget* parent, const char* name ) mColorSelector = new KHSSelector( mRGBWidget ); mColorSelector->setMinimumHeight( 165 ); mColorSelector->setMinimumWidth( 165 ); - connect( mColorSelector, TQT_SIGNAL( valueChanged( int, int ) ), this, TQT_SLOT( slotHSChanged( int, int ) ) ); + connect( mColorSelector, TQ_SIGNAL( valueChanged( int, int ) ), this, TQ_SLOT( slotHSChanged( int, int ) ) ); mainLayout->addMultiCellWidget(mColorSelector, 0, 2, 0, 0 ); //Selector @@ -52,7 +52,7 @@ VColorTab::VColorTab( const VColor &c, TQWidget* parent, const char* name ) mSelector->setColors( TQColor( "white" ), TQColor( "black" ) ); mSelector->setMinimumWidth( 20 ); //TODO: Make it autochange color if the solid-filled object is selected (also for TQSpinBoxes) - connect( mSelector, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( slotVChanged( int ) ) ); + connect( mSelector, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( slotVChanged( int ) ) ); mainLayout->addMultiCellWidget( mSelector, 0, 2, 1, 1 ); //Reference @@ -77,9 +77,9 @@ VColorTab::VColorTab( const VColor &c, TQWidget* parent, const char* name ) mRed = new KIntSpinBox( 0, 255, 1, 0, 10, cgroupbox ); mGreen = new KIntSpinBox( 0, 255, 1, 0, 10, cgroupbox ); mBlue = new KIntSpinBox( 0, 255, 1, 0, 10, cgroupbox ); - connect( mRed, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slotUpdateFromRGBSpinBoxes() ) ); - connect( mGreen, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slotUpdateFromRGBSpinBoxes() ) ); - connect( mBlue, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slotUpdateFromRGBSpinBoxes() ) ); + connect( mRed, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slotUpdateFromRGBSpinBoxes() ) ); + connect( mGreen, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slotUpdateFromRGBSpinBoxes() ) ); + connect( mBlue, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slotUpdateFromRGBSpinBoxes() ) ); //--->HSV new TQLabel( i18n( "Hue:", "H:" ), cgroupbox ); @@ -88,9 +88,9 @@ VColorTab::VColorTab( const VColor &c, TQWidget* parent, const char* name ) mHue = new KIntSpinBox( 0, 359, 1, 0, 10, cgroupbox ); mSaturation = new KIntSpinBox( 0, 255, 1, 0, 10, cgroupbox ); mValue = new KIntSpinBox( 0, 255, 1, 0, 10, cgroupbox ); - connect( mHue, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slotUpdateFromHSVSpinBoxes() ) ); - connect( mSaturation, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slotUpdateFromHSVSpinBoxes() ) ); - connect( mValue, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slotUpdateFromHSVSpinBoxes() ) ); + connect( mHue, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slotUpdateFromHSVSpinBoxes() ) ); + connect( mSaturation, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slotUpdateFromHSVSpinBoxes() ) ); + connect( mValue, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slotUpdateFromHSVSpinBoxes() ) ); mainLayout->addWidget( cgroupbox, 1, 2 ); //--->Opacity diff --git a/karbon/dialogs/vconfiguredlg.cpp b/karbon/dialogs/vconfiguredlg.cpp index 3736f738..5870139d 100644 --- a/karbon/dialogs/vconfiguredlg.cpp +++ b/karbon/dialogs/vconfiguredlg.cpp @@ -67,14 +67,14 @@ VConfigureDlg::VConfigureDlg( KarbonView* parent ) m_gridPage = new VConfigGridPage( parent, page ); - connect( m_miscPage, TQT_SIGNAL( unitChanged( int ) ), m_gridPage, TQT_SLOT( slotUnitChanged( int ) ) ); + connect( m_miscPage, TQ_SIGNAL( unitChanged( int ) ), m_gridPage, TQ_SLOT( slotUnitChanged( int ) ) ); page = addVBoxPage( i18n( "Document" ), i18n( "Document Settings" ), BarIcon( "text-x-generic", TDEIcon::SizeMedium ) ); m_defaultDocPage = new VConfigDefaultPage( parent, page ); - connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotApply() ) ); + connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotApply() ) ); } void VConfigureDlg::slotApply() @@ -249,7 +249,7 @@ VConfigMiscPage::VConfigMiscPage( KarbonView* view, TQVBox* box, char* name ) grid->addWidget( m_unit, 1, 1 ); m_oldUnit = KoUnit::unit( unitType ); m_unit->setCurrentItem( m_oldUnit ); - connect( m_unit, TQT_SIGNAL( activated( int ) ), TQT_SIGNAL( unitChanged( int ) ) ); + connect( m_unit, TQ_SIGNAL( activated( int ) ), TQ_SIGNAL( unitChanged( int ) ) ); } void VConfigMiscPage::apply() @@ -328,8 +328,8 @@ VConfigGridPage::VConfigGridPage( KarbonView* view, TQVBox* page, char* name ) gl->addMultiCellWidget( snapGrp, 4, 4, 0, 2 ); gl->addMultiCell( new TQSpacerItem( 0, 0 ), 5, 5, 0, 2 ); - connect( m_spaceHorizUSpin, TQT_SIGNAL( valueChanged( double ) ), TQT_SLOT( setMaxHorizSnap( double ) ) ); - connect( m_spaceVertUSpin, TQT_SIGNAL( valueChanged( double ) ), TQT_SLOT( setMaxVertSnap( double ) ) ) ; + connect( m_spaceHorizUSpin, TQ_SIGNAL( valueChanged( double ) ), TQ_SLOT( setMaxHorizSnap( double ) ) ); + connect( m_spaceVertUSpin, TQ_SIGNAL( valueChanged( double ) ), TQ_SLOT( setMaxVertSnap( double ) ) ) ; } void VConfigGridPage::setMaxHorizSnap( double v ) diff --git a/karbon/dialogs/vstrokedlg.cpp b/karbon/dialogs/vstrokedlg.cpp index 27009bf2..5611beaf 100644 --- a/karbon/dialogs/vstrokedlg.cpp +++ b/karbon/dialogs/vstrokedlg.cpp @@ -71,7 +71,7 @@ VStrokeDlg::VStrokeDlg( KarbonPart* part, TQWidget* parent, const char* name ) m_typeOption->insert( button ); m_typeOption->setTitle( i18n( "Type" ) ); mainLayout->addWidget( m_typeOption ); - connect( m_typeOption, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotTypeChanged( int ) ) ); + connect( m_typeOption, TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( slotTypeChanged( int ) ) ); m_capOption = new TQVButtonGroup ( mainWidget ); //button = new TQRadioButton ( i18n( "Butt" ), m_capOption ); @@ -86,7 +86,7 @@ VStrokeDlg::VStrokeDlg( KarbonPart* part, TQWidget* parent, const char* name ) m_capOption->insert( button ); m_capOption->setTitle( i18n( "Cap" ) ); mainLayout->addWidget( m_capOption ); - connect( m_capOption, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotCapChanged( int ) ) ); + connect( m_capOption, TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( slotCapChanged( int ) ) ); m_joinOption = new TQVButtonGroup ( mainWidget ); button = new TQRadioButton ( m_joinOption ); @@ -100,7 +100,7 @@ VStrokeDlg::VStrokeDlg( KarbonPart* part, TQWidget* parent, const char* name ) m_joinOption->insert( button ); m_joinOption->setTitle( i18n( "Join" ) ); mainLayout->addWidget( m_joinOption ); - connect( m_joinOption, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotJoinChanged( int ) ) ); + connect( m_joinOption, TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( slotJoinChanged( int ) ) ); VSelection *sel = part->document().selection(); if( sel && sel->objects().count() > 0 ) // there is a selection, so take the stroke of first selected object @@ -126,7 +126,7 @@ VStrokeDlg::VStrokeDlg( KarbonPart* part, TQWidget* parent, const char* name ) setMainWidget( m_colortab ); disableResize(); - connect (this, TQT_SIGNAL( okClicked( void ) ), this, TQT_SLOT( slotOKClicked ( void ) ) ); + connect (this, TQ_SIGNAL( okClicked( void ) ), this, TQ_SLOT( slotOKClicked ( void ) ) ); } void VStrokeDlg::slotTypeChanged( int ID ) |