Types Namespace Reference

All special types for KShowMail. More...

Classes

struct  DownloadActionParams_Type
 This struct is for use in MailToDownloadMap_Type and holds some parameters about the mail for downloading. More...
struct  FilterCriteria_Type
 Contains all values of a filter criteria. More...

Typedefs

typedef QList< int > MailNumberList_Type
typedef QMap< QString, bool > AccountTaskMap_Type
typedef QMap< int,
DownloadActionParams_Type
MailToDownloadMap_Type
 This map is used by ConfigElem and ShowRecord to hold a list of mail numbers which shall be downloaded for some filter actions; at time for moving and spam check.
typedef list< FilterCriteria_TypeFilterCriteriaList_Type

Enumerations

enum  State_Type {
  idle, deleting, configure, showing,
  refreshing
}
enum  AccountState_Type { AccountIdle, AccountDeleting, AccountDownloading, AccountRefreshing }
enum  FilterAction_Type {
  FActPass, FActDelete, FActMark, FActMove,
  FActSpamcheck, FActIgnore, FActNone
}
enum  TransferSecurity_Type { TransSecNone, TransSecSSL, TransSecTLS }
enum  PasswordStorage_Type { PwStorageNone, PwStorageFile, PwStorageKWallet }
enum  AccountSort_Type {
  AccSortActive, AccSortName, AccSortServer, AccSortUser,
  AccSortNrMess, AccSortSize
}
enum  MailSort_Type {
  MailSortNumber, MailSortState, MailSortAccount, MailSortFrom,
  MailSortTo, MailSortSubject, MailSortDate, MailSortSize,
  MailSortContent
}
enum  LogViewSort {
  LogViewSortKind, LogViewSortDate, LogViewSortFrom, LogViewSortAccount,
  LogViewSortSubject, LogViewSortMailbox
}
 

Log view sorting.

More...
enum  KindOfMailDeleting { DelManual, DelFilter }
 

This is the kind of mail deleting.

More...

Detailed Description

All special types for KShowMail.


Typedef Documentation

typedef QMap<QString, bool> Types::AccountTaskMap_Type

Map to notice which accounts need to get an order to do a task. The Key is the account name and the data a boolean. TRUE means the task was ordered, FALSE the task was ended.

Definition at line 73 of file types.h.

List of filter criterias.

Definition at line 120 of file types.h.

typedef QList<int> Types::MailNumberList_Type

List of mail numbers. It is a QValueList of integers.

Definition at line 66 of file types.h.

This map is used by ConfigElem and ShowRecord to hold a list of mail numbers which shall be downloaded for some filter actions; at time for moving and spam check.

Definition at line 103 of file types.h.


Enumeration Type Documentation

Account list sorting

The members of this enum represent the columns of the account list which shall be sorted.

Enumerator:
AccSortActive 

sort by active state

AccSortName 

sort by name

AccSortServer 

sort by server

AccSortUser 

sort by user

AccSortNrMess 

sort by the number of messages

AccSortSize 

sort by the total size of messages

Definition at line 146 of file types.h.

State of an account.

Enumerator:
AccountIdle 

it's doing nothing

AccountDeleting 

a deletion is running

AccountDownloading 

the account is downloading mail bodies

AccountRefreshing 

the account is refreshing its mail list

Definition at line 52 of file types.h.

Actions returned by filters.

Enumerator:
FActPass 

Mail has passed the filter check. It can showed in the list.

FActDelete 

Undesirable mail. Delete it.

FActMark 

Probably undesirable mail. Mark it in the mail list.

FActMove 

Move the mail to a certain mail box. The name of the box will returned by a further parameter.

FActSpamcheck 

This mail shall be forwared to a spam filter, which checks the whole mail including body.

FActIgnore 

This mail shall not be shown.

FActNone 

The mail doesn't match up with the filter. Perform the next one.

Definition at line 78 of file types.h.

This is the kind of mail deleting.

Enumerator:
DelManual 

manualy deleted by user

DelFilter 

deleted by filter

Definition at line 191 of file types.h.

Log view sorting.

The members of this enum represent the columns of the log view list which shall be sorted.

Enumerator:
LogViewSortKind 

sort by the kind of deleting or moving

LogViewSortDate 

sort by date

LogViewSortFrom 

sort by sender

LogViewSortAccount 

sort by account

LogViewSortSubject 

sort by subject

LogViewSortMailbox 

sort by mailbox

Definition at line 178 of file types.h.

Mail list sorting

The members of this enum represent the columns of the mail list which shall be sorted.

Enumerator:
MailSortNumber 

sort by mail number

MailSortState 

sort by mail state

MailSortAccount 

sort by account

MailSortFrom 

sort by sender

MailSortTo 

sort by addressee

MailSortSubject 

sort by subject

MailSortDate 

sort by date

MailSortSize 

sort by size

MailSortContent 

sort by content type

Definition at line 160 of file types.h.

Password Storage Type

Enumerator:
PwStorageNone 

no password storage

PwStorageFile 

save password into the config file

PwStorageKWallet 

use KWallet

Definition at line 135 of file types.h.

State of the application during running time.

Enumerator:
idle 

it's doing nothing

deleting 

it's deleting a message on the server

configure 

the user is configuring the application or the mail or just the header of the mail is being shown

showing 

it's downloading and showing a mail

refreshing 

it's refreshing the mail lists

Definition at line 36 of file types.h.

Transfer Security Types

Enumerator:
TransSecNone 

no transfer security

TransSecSSL 

use SSL

TransSecTLS 

use TLS

Definition at line 125 of file types.h.

Generated on Sun Mar 13 15:27:11 2011 for KShowmail by  doxygen 1.6.3