[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kmail
From: Ingo Klöcker <ingo.kloecker () epost ! de>
Date: 2003-03-31 20:37:50
[Download RAW message or body]
CVS commit by kloecker:
Change <size> -> <size in bytes> in search pattern. Patch by Malte Stretz \
<msquadrat.nospamplease@gmx.net>.
M +2 -2 kmsearchpattern.cpp 1.25
M +1 -1 kmsearchpattern.h 1.11
M +2 -2 kmsearchpatternedit.cpp 1.39
--- kdepim/kmail/kmsearchpattern.h #1.10:1.11
@@ -107,5 +107,5 @@ public:
@li <any header>: Try to match against any header field.
@li <recipients>: Try to match against both To: and Cc: header fields.
- @li <size>: Try to match against size of message (numerical).
+ @li <size in bytes>: Try to match against size of message (numerical).
@li <age in days>: Try to match against age of message (numerical).
*/
--- kdepim/kmail/kmsearchpattern.cpp #1.24:1.25
@@ -171,5 +171,5 @@ bool KMSearchRule::matches(const KMMessa
//
msgContents = msg->headerField("To") + msg->headerField("Cc");
- } else if( mField == "<size>" ) {
+ } else if( mField == "<size in bytes>" ) {
numerical = TRUE;
numericalMsgContents = int(msg->msgLength());
@@ -289,5 +289,5 @@ bool KMSearchRule::isEmpty() const
bool ok;
- if ( mField == "<size>" || mField == "<age in days>" ) {
+ if ( mField == "<size in bytes>" || mField == "<age in days>" ) {
ok = FALSE;
mContents.toInt(&ok);
--- kdepim/kmail/kmsearchpatternedit.cpp #1.38:1.39
@@ -146,5 +146,5 @@ QString KMSearchRuleWidget::ruleFieldToE
if (i18nVal == i18n("<message>")) return QString::fromLatin1("<message>");
if (i18nVal == i18n("<any header>")) return QString::fromLatin1("<any header>");
- if (i18nVal == i18n("<size>")) return QString::fromLatin1("<size>");
+ if (i18nVal == i18n("<size in bytes>")) return QString::fromLatin1("<size in \
bytes>"); if (i18nVal == i18n("<age in days>")) return QString::fromLatin1("<age in \
days>"); return i18nVal;
@@ -194,5 +194,5 @@ void KMSearchRuleWidget::initLists(bool
mFilterFieldList.append(i18n("<any header>"));
mFilterFieldList.append(i18n("<recipients>"));
- mFilterFieldList.append(i18n("<size>"));
+ mFilterFieldList.append(i18n("<size in bytes>"));
if ( !absoluteDates ) mFilterFieldList.append(i18n("<age in days>"));
// these others only represent message headers and you can add to
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic