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

KCal Library

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

#include <kresult.h>

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

Public Member Functions

 KResultError ()
 
 KResultError (ErrorType error, const QString &details=QString())
 
 KResultError (const QString &details)
 
- Public Member Functions inherited from KCal::KResult
 KResult ()
 
 KResult (const KResult &)
 
 KResult (Type type)
 
 KResult (ErrorType error, const QString &details=QString())
 
 ~KResult ()
 
KResult & chain (const KResult &result)
 
QString chainedMessage () const
 
KResult chainedResult () const
 
QString details () const
 
ErrorType error () const
 
QString fullMessage () const
 
bool hasChainedResult () const
 
bool isError () const
 
bool isInProgress () const
 
bool isOk () const
 
QString message () const
 
 operator bool () const
 
void setDetails (const QString &details)
 

Additional Inherited Members

- Public Types inherited from KCal::KResult
enum  ErrorType {
  NotAnError, Undefined, InvalidUrl, WrongParameter,
  ConnectionFailed, WriteError, ReadError, ParseError,
  WrongSchemaRevision
}
 
enum  Type { Ok, InProgress, Error }
 

Detailed Description

Convenience class for creating a KResult of type Error.

Definition at line 298 of file kresult.h.

Constructor & Destructor Documentation

KCal::KResultError::KResultError ( )
inline

Create KResult object of type Error.

Definition at line 304 of file kresult.h.

KCal::KResultError::KResultError ( ErrorType  error,
const QString &  details = QString() 
)
inlineexplicit

Create KResult object of type Error with given error type and optionally a detailed error message.

Parameters
erroris the ErrorType.
detailsis a QString containing optional details to add to the message corresponding to this error.

Definition at line 314 of file kresult.h.

KCal::KResultError::KResultError ( const QString &  details)
inline

Create KResult object of type Error with given detailed error message.

Parameters
detailsis a QString containing optional details to add to the message corresponding to this error.

Definition at line 323 of file kresult.h.


The documentation for this class was generated from the following file:
  • kresult.h
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