• 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

bool operator!= (const Tag &other) const
 
bool operator== (const Tag &other) const
 
void saveToNepomuk (SaveFlags saveFlags) const
 

Static Public Member Functions

static bool compare (Ptr &tag1, Ptr &tag2)
 
static bool compareName (Ptr &tag1, Ptr &tag2)
 
static Ptr fromNepomuk (const Nepomuk2::Tag &nepomukTag)
 

Public Attributes

QColor backgroundColor
 
QString iconName
 
bool inToolbar
 
QUrl nepomukResourceUri
 
int priority
 
KShortcut shortcut
 
QString tagName
 
bool tagStatus
 
QColor textColor
 
QFont textFont
 

Detailed Description

Definition at line 41 of file tag.h.

Member Typedef Documentation

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

Definition at line 46 of file tag.h.

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

Definition at line 52 of file tag.h.

Member Enumeration Documentation

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

Definition at line 47 of file tag.h.

Member Function Documentation

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

Definition at line 122 of file tag.cpp.

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

Definition at line 132 of file tag.cpp.

Tag::Ptr Tag::fromNepomuk ( const Nepomuk2::Tag &  nepomukTag)
static

Definition at line 31 of file tag.cpp.

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

Definition at line 150 of file tag.cpp.

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

Definition at line 137 of file tag.cpp.

void Tag::saveToNepomuk ( SaveFlags  saveFlags) const

Definition at line 91 of file tag.cpp.

Member Data Documentation

QColor MailCommon::Tag::backgroundColor

Definition at line 72 of file tag.h.

QString MailCommon::Tag::iconName

Definition at line 74 of file tag.h.

bool MailCommon::Tag::inToolbar

Definition at line 77 of file tag.h.

QUrl MailCommon::Tag::nepomukResourceUri

Definition at line 75 of file tag.h.

int MailCommon::Tag::priority

Definition at line 82 of file tag.h.

KShortcut MailCommon::Tag::shortcut

Definition at line 76 of file tag.h.

QString MailCommon::Tag::tagName

Definition at line 70 of file tag.h.

bool MailCommon::Tag::tagStatus

Definition at line 78 of file tag.h.

QColor MailCommon::Tag::textColor

Definition at line 71 of file tag.h.

QFont MailCommon::Tag::textFont

Definition at line 73 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:15 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

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