index.html
Main Page
|
modules.html
Modules
|
namespaces.html
Namespace List
|
hierarchy.html
Class Hierarchy
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
namespacemembers.html
Namespace Members
|
functions.html
Data Fields
|
pages.html
Related Pages
namespaceDBusQt.html
DBusQt
::
classDBusQt_1_1Message.html
Message
DBusQt::Message Class Reference
Public Member Functions
classDBusQt_1_1Message.html#a0
Message
(int messageType)
classDBusQt_1_1Message.html#a1
Message
(
structDBusMessage.html
DBusMessage
*)
classDBusQt_1_1Message.html#a2
Message
(const QString &service, const QString &path, const QString &interface, const QString &method)
Constructs a new
classDBusQt_1_1Message.html
Message
with the given service and name.
#a2
classDBusQt_1_1Message.html#a3
Message
(const
classDBusQt_1_1Message.html
Message
&replayingTo)
Constructs a message that is a reply to some other message.
#a3
classDBusQt_1_1Message.html#a4
Message
(const QString &path, const QString &interface, const QString &name)
classDBusQt_1_1Message.html#a5
Message
(const
classDBusQt_1_1Message.html
Message
&replayingTo, const QString &errorName, const QString &errorMessage)
classDBusQt_1_1Message.html
Message
classDBusQt_1_1Message.html#a6
operator=
(const
classDBusQt_1_1Message.html
Message
&other)
virtual
classDBusQt_1_1Message.html#a7
~Message
()
Destructs message.
int
classDBusQt_1_1Message.html#a8
type
() const
void
classDBusQt_1_1Message.html#a9
setPath
(const QString &)
QString
classDBusQt_1_1Message.html#a10
path
() const
void
classDBusQt_1_1Message.html#a11
setInterface
(const QString &)
QString
classDBusQt_1_1Message.html#a12
interface
() const
void
classDBusQt_1_1Message.html#a13
setMember
(const QString &)
QString
classDBusQt_1_1Message.html#a14
member
() const
void
classDBusQt_1_1Message.html#a15
setErrorName
(const QString &)
QString
classDBusQt_1_1Message.html#a16
errorName
() const
void
classDBusQt_1_1Message.html#a17
setDestination
(const QString &)
QString
classDBusQt_1_1Message.html#a18
destination
() const
bool
classDBusQt_1_1Message.html#a19
setSender
(const QString &sender)
Sets the message sender.
#a19
QString
classDBusQt_1_1Message.html#a20
sender
() const
Returns sender of this message.
#a20
QString
classDBusQt_1_1Message.html#a21
signature
() const
classDBusQt_1_1Message_1_1iterator.html
iterator
classDBusQt_1_1Message.html#a22
begin
() const
Returns the starting iterator for the fields of this message.
#a22
classDBusQt_1_1Message_1_1iterator.html
iterator
classDBusQt_1_1Message.html#a23
end
() const
Returns the ending iterator for the fields of this message.
#a23
QVariant
classDBusQt_1_1Message.html#a24
at
(int i)
Returns the field at position
i
.
#a24
classDBusQt_1_1Message.html
Message
&
classDBusQt_1_1Message.html#a25
operator<<
(bool)
classDBusQt_1_1Message.html
Message
&
classDBusQt_1_1Message.html#a26
operator<<
(Q_INT8)
classDBusQt_1_1Message.html
Message
&
classDBusQt_1_1Message.html#a27
operator<<
(Q_INT32)
classDBusQt_1_1Message.html
Message
&
classDBusQt_1_1Message.html#a28
operator<<
(Q_UINT32)
classDBusQt_1_1Message.html
Message
&
classDBusQt_1_1Message.html#a29
operator<<
(Q_INT64)
classDBusQt_1_1Message.html
Message
&
classDBusQt_1_1Message.html#a30
operator<<
(Q_UINT64)
classDBusQt_1_1Message.html
Message
&
classDBusQt_1_1Message.html#a31
operator<<
(double)
classDBusQt_1_1Message.html
Message
&
classDBusQt_1_1Message.html#a32
operator<<
(const QString &)
classDBusQt_1_1Message.html
Message
&
classDBusQt_1_1Message.html#a33
operator<<
(const QVariant &)
Protected Member Functions
structDBusMessage.html
DBusMessage
*
classDBusQt_1_1Message.html#b0
message
() const
The underlying
structDBusMessage.html
DBusMessage
of this class.
#b0
Friends
class
classDBusQt_1_1Message.html#n0
Connection
Data Structures
class
classDBusQt_1_1Message_1_1iterator.html
iterator
struct
structDBusQt_1_1Message_1_1Private.html
Private
Detailed Description
Definition at line
message_8h-source.html#l00034
34
of file
message_8h-source.html
message.h
.
Constructor & Destructor Documentation
DBusQt::Message::Message
(
const QString &
service
,
const QString &
path
,
const QString &
interface
,
const QString &
method
)
Constructs a new
classDBusQt_1_1Message.html
Message
with the given service and name.
Parameters:
service
service service that the message should be sent to
name
name of the message
Definition at line
message_8cpp-source.html#l00322
322
of file
message_8cpp-source.html
message.cpp
.
References
dbus-message_8c-source.html#l00785
dbus_message_new_method_call()
, and
message_8cpp-source.html#l00299
DBusQt::Message::Private::msg
.
DBusQt::Message::Message
(
const
classDBusQt_1_1Message.html
Message
&
replayingTo
)
Constructs a message that is a reply to some other message.
Parameters:
name
the name of the message
replayingTo
original_message the message which the created message is a reply to.
Definition at line
message_8cpp-source.html#l00337
337
of file
message_8cpp-source.html
message.cpp
.
References
message_8h-source.html#l00125
d
,
dbus-message_8c-source.html#l00826
dbus_message_new_method_return()
, and
message_8cpp-source.html#l00299
DBusQt::Message::Private::msg
.
Member Function Documentation
QVariant DBusQt::Message::at
(
int
i
)
Returns the field at position
i
.
Parameters:
i
position of the wanted field
Returns:
QVariant at position
i
or an empty QVariant
Definition at line
message_8cpp-source.html#l00485
485
of file
message_8cpp-source.html
message.cpp
.
References
message_8cpp-source.html#l00474
end()
, and
message_8cpp-source.html#l00299
DBusQt::Message::Private::msg
.
classDBusQt_1_1Message_1_1iterator.html
Message::iterator
DBusQt::Message::begin
(
)
const
Returns the starting iterator for the fields of this message.
Returns:
starting iterator
Definition at line
message_8cpp-source.html#l00463
463
of file
message_8cpp-source.html
message.cpp
.
References
message_8cpp-source.html#l00299
DBusQt::Message::Private::msg
.
classDBusQt_1_1Message_1_1iterator.html
Message::iterator
DBusQt::Message::end
(
)
const
Returns the ending iterator for the fields of this message.
Returns:
ending iterator
Definition at line
message_8cpp-source.html#l00474
474
of file
message_8cpp-source.html
message.cpp
.
Referenced by
message_8cpp-source.html#l00485
at()
.
structDBusMessage.html
DBusMessage
* DBusQt::Message::message
(
)
const
[protected]
The underlying
structDBusMessage.html
DBusMessage
of this class.
Returns:
structDBusMessage.html
DBusMessage
pointer.
Definition at line
message_8cpp-source.html#l00502
502
of file
message_8cpp-source.html
message.cpp
.
References
message_8cpp-source.html#l00299
DBusQt::Message::Private::msg
.
QString DBusQt::Message::sender
(
)
const
Returns sender of this message.
Returns:
sender
Definition at line
message_8cpp-source.html#l00446
446
of file
message_8cpp-source.html
message.cpp
.
References
dbus-message_8c-source.html#l02789
dbus_message_get_sender()
, and
message_8cpp-source.html#l00299
DBusQt::Message::Private::msg
.
bool DBusQt::Message::setSender
(
const QString &
sender
)
Sets the message sender.
Parameters:
sender
the sender
Returns:
false if unsuccessful
Definition at line
message_8cpp-source.html#l00436
436
of file
message_8cpp-source.html
message.cpp
.
References
dbus-message_8c-source.html#l02765
dbus_message_set_sender()
, and
message_8cpp-source.html#l00299
DBusQt::Message::Private::msg
.
The documentation for this class was generated from the following files:
message_8h-source.html
message.h
message_8cpp-source.html
message.cpp
Generated on Tue Sep 13 01:28:09 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
