diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:43:48 +0900 |
commit | 3b3f9ec8f31978030c17309fae48335bea5c1587 (patch) | |
tree | 0b493383a1501860371aacd792ec6fc08d595824 /kmail/xfaceconfigurator.cpp | |
parent | 99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff) | |
download | tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmail/xfaceconfigurator.cpp')
-rw-r--r-- | kmail/xfaceconfigurator.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kmail/xfaceconfigurator.cpp b/kmail/xfaceconfigurator.cpp index 593e86edc..bc77041a8 100644 --- a/kmail/xfaceconfigurator.cpp +++ b/kmail/xfaceconfigurator.cpp @@ -126,17 +126,17 @@ namespace KMail { TQWidgetStack * widgetStack = new TQWidgetStack( this ); widgetStack->setEnabled( false ); // since !mEnableCheck->isChecked() vlay->addWidget( widgetStack, 1 ); - connect( mSourceCombo, TQT_SIGNAL(highlighted(int)), - widgetStack, TQT_SLOT(raiseWidget(int)) ); - connect( mEnableCheck, TQT_SIGNAL(toggled(bool)), - mSourceCombo, TQT_SLOT(setEnabled(bool)) ); - connect( mEnableCheck, TQT_SIGNAL(toggled(bool)), - widgetStack, TQT_SLOT(setEnabled(bool)) ); - connect( mEnableCheck, TQT_SIGNAL(toggled(bool)), - label, TQT_SLOT(setEnabled(bool)) ); + connect( mSourceCombo, TQ_SIGNAL(highlighted(int)), + widgetStack, TQ_SLOT(raiseWidget(int)) ); + connect( mEnableCheck, TQ_SIGNAL(toggled(bool)), + mSourceCombo, TQ_SLOT(setEnabled(bool)) ); + connect( mEnableCheck, TQ_SIGNAL(toggled(bool)), + widgetStack, TQ_SLOT(setEnabled(bool)) ); + connect( mEnableCheck, TQ_SIGNAL(toggled(bool)), + label, TQ_SLOT(setEnabled(bool)) ); // The focus might be still in the widget that is disabled - connect( mEnableCheck, TQT_SIGNAL(clicked()), - mEnableCheck, TQT_SLOT(setFocus()) ); + connect( mEnableCheck, TQ_SIGNAL(clicked()), + mEnableCheck, TQ_SLOT(setFocus()) ); int pageno = 0; // page 0: create X-Face from image file or address book entry @@ -151,16 +151,16 @@ namespace KMail { "A light background helps improve the result." ) ); mFromFileBtn->setAutoDefault( false ); page_vlay->addWidget( mFromFileBtn, 1 ); - connect( mFromFileBtn, TQT_SIGNAL(released()), - this, TQT_SLOT(slotSelectFile()) ); + connect( mFromFileBtn, TQ_SIGNAL(released()), + this, TQ_SLOT(slotSelectFile()) ); mFromAddrbkBtn = new TQPushButton( i18n("Set From Address Book"), page ); TQWhatsThis::add( mFromAddrbkBtn, i18n( "You can use a scaled-down version of the picture " "you have set in your address book entry." ) ); mFromAddrbkBtn->setAutoDefault( false ); page_vlay->addWidget( mFromAddrbkBtn, 1 ); - connect( mFromAddrbkBtn, TQT_SIGNAL(released()), - this, TQT_SLOT(slotSelectFromAddressbook()) ); + connect( mFromAddrbkBtn, TQ_SIGNAL(released()), + this, TQ_SLOT(slotSelectFromAddressbook()) ); label1 = new TQLabel( i18n("<qt>KMail can send a small (48x48 pixels), low-quality, " "monochrome picture with every message. " "For example, this could be a picture of you or a glyph. " @@ -185,7 +185,7 @@ namespace KMail { page_vlay->addWidget( label2 ); - connect(mTextEdit, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotUpdateXFace())); + connect(mTextEdit, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotUpdateXFace())); } XFaceConfigurator::~XFaceConfigurator() { |