summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrBackDia.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:30:32 +0900
committerMichele Calgaro <[email protected]>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /kpresenter/KPrBackDia.cpp
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kpresenter/KPrBackDia.cpp')
-rw-r--r--kpresenter/KPrBackDia.cpp64
1 files changed, 32 insertions, 32 deletions
diff --git a/kpresenter/KPrBackDia.cpp b/kpresenter/KPrBackDia.cpp
index a92d5990..012f7eaa 100644
--- a/kpresenter/KPrBackDia.cpp
+++ b/kpresenter/KPrBackDia.cpp
@@ -99,8 +99,8 @@ KPrBackDialog::KPrBackDialog( TQWidget* parent, const char* name,
if ( !m_page->isMasterPage() )
{
m_useMasterBackground = new TQCheckBox( i18n( "Use slide master background" ), page );
- connect( m_useMasterBackground, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( updateConfiguration() ) );
+ connect( m_useMasterBackground, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( updateConfiguration() ) );
m_useMasterBackground->setChecked( m_page->useMasterBackground() );
vbox->addWidget( m_useMasterBackground );
}
@@ -110,8 +110,8 @@ KPrBackDialog::KPrBackDialog( TQWidget* parent, const char* name,
backCombo->insertItem( i18n( "Color/Gradient" ) );
backCombo->insertItem( i18n( "Picture" ) );
backCombo->setCurrentItem( (int)backType );
- connect( backCombo, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( changeComboText(int) ) );
+ connect( backCombo, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( changeComboText(int) ) );
vbox->addWidget( backCombo );
@@ -135,34 +135,34 @@ KPrBackDialog::KPrBackDialog( TQWidget* parent, const char* name,
cType->insertItem( i18n( "PipeCross Gradient" ) );
cType->insertItem( i18n( "Pyramid Gradient" ) );
cType->setCurrentItem( _bcType );
- connect( cType, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( updateConfiguration() ) );
+ connect( cType, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( updateConfiguration() ) );
color1Choose = new KColorButton( backColor1, colorTab );
- connect( color1Choose, TQT_SIGNAL( changed( const TQColor& ) ),
- this, TQT_SLOT( updateConfiguration() ) );
+ connect( color1Choose, TQ_SIGNAL( changed( const TQColor& ) ),
+ this, TQ_SLOT( updateConfiguration() ) );
color2Choose = new KColorButton( backColor2, colorTab );
- connect( color2Choose, TQT_SIGNAL( changed( const TQColor& ) ),
- this, TQT_SLOT( updateConfiguration() ) );
+ connect( color2Choose, TQ_SIGNAL( changed( const TQColor& ) ),
+ this, TQ_SLOT( updateConfiguration() ) );
unbalanced = new TQCheckBox( i18n( "Unbalanced" ), colorTab );
- connect( unbalanced, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( updateConfiguration() ) );
+ connect( unbalanced, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( updateConfiguration() ) );
unbalanced->setChecked( _unbalanced );
labXFactor =new TQLabel( i18n( "X-factor:" ), colorTab );
xfactor = new TQSlider( -200, 200, 1, 100, TQt::Horizontal, colorTab );
- connect( xfactor, TQT_SIGNAL( valueChanged( int ) ),
- this, TQT_SLOT( updateConfiguration() ) );
+ connect( xfactor, TQ_SIGNAL( valueChanged( int ) ),
+ this, TQ_SLOT( updateConfiguration() ) );
xfactor->setValue( _xfactor );
labYFactor=new TQLabel( i18n( "Y-factor:" ), colorTab );
yfactor = new TQSlider( -200, 200, 1, 100, TQt::Horizontal, colorTab );
- connect( yfactor, TQT_SIGNAL( valueChanged( int ) ),
- this, TQT_SLOT( updateConfiguration() ) );
+ connect( yfactor, TQ_SIGNAL( valueChanged( int ) ),
+ this, TQ_SLOT( updateConfiguration() ) );
yfactor->setValue( _yfactor );
tabWidget->addTab( colorTab, i18n( "Color/Gradient" ) );
@@ -181,8 +181,8 @@ KPrBackDialog::KPrBackDialog( TQWidget* parent, const char* name,
picView->insertItem( i18n( "Centered" ) );
picView->insertItem( i18n( "Tiled" ) );
picView->setCurrentItem( (int)backPicView );
- connect( picView, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( updateConfiguration() ) );
+ connect( picView, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( updateConfiguration() ) );
picChooseLabel = new TQLabel( i18n("&Location:"), picTab );
picChooseLabel->setFixedHeight( picChooseLabel->sizeHint().height() );
@@ -190,10 +190,10 @@ KPrBackDialog::KPrBackDialog( TQWidget* parent, const char* name,
picChoose = new KURLRequester( picTab, "picChoose" );
picChoose->setFixedHeight( picChoose->sizeHint().height() );
picChoose->setMode( KFile::ExistingOnly );
- connect( picChoose, TQT_SIGNAL( openFileDialog( KURLRequester * ) ),
- TQT_SLOT( aboutToSelectPic() ) );
- connect( picChoose, TQT_SIGNAL( urlSelected( const TQString & ) ),
- TQT_SLOT( afterSelectPic( const TQString & ) ) );
+ connect( picChoose, TQ_SIGNAL( openFileDialog( KURLRequester * ) ),
+ TQ_SLOT( aboutToSelectPic() ) );
+ connect( picChoose, TQ_SIGNAL( urlSelected( const TQString & ) ),
+ TQ_SLOT( afterSelectPic( const TQString & ) ) );
picChooseLabel->setBuddy( picChoose );
@@ -208,18 +208,18 @@ KPrBackDialog::KPrBackDialog( TQWidget* parent, const char* name,
// ------------------------ buttons
- connect( this, TQT_SIGNAL( okClicked() ),
- this, TQT_SLOT( Ok() ) );
- connect( this, TQT_SIGNAL( applyClicked() ),
- this, TQT_SLOT( Apply() ) );
- connect( this, TQT_SIGNAL( user1Clicked() ),
- this, TQT_SLOT( ApplyGlobal() ) );
+ connect( this, TQ_SIGNAL( okClicked() ),
+ this, TQ_SLOT( Ok() ) );
+ connect( this, TQ_SIGNAL( applyClicked() ),
+ this, TQ_SLOT( Apply() ) );
+ connect( this, TQ_SIGNAL( user1Clicked() ),
+ this, TQ_SLOT( ApplyGlobal() ) );
- connect( this, TQT_SIGNAL( user2Clicked() ),
- this, TQT_SLOT( slotReset() ) );
+ connect( this, TQ_SIGNAL( user2Clicked() ),
+ this, TQ_SLOT( slotReset() ) );
- connect( this, TQT_SIGNAL( okClicked() ),
- this, TQT_SLOT( accept() ) );
+ connect( this, TQ_SIGNAL( okClicked() ),
+ this, TQ_SLOT( accept() ) );
setButtonText(KDialogBase::User1,i18n( "Apply &Global" ));
setButtonText(KDialogBase::User2,i18n( "&Reset" ));
picChanged = true;