• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KCal Library

KCal::ErrorFormat

KCal::ErrorFormat Class Reference

#include <exceptions.h>

Inheritance diagram for KCal::ErrorFormat:

Inheritance graph
[legend]

List of all members.


Detailed Description

Calendar format related error class.

Definition at line 82 of file exceptions.h.


Public Types

enum  ErrorCodeFormat {
  LoadError, SaveError, ParseErrorIcal, ParseErrorKcal,
  NoCalendar, CalVersion1, CalVersion2, CalVersionUnknown,
  Restriction
}

Public Member Functions

 ErrorFormat (ErrorCodeFormat code, const QString &message=QString())
 ~ErrorFormat ()
QString message ()
ErrorCodeFormat errorCode ()

Member Enumeration Documentation

enum KCal::ErrorFormat::ErrorCodeFormat

The different types of Calendar format errors.

Enumerator:
LoadError  Load error.
SaveError  Save error.
ParseErrorIcal  Parse error in libical.
ParseErrorKcal  Parse error in libkcal.
NoCalendar  No calendar component found.
CalVersion1  vCalendar v1.0 detected
CalVersion2  iCalendar v2.0 detected
CalVersionUnknown  Unknown calendar format detected.
Restriction  Restriction violation.

Definition at line 88 of file exceptions.h.


Constructor & Destructor Documentation

ErrorFormat::ErrorFormat ( ErrorCodeFormat  code,
const QString &  message = QString() 
) [explicit]

Creates a format error exception.

Private class that helps to provide binary compatibility between releases.

Parameters:
code is the exception ErrorCodeFormat.
message is the exception message string.

Definition at line 73 of file exceptions.cpp.

ErrorFormat::~ErrorFormat (  ) 

Destructor.

Definition at line 79 of file exceptions.cpp.


Member Function Documentation

QString ErrorFormat::message (  )  [virtual]

Returns the format error message.

Reimplemented from KCal::Exception.

Definition at line 84 of file exceptions.cpp.

ErrorFormat::ErrorCodeFormat ErrorFormat::errorCode (  ) 

Returns the format error code.

Definition at line 125 of file exceptions.cpp.


The documentation for this class was generated from the following files:
  • exceptions.h
  • exceptions.cpp

KCal Library

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal