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

KCal Library

  • KCal
  • ErrorFormat
Public Types | Public Member Functions | List of all members
KCal::ErrorFormat Class Reference

#include <exceptions.h>

Inheritance diagram for KCal::ErrorFormat:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

 ErrorFormat (ErrorCodeFormat code, const QString &message=QString())
 
 ~ErrorFormat ()
 
ErrorCodeFormat errorCode ()
 
QString message ()
 
- Public Member Functions inherited from KCal::Exception
 Exception (const QString &message=QString())
 
virtual ~Exception ()
 

Additional Inherited Members

- Protected Attributes inherited from KCal::Exception
QString mMessage
 

Detailed Description

Calendar format related error class.

Definition at line 82 of file exceptions.h.

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.

UserCancel 

User canceled the operation.

NoWritableFound 

No writable resource is available.

Since
4.5

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
codeis the exception ErrorCodeFormat.
messageis 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

ErrorFormat::ErrorCodeFormat ErrorFormat::errorCode ( )

Returns the format error code.

Definition at line 131 of file exceptions.cpp.

QString ErrorFormat::message ( )
virtual

Returns the format error message.

Reimplemented from KCal::Exception.

Definition at line 84 of file exceptions.cpp.


The documentation for this class was generated from the following files:
  • exceptions.h
  • exceptions.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCal Library

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

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

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