Qt 4.8
Public Functions | Properties | List of all members
QDBusErrorInternal Class Reference

#include <qdbusconnection_p.h>

Public Functions

 operator DBusError * ()
 
 operator QDBusError () const
 
bool operator! () const
 
 QDBusErrorInternal ()
 
 ~QDBusErrorInternal ()
 

Properties

DBusError error
 

Detailed Description

Definition at line 91 of file qdbusconnection_p.h.

Constructors and Destructors

◆ QDBusErrorInternal()

QDBusErrorInternal::QDBusErrorInternal ( )
inline

Definition at line 96 of file qdbusconnection_p.h.

96 { q_dbus_error_init(&error); }

◆ ~QDBusErrorInternal()

QDBusErrorInternal::~QDBusErrorInternal ( )
inline

Definition at line 97 of file qdbusconnection_p.h.

97 { q_dbus_error_free(&error); }

Functions

◆ operator DBusError *()

QDBusErrorInternal::operator DBusError * ( )
inline

Definition at line 99 of file qdbusconnection_p.h.

99 { q_dbus_error_free(&error); return &error; }

◆ operator QDBusError()

QDBusErrorInternal::operator QDBusError ( ) const
inline

Definition at line 100 of file qdbusconnection_p.h.

100 { QDBusError err(&error); q_dbus_error_free(&error); return err; }
The QDBusError class represents an error received from the D-Bus bus or from remote applications foun...
Definition: qdbuserror.h:60

◆ operator!()

bool QDBusErrorInternal::operator! ( ) const
inline

Definition at line 98 of file qdbusconnection_p.h.

98 { return !q_dbus_error_is_set(&error); }

Properties

◆ error

DBusError QDBusErrorInternal::error
mutableprivate

The documentation for this class was generated from the following file: