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.

Member Enumeration Documentation

◆ FolderContentsType

enum PimCommon::CollectionTypeUtil::FolderContentsType

Definition at line 29 of file collectiontypeutil.h.

◆ IncidencesFor

enum PimCommon::CollectionTypeUtil::IncidencesFor

Definition at line 42 of file collectiontypeutil.h.

Member Function Documentation

◆ contentsTypeFromString()

CollectionTypeUtil::FolderContentsType CollectionTypeUtil::contentsTypeFromString ( const QString & type)
nodiscard

Definition at line 140 of file collectiontypeutil.cpp.

◆ folderContentDescription()

QString CollectionTypeUtil::folderContentDescription ( CollectionTypeUtil::FolderContentsType type)
nodiscard

Definition at line 33 of file collectiontypeutil.cpp.

◆ iconNameFromContentsType()

QString CollectionTypeUtil::iconNameFromContentsType ( CollectionTypeUtil::FolderContentsType type)
nodiscard

Definition at line 203 of file collectiontypeutil.cpp.

◆ incidencesForFromString()

CollectionTypeUtil::IncidencesFor CollectionTypeUtil::incidencesForFromString ( const QString & string)
nodiscard

Definition at line 73 of file collectiontypeutil.cpp.

◆ incidencesForToString()

QString CollectionTypeUtil::incidencesForToString ( CollectionTypeUtil::IncidencesFor type)
nodiscard

Definition at line 59 of file collectiontypeutil.cpp.

◆ kolabFolderType()

QByteArray CollectionTypeUtil::kolabFolderType ( )
static

Definition at line 18 of file collectiontypeutil.cpp.

◆ kolabIncidencesFor()

QByteArray CollectionTypeUtil::kolabIncidencesFor ( )
static

Definition at line 23 of file collectiontypeutil.cpp.

◆ kolabNameFromType()

QByteArray CollectionTypeUtil::kolabNameFromType ( CollectionTypeUtil::FolderContentsType type)
nodiscard

Definition at line 116 of file collectiontypeutil.cpp.

◆ kolabSharedSeen()

QByteArray CollectionTypeUtil::kolabSharedSeen ( )
static

Definition at line 28 of file collectiontypeutil.cpp.

◆ typeFromKolabName()

CollectionTypeUtil::FolderContentsType CollectionTypeUtil::typeFromKolabName ( const QByteArray & name)
nodiscard

Definition at line 86 of file collectiontypeutil.cpp.

◆ typeNameFromKolabType()

QString CollectionTypeUtil::typeNameFromKolabType ( const QByteArray & type)
nodiscard

Definition at line 173 of file collectiontypeutil.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.