kmail
kmsearchpattern.cpp File Reference
#include <config.h>
#include "kmaddrbook.h"
#include "kmsearchpattern.h"
#include "kmmsgdict.h"
#include "filterlog.h"
#include "kmkernel.h"
#include "kmfolder.h"
#include <libemailfunctions/email.h>
#include <kglobal.h>
#include <klocale.h>
#include <kdebug.h>
#include <kconfig.h>
#include <kabc/stdaddressbook.h>
#include <qregexp.h>
#include <mimelib/string.h>
#include <mimelib/boyermor.h>
#include <assert.h>
Include dependency graph for kmsearchpattern.cpp:
Go to the source code of this file.
Functions | |
QString | englishNameForStatus (const KMMsgStatus &status) |
Variables | |
static const char * | funcConfigNames [] |
static const int | numFuncConfigNames = sizeof funcConfigNames / sizeof *funcConfigNames |
static const int | numStatusNames = sizeof statusNames / sizeof ( struct _statusNames ) |
static struct _statusNames | statusNames [] |
Function Documentation
QString englishNameForStatus | ( | const KMMsgStatus & | status | ) |
Definition at line 613 of file kmsearchpattern.cpp.
Variable Documentation
const char* funcConfigNames[] [static] |
Initial value:
{ "contains", "contains-not", "equals", "not-equal", "regexp", "not-regexp", "greater", "less-or-equal", "less", "greater-or-equal", "is-in-addressbook", "is-not-in-addressbook" , "is-in-category", "is-not-in-category", "has-attachment", "has-no-attachment"}
Definition at line 33 of file kmsearchpattern.cpp.
const int numFuncConfigNames = sizeof funcConfigNames / sizeof *funcConfigNames [static] |
Definition at line 38 of file kmsearchpattern.cpp.
const int numStatusNames = sizeof statusNames / sizeof ( struct _statusNames ) [static] |
Definition at line 64 of file kmsearchpattern.cpp.
struct _statusNames statusNames[] [static] |
Initial value:
{ { "Important", KMMsgStatusFlag }, { "New", KMMsgStatusNew }, { "Unread", KMMsgStatusUnread | KMMsgStatusNew }, { "Read", KMMsgStatusRead }, { "Old", KMMsgStatusOld }, { "Deleted", KMMsgStatusDeleted }, { "Replied", KMMsgStatusReplied }, { "Forwarded", KMMsgStatusForwarded }, { "Queued", KMMsgStatusQueued }, { "Sent", KMMsgStatusSent }, { "Watched", KMMsgStatusWatched }, { "Ignored", KMMsgStatusIgnored }, { "To Do", KMMsgStatusTodo }, { "Spam", KMMsgStatusSpam }, { "Ham", KMMsgStatusHam }, { "Has Attachment", KMMsgStatusHasAttach } }
Definition at line 45 of file kmsearchpattern.cpp.