diff options
author | Peter Penz <ppenz@openismus.com> | 2010-08-09 11:07:52 +0200 |
---|---|---|
committer | Miroslav Safr <miroslav.safr@tieto.com> | 2010-08-09 13:17:24 +0300 |
commit | 3e629a7693feddca0632ccef2fb30d29bdcd3aca (patch) | |
tree | 99bca8714a0f6d562e858bfcb82e372e788979c2 /mthemedaemon/mthemedaemonserver.h | |
parent | 8fd04e4337ae778ce7bd6a919d81e78bdf8a969f (diff) |
Changes: Use a themedaemon with a custom connection, so that the unit tests don't fail if no themedaemon has been started already
RevBy: Armin Berres
Diffstat (limited to 'mthemedaemon/mthemedaemonserver.h')
-rw-r--r-- | mthemedaemon/mthemedaemonserver.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mthemedaemon/mthemedaemonserver.h b/mthemedaemon/mthemedaemonserver.h index 5ded210f..9346825a 100644 --- a/mthemedaemon/mthemedaemonserver.h +++ b/mthemedaemon/mthemedaemonserver.h @@ -37,7 +37,13 @@ class MThemeDaemonServer : public QObject { Q_OBJECT public: - MThemeDaemonServer(); + /** + * @param serverAddress Address that is used for the local connection + * between the clients and the server. If an empty + * string is passed, M::MThemeDaemonProtocol::ServerAddress + * is used per default. + */ + MThemeDaemonServer(const QString &serverAddress = QString()); virtual ~MThemeDaemonServer(); private slots: |