From c8881d8a35413a4975f08f5605b60d55322ee7aa Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Sun, 23 Nov 2003 08:35:48 +0000 Subject: 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 --- qt/message.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'qt/message.cpp') 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() ); } -- cgit