Home · Modules · All Classes · All Namespaces
Public Member Functions | List of all members
Tp::PendingFailure Class Reference

The PendingFailure class represents a PendingOperation that always fails with the error passed to the constructor. More...

#include <TelepathyQt/PendingFailure>

Inherits Tp::PendingOperation.

Public Member Functions

 PendingFailure (const QString &name, const QString &message, const SharedPtr< RefCounted > &object)
 
 PendingFailure (const QDBusError &error, const SharedPtr< RefCounted > &object)
 
- Public Member Functions inherited from Tp::PendingOperation
virtual ~PendingOperation ()
 
bool isFinished () const
 
bool isValid () const
 
bool isError () const
 
QString errorName () const
 
QString errorMessage () const
 

Additional Inherited Members

- Signals inherited from Tp::PendingOperation
void finished (Tp::PendingOperation *operation)
 
- Protected Slots inherited from Tp::PendingOperation
void setFinished ()
 
void setFinishedWithError (const QString &name, const QString &message)
 
void setFinishedWithError (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::PendingOperation
 PendingOperation (const SharedPtr< RefCounted > &object)
 
SharedPtr< RefCountedobject () const
 

Detailed Description

The PendingFailure class represents a PendingOperation that always fails with the error passed to the constructor.

Constructor & Destructor Documentation

◆ PendingFailure() [1/2]

Tp::PendingFailure::PendingFailure ( const QString &  name,
const QString &  message,
const SharedPtr< RefCounted > &  object 
)
inline

◆ PendingFailure() [2/2]

Tp::PendingFailure::PendingFailure ( const QDBusError &  error,
const SharedPtr< RefCounted > &  object 
)
inline