summaryrefslogtreecommitdiffstats
path: root/kmail/kmfilterdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfilterdlg.cpp')
-rw-r--r--kmail/kmfilterdlg.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/kmfilterdlg.cpp b/kmail/kmfilterdlg.cpp
index 5a9ed317..d484102a 100644
--- a/kmail/kmfilterdlg.cpp
+++ b/kmail/kmfilterdlg.cpp
@@ -339,11 +339,11 @@ KMFilterDlg::KMFilterDlg(TQWidget* parent, const char* name, bool popFilter, boo
connect( this, TQT_SIGNAL(finished()),
this, TQT_SLOT(slotFinished()) );
- KConfigGroup tqgeometry( KMKernel::config(), "Geometry");
+ KConfigGroup geometry( KMKernel::config(), "Geometry");
const char * configKey
= bPopFilter ? "popFilterDialogSize" : "filterDialogSize";
- if ( tqgeometry.hasKey( configKey ) )
- resize( tqgeometry.readSizeEntry( configKey ) );
+ if ( geometry.hasKey( configKey ) )
+ resize( geometry.readSizeEntry( configKey ) );
else
adjustSize();
@@ -356,8 +356,8 @@ void KMFilterDlg::slotFinished() {
}
void KMFilterDlg::slotSaveSize() {
- KConfigGroup tqgeometry( KMKernel::config(), "Geometry" );
- tqgeometry.writeEntry( bPopFilter ? "popFilterDialogSize" : "filterDialogSize", size() );
+ KConfigGroup geometry( KMKernel::config(), "Geometry" );
+ geometry.writeEntry( bPopFilter ? "popFilterDialogSize" : "filterDialogSize", size() );
}
/** Set action of popFilter */
@@ -558,7 +558,7 @@ void KMFilterDlg::slotUpdateAccountList()
TQCheckListItem *listItem =
new TQCheckListItem( mAccountList, top, a->name(), TQCheckListItem::CheckBox );
listItem->setText( 1, a->type() );
- listItem->setText( 2, TQString( "%1" ).tqarg( a->id() ) );
+ listItem->setText( 2, TQString( "%1" ).arg( a->id() ) );
if ( mFilter )
listItem->setOn( mFilter->applyOnAccount( a->id() ) );
top = listItem;
@@ -682,7 +682,7 @@ void KMFilterListBox::createFilter( const TQCString & field,
KMFilter *newFilter = new KMFilter(0, bPopFilter);
newFilter->pattern()->append( newRule );
- newFilter->pattern()->setName( TQString("<%1>:%2").tqarg( TQString(field) ).tqarg( TQString(value) ) );
+ newFilter->pattern()->setName( TQString("<%1>:%2").arg( TQString(field) ).arg( TQString(value) ) );
KMFilterActionDesc *desc = (*kmkernel->filterActionDict())["transfer"];
if ( desc )
@@ -712,7 +712,7 @@ void KMFilterListBox::slotUpdateFilterName()
if ( mFilterList.at(mIdxSelItem)->isAutoNaming() ) {
// auto-naming of patterns
if ( !p->isEmpty() && p->first() && !p->first()->field().stripWhiteSpace().isEmpty() )
- shouldBeName = TQString( "<%1>: %2" ).tqarg( TQString(p->first()->field()) ).tqarg( TQString(p->first()->contents()) );
+ shouldBeName = TQString( "<%1>: %2" ).arg( TQString(p->first()->field()) ).arg( TQString(p->first()->contents()) );
else
shouldBeName = "<" + i18n("unnamed") + ">";
p->setName( shouldBeName );
@@ -946,7 +946,7 @@ void KMFilterListBox::slotRename()
(
i18n("Rename Filter"),
i18n("Rename filter \"%1\" to:\n(leave the field empty for automatic naming)")
- .tqarg( filter->pattern()->name() ) /*label*/,
+ .arg( filter->pattern()->name() ) /*label*/,
filter->pattern()->name() /* initial value */,
&okPressed, topLevelWidget(), 0, validator
);