diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kpresenter/KPrBrushProperty.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kpresenter/KPrBrushProperty.cpp')
| -rw-r--r-- | kpresenter/KPrBrushProperty.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kpresenter/KPrBrushProperty.cpp b/kpresenter/KPrBrushProperty.cpp index d69479e03..1d7a2d6a6 100644 --- a/kpresenter/KPrBrushProperty.cpp +++ b/kpresenter/KPrBrushProperty.cpp @@ -52,8 +52,8 @@ KPrBrushProperty::KPrBrushProperty( TQWidget *parent, const char *name, const KP m_stack = new TQWidgetStack( this ); layout->addMultiCellWidget( m_stack, 1, 1, 0, 1 ); - connect( m_typeCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotTypeChanged( int ) ) ); + connect( m_typeCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotTypeChanged( int ) ) ); m_brushUI = new BrushPropertyUI( m_stack ); @@ -77,10 +77,10 @@ KPrBrushProperty::KPrBrushProperty( TQWidget *parent, const char *name, const KP TQWhatsThis::add(m_preview_color, i18n( "This displays a preview of your choices." ) ); hbox->addWidget(m_preview_color); - connect( m_brushUI->styleCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotBrushChanged() ) ); - connect( m_brushUI->colorChooser, TQT_SIGNAL( changed( const TQColor& ) ), - this, TQT_SLOT( slotBrushChanged() ) ); + connect( m_brushUI->styleCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotBrushChanged() ) ); + connect( m_brushUI->colorChooser, TQ_SIGNAL( changed( const TQColor& ) ), + this, TQ_SLOT( slotBrushChanged() ) ); m_stack->addWidget( m_brushUI, 0 ); @@ -98,18 +98,18 @@ KPrBrushProperty::KPrBrushProperty( TQWidget *parent, const char *name, const KP hbox = new TQHBoxLayout( m_gradientUI->previewPanel ); hbox->addWidget(m_preview_gradient); - connect( m_gradientUI->styleCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( slotBackColorTypeChanged() ) ); - connect( m_gradientUI->color1Chooser, TQT_SIGNAL( changed( const TQColor& ) ), - this, TQT_SLOT( slotColor1Changed() ) ); - connect( m_gradientUI->color2Chooser, TQT_SIGNAL( changed( const TQColor& ) ), - this, TQT_SLOT( slotColor2Changed() ) ); - connect( m_gradientUI->unbalancedCheckBox, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotUnbalancedChanged() ) ); - connect( m_gradientUI->xSlider, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotXFactorChanged() ) ); - connect( m_gradientUI->ySlider, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT( slotYFactorChanged() ) ); + connect( m_gradientUI->styleCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( slotBackColorTypeChanged() ) ); + connect( m_gradientUI->color1Chooser, TQ_SIGNAL( changed( const TQColor& ) ), + this, TQ_SLOT( slotColor1Changed() ) ); + connect( m_gradientUI->color2Chooser, TQ_SIGNAL( changed( const TQColor& ) ), + this, TQ_SLOT( slotColor2Changed() ) ); + connect( m_gradientUI->unbalancedCheckBox, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotUnbalancedChanged() ) ); + connect( m_gradientUI->xSlider, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotXFactorChanged() ) ); + connect( m_gradientUI->ySlider, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT( slotYFactorChanged() ) ); m_stack->addWidget( m_gradientUI, 1 ); m_stack->addWidget( new TQFrame(), 2 ); // the transparent case |
