diff options
Diffstat (limited to 'kmail/kmsearchpatternedit.cpp')
-rw-r--r-- | kmail/kmsearchpatternedit.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kmail/kmsearchpatternedit.cpp b/kmail/kmsearchpatternedit.cpp index 5f7c96cbd..84005f2b7 100644 --- a/kmail/kmsearchpatternedit.cpp +++ b/kmail/kmsearchpatternedit.cpp @@ -37,7 +37,7 @@ static const struct { { "<recipients>", I18N_NOOP( "All Recipients" ) }, { "<size>", I18N_NOOP( "Size in Bytes" ) }, { "<age in days>", I18N_NOOP( "Age in Days" ) }, - { "<status>", I18N_NOOP( "Message Status" ) }, + { "<status>", I18N_NOOP( "Message tqStatus" ) }, { "Subject", I18N_NOOP( "Subject" ) }, { "From", I18N_NOOP( "From" ) }, { "To", I18N_NOOP( "To" ) }, @@ -54,10 +54,10 @@ static const int SpecialRuleFieldsCount = // //============================================================================= -KMSearchRuleWidget::KMSearchRuleWidget( TQWidget *parent, KMSearchRule *aRule, +KMSearchRuleWidget::KMSearchRuleWidget( TQWidget *tqparent, KMSearchRule *aRule, const char *name, bool headersOnly, bool absoluteDates ) - : TQWidget( parent, name ), + : TQWidget( tqparent, name ), mRuleField( 0 ), mFunctionStack( 0 ), mValueStack( 0 ), @@ -88,7 +88,7 @@ void KMSearchRuleWidget::setHeadersOnly( bool headersOnly ) ( currentText != "<body>")) mRuleField->changeItem( TQString::fromAscii( currentText ), 0 ); else - mRuleField->changeItem( TQString::null, 0 ); + mRuleField->changeItem( TQString(), 0 ); } void KMSearchRuleWidget::initWidget() @@ -146,7 +146,7 @@ void KMSearchRuleWidget::setRule( KMSearchRule *aRule ) mRuleField->changeItem( TQString::tqfromLatin1( aRule->field() ), 0 ); i = 0; } else { // found in the list of predefined fields - mRuleField->changeItem( TQString::null, 0 ); + mRuleField->changeItem( TQString(), 0 ); } mRuleField->setCurrentItem( i ); @@ -282,8 +282,8 @@ void KMSearchRuleWidget::slotRuleFieldChanged( const TQString & field ) // //============================================================================= -KMSearchRuleWidgetLister::KMSearchRuleWidgetLister( TQWidget *parent, const char* name, bool headersOnly, bool absoluteDates ) - : KWidgetLister( 2, FILTER_MAX_RULES, parent, name ) +KMSearchRuleWidgetLister::KMSearchRuleWidgetLister( TQWidget *tqparent, const char* name, bool headersOnly, bool absoluteDates ) + : KWidgetLister( 2, FILTER_MAX_RULES, tqparent, name ) { mRuleList = 0; mHeadersOnly = headersOnly; @@ -321,10 +321,10 @@ void KMSearchRuleWidgetLister::setRuleList( TQPtrList<KMSearchRule> *aList ) mRuleList->removeLast(); } - // HACK to workaround regression in Qt 3.1.3 and Qt 3.2.0 (fixes bug #63537) - setNumberOfShownWidgetsTo( QMAX((int)mRuleList->count(),mMinWidgets)+1 ); + // HACK to workaround regression in TQt 3.1.3 and TQt 3.2.0 (fixes bug #63537) + setNumberOfShownWidgetsTo( TQMAX((int)mRuleList->count(),mMinWidgets)+1 ); // set the right number of widgets - setNumberOfShownWidgetsTo( QMAX((int)mRuleList->count(),mMinWidgets) ); + setNumberOfShownWidgetsTo( TQMAX((int)mRuleList->count(),mMinWidgets) ); // load the actions into the widgets TQPtrListIterator<KMSearchRule> rIt( *mRuleList ); @@ -357,9 +357,9 @@ void KMSearchRuleWidgetLister::reset() slotClear(); } -TQWidget* KMSearchRuleWidgetLister::createWidget( TQWidget *parent ) +TQWidget* KMSearchRuleWidgetLister::createWidget( TQWidget *tqparent ) { - return new KMSearchRuleWidget(parent, 0, 0, mHeadersOnly, mAbsoluteDates); + return new KMSearchRuleWidget(tqparent, 0, 0, mHeadersOnly, mAbsoluteDates); } void KMSearchRuleWidgetLister::clearWidget( TQWidget *aWidget ) @@ -391,15 +391,15 @@ void KMSearchRuleWidgetLister::regenerateRuleListFromWidgets() // //============================================================================= -KMSearchPatternEdit::KMSearchPatternEdit(TQWidget *parent, const char *name, bool headersOnly, bool absoluteDates ) - : TQGroupBox( 1/*columns*/, Horizontal, parent, name ) +KMSearchPatternEdit::KMSearchPatternEdit(TQWidget *tqparent, const char *name, bool headersOnly, bool absoluteDates ) + : TQGroupBox( 1/*columns*/, Horizontal, tqparent, name ) { setTitle( i18n("Search Criteria") ); initLayout( headersOnly, absoluteDates ); } -KMSearchPatternEdit::KMSearchPatternEdit(const TQString & title, TQWidget *parent, const char *name, bool headersOnly, bool absoluteDates) - : TQGroupBox( 1/*column*/, Horizontal, title, parent, name ) +KMSearchPatternEdit::KMSearchPatternEdit(const TQString & title, TQWidget *tqparent, const char *name, bool headersOnly, bool absoluteDates) + : TQGroupBox( 1/*column*/, Horizontal, title, tqparent, name ) { initLayout( headersOnly, absoluteDates ); } |