summaryrefslogtreecommitdiffstats
path: root/qt/message.cpp
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2003-11-23 08:35:48 +0000
committerZack Rusin <zack@kde.org>2003-11-23 08:35:48 +0000
commitc8881d8a35413a4975f08f5605b60d55322ee7aa (patch)
tree6afb1bbf60524442229f5041535f30566d21cd90 /qt/message.cpp
parentff619e44a3a1c43e2c741bb6c69341201ef7b935 (diff)
1) switching d-pointer names to just Private
2) starting workin on the connection binding 3) trying to find clean socks, committing the first two, the third one is hopeless
Diffstat (limited to 'qt/message.cpp')
-rw-r--r--qt/message.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/qt/message.cpp b/qt/message.cpp
index f439acca..ca6783b0 100644
--- a/qt/message.cpp
+++ b/qt/message.cpp
@@ -205,7 +205,7 @@ Message::iterator::var() const
return d->var;
}
-struct Message::MessagePrivate {
+struct Message::Private {
DBusMessage *msg;
};
@@ -214,7 +214,7 @@ struct Message::MessagePrivate {
*/
Message::Message( int messageType )
{
- d = new MessagePrivate;
+ d = new Private;
d->msg = dbus_message_new( messageType );
}
@@ -226,7 +226,7 @@ Message::Message( int messageType )
Message::Message( const QString& service, const QString& path,
const QString& interface, const QString& method )
{
- d = new MessagePrivate;
+ d = new Private;
d->msg = dbus_message_new_method_call( service.latin1(), path.latin1(),
interface.latin1(), method.latin1() );
}
@@ -240,14 +240,14 @@ Message::Message( const QString& service, const QString& path,
*/
Message::Message( const Message& replayingTo )
{
- d = new MessagePrivate;
+ d = new Private;
d->msg = dbus_message_new_method_return( replayingTo.d->msg );
}
Message:: Message( const QString& path, const QString& interface,
const QString& name )
{
- d = new MessagePrivate;
+ d = new Private;
d->msg = dbus_message_new_signal( path.ascii(), interface.ascii(),
name.ascii() );
}
@@ -255,7 +255,7 @@ Message:: Message( const QString& path, const QString& interface,
Message::Message( const Message& replayingTo, const QString& errorName,
const QString& errorMessage )
{
- d = new MessagePrivate;
+ d = new Private;
d->msg = dbus_message_new_error( replayingTo.d->msg, errorName.utf8(),
errorMessage.utf8() );
}