From 3b50a8c9fe65839b79f8df988aee6124abd4f0c4 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sun, 11 Jun 2006 12:16:30 +0000 Subject: * qt/tools/dbuscpp2xml.cpp: Compile on Windows. * qt/tools/dbusidl2cpp.cpp: Add missing newline. * qt/examples/Makefile.am: * qt/examples/chat.h: Use UI-generated files with the ui_*.h form. * qt/src/qdbusmarshall.cpp: Allow sending of QString() and QByteArray() (nulls) over the bus. * qt/src/qdbusabstractinterface.cpp: Use the correct variable, the one that has the signature suffix stripped. * qt/src/qdbusreply.h: Make some methods const. --- qt/src/qdbusreply.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qt/src/qdbusreply.h') diff --git a/qt/src/qdbusreply.h b/qt/src/qdbusreply.h index 2b69cbb5..d7e83122 100644 --- a/qt/src/qdbusreply.h +++ b/qt/src/qdbusreply.h @@ -76,12 +76,12 @@ public: inline const QDBusError& error() { return m_error; } - inline Type value() + inline Type value() const { return m_data; } - inline operator Type () + inline operator Type () const { return m_data; } @@ -117,7 +117,7 @@ public: inline QDBusReply(const QDBusError &dbusError) : m_error(dbusError) { - } + } inline bool isError() const { return m_error.isValid(); } inline bool isSuccess() const { return !m_error.isValid(); } -- cgit