digiKam
|
Public Types | |
enum | ImageFormat { JPEG = 0 , PNG } |
enum | MailClient { BALSA = 0 , CLAWSMAIL , EVOLUTION , KMAIL , NETSCAPE , OUTLOOK , SYLPHEED , THUNDERBIRD } |
enum | Selection { IMAGES = 0 , ALBUMS } |
Public Member Functions | |
qint64 | attachementLimit () const |
QString | format () const |
MailSettings () | |
QUrl | mailUrl (const QUrl &orgUrl) const |
void | readSettings (KConfigGroup &group) |
void | setMailUrl (const QUrl &orgUrl, const QUrl &emailUrl) |
void | writeSettings (KConfigGroup &group) |
~MailSettings () | |
Static Public Member Functions | |
static QMap< ImageFormat, QString > | imageFormatNames () |
static QMap< MailClient, QString > | mailClientNames () |
Public Attributes | |
bool | addFileProperties |
qint64 | attLimitInMbytes |
QMap< MailClient, QString > | binPaths |
Map of paths for all mail clients. More... | |
int | imageCompression |
ImageFormat | imageFormat |
bool | imagesChangeProp |
int | imageSize |
QList< QUrl > | inputImages |
Selected items to send. More... | |
QMap< QUrl, QUrl > | itemsList |
Map of original item and attached item (can be resized). More... | |
MailClient | mailProgram |
bool | removeMetadata |
Selection | selMode |
Items selection mode. More... | |
QString | tempPath |
Enumerator | |
---|---|
BALSA | |
CLAWSMAIL | |
EVOLUTION | |
KMAIL | |
NETSCAPE | Messenger (https://en.wikipedia.org/wiki/Netscape_Messenger_9) |
OUTLOOK | |
SYLPHEED | |
THUNDERBIRD |
|
explicit |
DigikamGenericSendByMailPlugin::MailSettings::~MailSettings | ( | ) |
qint64 DigikamGenericSendByMailPlugin::MailSettings::attachementLimit | ( | ) | const |
Return the attachment limit in bytes
References attLimitInMbytes.
QString DigikamGenericSendByMailPlugin::MailSettings::format | ( | ) | const |
References imageFormat, and JPEG.
Referenced by DigikamGenericSendByMailPlugin::ImageResizeThread::resize().
|
static |
|
static |
Helper methods to fill combobox from GUI.
References BALSA, CLAWSMAIL, EVOLUTION, KMAIL, NETSCAPE, OUTLOOK, SYLPHEED, and THUNDERBIRD.
Referenced by DigikamGenericSendByMailPlugin::MailSettingsPage::MailSettingsPage().
QUrl DigikamGenericSendByMailPlugin::MailSettings::mailUrl | ( | const QUrl & | orgUrl | ) | const |
References itemsList.
void DigikamGenericSendByMailPlugin::MailSettings::readSettings | ( | KConfigGroup & | group | ) |
Read and write settings in config file between sessions.
References addFileProperties, attLimitInMbytes, imageCompression, imageFormat, IMAGES, imagesChangeProp, imageSize, JPEG, mailProgram, removeMetadata, selMode, and THUNDERBIRD.
void DigikamGenericSendByMailPlugin::MailSettings::setMailUrl | ( | const QUrl & | orgUrl, |
const QUrl & | emailUrl | ||
) |
References itemsList.
void DigikamGenericSendByMailPlugin::MailSettings::writeSettings | ( | KConfigGroup & | group | ) |
References addFileProperties, attLimitInMbytes, imageCompression, imageFormat, imagesChangeProp, imageSize, mailProgram, removeMetadata, and selMode.
bool DigikamGenericSendByMailPlugin::MailSettings::addFileProperties |
Referenced by readSettings(), and writeSettings().
qint64 DigikamGenericSendByMailPlugin::MailSettings::attLimitInMbytes |
Referenced by attachementLimit(), readSettings(), and writeSettings().
QMap<MailClient, QString> DigikamGenericSendByMailPlugin::MailSettings::binPaths |
Map of paths for all mail clients.
int DigikamGenericSendByMailPlugin::MailSettings::imageCompression |
Referenced by readSettings(), and writeSettings().
ImageFormat DigikamGenericSendByMailPlugin::MailSettings::imageFormat |
Referenced by format(), readSettings(), and writeSettings().
bool DigikamGenericSendByMailPlugin::MailSettings::imagesChangeProp |
Referenced by readSettings(), and writeSettings().
int DigikamGenericSendByMailPlugin::MailSettings::imageSize |
Referenced by readSettings(), and writeSettings().
QList<QUrl> DigikamGenericSendByMailPlugin::MailSettings::inputImages |
Selected items to send.
QMap<QUrl, QUrl> DigikamGenericSendByMailPlugin::MailSettings::itemsList |
Map of original item and attached item (can be resized).
Referenced by mailUrl(), DigikamGenericSendByMailPlugin::ImageResizeThread::resize(), and setMailUrl().
MailClient DigikamGenericSendByMailPlugin::MailSettings::mailProgram |
Referenced by readSettings(), and writeSettings().
bool DigikamGenericSendByMailPlugin::MailSettings::removeMetadata |
Referenced by readSettings(), and writeSettings().
Selection DigikamGenericSendByMailPlugin::MailSettings::selMode |
Items selection mode.
Referenced by readSettings(), and writeSettings().
QString DigikamGenericSendByMailPlugin::MailSettings::tempPath |
Referenced by DigikamGenericSendByMailPlugin::ImageResizeThread::resize().