• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

mailcommon

  • MailCommon
  • Tag
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
MailCommon::Tag Class Reference

#include <tag.h>

Public Types

typedef QSharedPointer< Tag > Ptr
 
enum  SaveFlag { TextColor = 1, BackgroundColor = 1 << 1, Font = 1 << 2 }
 
typedef QFlags< SaveFlag > SaveFlags
 

Public Member Functions

qint64 id () const
 
QString name () const
 
bool operator!= (const Tag &other) const
 
bool operator== (const Tag &other) const
 
Akonadi::Tag saveToAkonadi (SaveFlags saveFlags) const
 
Akonadi::Tag tag () const
 

Static Public Member Functions

static bool compare (Ptr &tag1, Ptr &tag2)
 
static bool compareName (Ptr &tag1, Ptr &tag2)
 
static Ptr createDefaultTag (const QString &name)
 
static Ptr fromAkonadi (const Akonadi::Tag &tag)
 

Public Attributes

QColor backgroundColor
 
QString iconName
 
bool inToolbar
 
bool isImmutable
 
int priority
 
KShortcut shortcut
 
QString tagName
 
QColor textColor
 
QFont textFont
 

Detailed Description

Definition at line 38 of file tag.h.

Member Typedef Documentation

typedef QSharedPointer<Tag> MailCommon::Tag::Ptr

Definition at line 43 of file tag.h.

typedef QFlags<SaveFlag> MailCommon::Tag::SaveFlags

Definition at line 49 of file tag.h.

Member Enumeration Documentation

enum MailCommon::Tag::SaveFlag
Enumerator
TextColor 
BackgroundColor 
Font 

Definition at line 44 of file tag.h.

Member Function Documentation

bool Tag::compare ( Tag::Ptr &  tag1,
Tag::Ptr &  tag2 
)
static

Definition at line 96 of file tag.cpp.

bool Tag::compareName ( Tag::Ptr &  tag1,
Tag::Ptr &  tag2 
)
static

Definition at line 106 of file tag.cpp.

Tag::Ptr Tag::createDefaultTag ( const QString &  name)
static

Definition at line 29 of file tag.cpp.

Tag::Ptr Tag::fromAkonadi ( const Akonadi::Tag &  tag)
static

Definition at line 41 of file tag.cpp.

qint64 Tag::id ( ) const

Definition at line 133 of file tag.cpp.

QString Tag::name ( ) const

Definition at line 138 of file tag.cpp.

bool Tag::operator!= ( const Tag &  other) const

Definition at line 128 of file tag.cpp.

bool Tag::operator== ( const Tag &  other) const

Definition at line 111 of file tag.cpp.

Akonadi::Tag Tag::saveToAkonadi ( Tag::SaveFlags  saveFlags) const

Definition at line 67 of file tag.cpp.

Akonadi::Tag Tag::tag ( ) const

Definition at line 143 of file tag.cpp.

Member Data Documentation

QColor MailCommon::Tag::backgroundColor

Definition at line 73 of file tag.h.

QString MailCommon::Tag::iconName

Definition at line 75 of file tag.h.

bool MailCommon::Tag::inToolbar

Definition at line 77 of file tag.h.

bool MailCommon::Tag::isImmutable

Definition at line 78 of file tag.h.

int MailCommon::Tag::priority

Definition at line 81 of file tag.h.

KShortcut MailCommon::Tag::shortcut

Definition at line 76 of file tag.h.

QString MailCommon::Tag::tagName

Definition at line 71 of file tag.h.

QColor MailCommon::Tag::textColor

Definition at line 72 of file tag.h.

QFont MailCommon::Tag::textFont

Definition at line 74 of file tag.h.


The documentation for this class was generated from the following files:
  • tag.h
  • tag.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailcommon

Skip menu "mailcommon"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal