From 3e629a7693feddca0632ccef2fb30d29bdcd3aca Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 9 Aug 2010 11:07:52 +0200 Subject: 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 --- mthemedaemon/mthemedaemonserver.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mthemedaemon/mthemedaemonserver.h') 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: -- cgit v1.2.3