diff options
Diffstat (limited to 'src/bench/options.cpp')
-rw-r--r-- | src/bench/options.cpp | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/bench/options.cpp b/src/bench/options.cpp index 5baedc2..d6d866b 100644 --- a/src/bench/options.cpp +++ b/src/bench/options.cpp @@ -1,6 +1,7 @@ /**************************************************************************** ** -** Copyright (C) 2016 Pelagicore AG +** Copyright (C) 2019 Luxoft Sweden AB +** Copyright (C) 2018 Pelagicore AG ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QmlLive tool. @@ -37,6 +38,8 @@ Options::Options(QObject *parent) , m_remoteOnly(false) , m_ping(false) , m_stayOnTop(false) + , m_maximumWatches(100) + , m_project("") { } @@ -174,3 +177,23 @@ void Options::setHostsToProbe(const QStringList &hostNames) { m_hostsToProbe = hostNames; } + +int Options::maximumWatches() const +{ + return m_maximumWatches; +} + +void Options::setMaximumWatches(int maximumWatches) +{ + m_maximumWatches = maximumWatches; +} + +QString Options::project() const +{ + return m_project; +} + +void Options::setProject(const QString &project) +{ + m_project = project; +} |