summaryrefslogtreecommitdiffstats
path: root/qt/src/qdbusreply.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago@kde.org>2006-06-11 12:16:30 +0000
committerThiago Macieira <thiago@kde.org>2006-06-11 12:16:30 +0000
commit3b50a8c9fe65839b79f8df988aee6124abd4f0c4 (patch)
tree3ded141c1f1f88dbbd318dd6106d637ed40a4a69 /qt/src/qdbusreply.h
parenta0ccd8a2a0cca7095fc1a9c5e1027e10a44caeee (diff)
* 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.
Diffstat (limited to 'qt/src/qdbusreply.h')
-rw-r--r--qt/src/qdbusreply.h6
1 files changed, 3 insertions, 3 deletions
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(); }