diff options
author | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-05-11 15:06:33 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-05-11 16:20:53 +0300 |
commit | 67682f01a7e06416ac5986f15e5b9a662ee8bf14 (patch) | |
tree | e26f90c59d89b16cfcac6b1abf4d25ea9a9e67d1 /plugins/autotest/squishsettings.cpp | |
parent | 76a631f3f8ca22fcccac70fc642dbef5fce92361 (diff) | |
download | qt-creator-67682f01a7e06416ac5986f15e5b9a662ee8bf14.tar.gz |
Add settings page for Squish tests
Change-Id: I665b0d33c6da415578ec8f145926e4a770b64916
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/squishsettings.cpp')
-rw-r--r-- | plugins/autotest/squishsettings.cpp | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/plugins/autotest/squishsettings.cpp b/plugins/autotest/squishsettings.cpp new file mode 100644 index 0000000000..c66a30d16d --- /dev/null +++ b/plugins/autotest/squishsettings.cpp @@ -0,0 +1,50 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd +** All rights reserved. +** For any questions to The Qt Company, please use contact form at +** http://www.qt.io/contact-us +** +** This file is part of the Qt Creator Enterprise Auto Test Add-on. +** +** Licensees holding valid Qt Enterprise licenses may use this file in +** accordance with the Qt Enterprise License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. +** +** If you have questions regarding the use of this file, please use +** contact form at http://www.qt.io/contact-us +** +****************************************************************************/ + +#include "squishsettings.h" + +#include <QSettings> + +namespace Autotest { +namespace Internal { + +static const char group[] = "Squish"; + +void SquishSettings::toSettings(QSettings *s) const +{ + s->beginGroup(QLatin1String(group)); + s->endGroup(); +} + +void SquishSettings::fromSettings(const QSettings *s) +{ +} + +bool SquishSettings::operator==(const SquishSettings &other) const +{ + return true; +} + +bool SquishSettings::operator!=(const SquishSettings &other) const +{ + return !(*this == other); +} + +} // namespace Internal +} // namespace Autotest |