PimCommon::CollectionTypeUtil

Search for usage in LXR

PimCommon::CollectionTypeUtil Class Reference

#include <collectiontypeutil.h>

Public Types

enum  FolderContentsType {
  ContentsTypeMail = 0, ContentsTypeCalendar, ContentsTypeContact, ContentsTypeNote,
  ContentsTypeTask, ContentsTypeJournal, ContentsTypeConfiguration, ContentsTypeFreebusy,
  ContentsTypeFile, ContentsTypeLast = ContentsTypeFile
}
 
enum  IncidencesFor { IncForNobody, IncForAdmins, IncForReaders }
 

Public Member Functions

CollectionTypeUtil::FolderContentsType contentsTypeFromString (const QString &type)
 
QString folderContentDescription (CollectionTypeUtil::FolderContentsType type)
 
QString iconNameFromContentsType (CollectionTypeUtil::FolderContentsType type)
 
CollectionTypeUtil::IncidencesFor incidencesForFromString (const QString &string)
 
QString incidencesForToString (CollectionTypeUtil::IncidencesFor type)
 
QByteArray kolabNameFromType (CollectionTypeUtil::FolderContentsType type)
 
CollectionTypeUtil::FolderContentsType typeFromKolabName (const QByteArray &name)
 
QString typeNameFromKolabType (const QByteArray &type)
 

Static Public Member Functions

static QByteArray kolabFolderType ()
 
static QByteArray kolabIncidencesFor ()
 
static QByteArray kolabSharedSeen ()
 

Detailed Description

The CollectionTypeUtil class.

Author
Laurent Montel monte.nosp@m.l@kd.nosp@m.e.org

Definition at line 19 of file collectiontypeutil.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 03:54:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.