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/filterlogdlg.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/filterlogdlg.cpp')
-rw-r--r-- | kmail/filterlogdlg.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kmail/filterlogdlg.cpp b/kmail/filterlogdlg.cpp index eaaefd796..6ea6e29d9 100644 --- a/kmail/filterlogdlg.cpp +++ b/kmail/filterlogdlg.cpp @@ -73,8 +73,8 @@ FilterLogDialog::FilterLogDialog( TQWidget * parent ) mLogActiveBox = new TQCheckBox( i18n("&Log filter activities"), page ); mLogActiveBox->setChecked( FilterLog::instance()->isLogging() ); - connect( mLogActiveBox, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSwitchLogState(void)) ); + connect( mLogActiveBox, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSwitchLogState(void)) ); TQWhatsThis::add( mLogActiveBox, i18n( "You can turn logging of filter activities on and off here. " "Of course, log data is collected and shown only when logging " @@ -82,15 +82,15 @@ FilterLogDialog::FilterLogDialog( TQWidget * parent ) mLogDetailsBox = new TQVGroupBox( i18n( "Logging Details" ), page ); mLogDetailsBox->setEnabled( mLogActiveBox->isChecked() ); - connect( mLogActiveBox, TQT_SIGNAL( toggled( bool ) ), - mLogDetailsBox, TQT_SLOT( setEnabled( bool ) ) ); + connect( mLogActiveBox, TQ_SIGNAL( toggled( bool ) ), + mLogDetailsBox, TQ_SLOT( setEnabled( bool ) ) ); mLogPatternDescBox = new TQCheckBox( i18n("Log pattern description"), mLogDetailsBox ); mLogPatternDescBox->setChecked( FilterLog::instance()->isContentTypeEnabled( FilterLog::patternDesc ) ); - connect( mLogPatternDescBox, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotChangeLogDetail(void)) ); + connect( mLogPatternDescBox, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotChangeLogDetail(void)) ); // TODO //TQWhatsThis::add( mLogPatternDescBox, // i18n( "" ) ); @@ -99,8 +99,8 @@ FilterLogDialog::FilterLogDialog( TQWidget * parent ) mLogDetailsBox ); mLogRuleEvaluationBox->setChecked( FilterLog::instance()->isContentTypeEnabled( FilterLog::ruleResult ) ); - connect( mLogRuleEvaluationBox, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotChangeLogDetail(void)) ); + connect( mLogRuleEvaluationBox, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotChangeLogDetail(void)) ); TQWhatsThis::add( mLogRuleEvaluationBox, i18n( "You can control the feedback in the log concerning the " "evaluation of the filter rules of applied filters: " @@ -113,8 +113,8 @@ FilterLogDialog::FilterLogDialog( TQWidget * parent ) mLogDetailsBox ); mLogPatternResultBox->setChecked( FilterLog::instance()->isContentTypeEnabled( FilterLog::patternResult ) ); - connect( mLogPatternResultBox, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotChangeLogDetail(void)) ); + connect( mLogPatternResultBox, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotChangeLogDetail(void)) ); // TODO //TQWhatsThis::add( mLogPatternResultBox, // i18n( "" ) ); @@ -123,8 +123,8 @@ FilterLogDialog::FilterLogDialog( TQWidget * parent ) mLogDetailsBox ); mLogFilterActionBox->setChecked( FilterLog::instance()->isContentTypeEnabled( FilterLog::appliedAction ) ); - connect( mLogFilterActionBox, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotChangeLogDetail(void)) ); + connect( mLogFilterActionBox, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotChangeLogDetail(void)) ); // TODO //TQWhatsThis::add( mLogFilterActionBox, // i18n( "" ) ); @@ -138,8 +138,8 @@ FilterLogDialog::FilterLogDialog( TQWidget * parent ) mLogMemLimitSpin->setValue( FilterLog::instance()->getMaxLogSize() / 1024 ); mLogMemLimitSpin->setSuffix( " KB" ); mLogMemLimitSpin->setSpecialValueText( i18n("unlimited") ); - connect( mLogMemLimitSpin, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotChangeLogMemLimit(int)) ); + connect( mLogMemLimitSpin, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotChangeLogMemLimit(int)) ); TQWhatsThis::add( mLogMemLimitSpin, i18n( "Collecting log data uses memory to temporarily store the " "log data; here you can limit the maximum amount of memory " @@ -147,12 +147,12 @@ FilterLogDialog::FilterLogDialog( TQWidget * parent ) "this limit then the oldest data will be discarded until " "the limit is no longer exceeded. " ) ); - connect(FilterLog::instance(), TQT_SIGNAL(logEntryAdded(TQString)), - this, TQT_SLOT(slotLogEntryAdded(TQString))); - connect(FilterLog::instance(), TQT_SIGNAL(logShrinked(void)), - this, TQT_SLOT(slotLogShrinked(void))); - connect(FilterLog::instance(), TQT_SIGNAL(logStateChanged(void)), - this, TQT_SLOT(slotLogStateChanged(void))); + connect(FilterLog::instance(), TQ_SIGNAL(logEntryAdded(TQString)), + this, TQ_SLOT(slotLogEntryAdded(TQString))); + connect(FilterLog::instance(), TQ_SIGNAL(logShrinked(void)), + this, TQ_SLOT(slotLogShrinked(void))); + connect(FilterLog::instance(), TQ_SIGNAL(logStateChanged(void)), + this, TQ_SLOT(slotLogStateChanged(void))); setInitialSize( TQSize( 500, 500 ) ); #if !KDE_IS_VERSION( 3, 2, 91 ) |