• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 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:
KCal::KResult

Public Member Functions

 KResultError ()
 
 KResultError (const QString &details)
 
 KResultError (ErrorType error, const QString &details=QString())
 
- Public Member Functions inherited from KCal::KResult
 KResult ()
 
 KResult (const KResult &)
 
 KResult (ErrorType error, const QString &details=QString())
 
 KResult (Type type)
 
 ~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

◆ KResultError() [1/3]

KCal::KResultError::KResultError ( )
inline

Create KResult object of type Error.

Definition at line 304 of file kresult.h.

◆ KResultError() [2/3]

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.

◆ KResultError() [3/3]

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-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 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-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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