17 #include <QtCore/qglobal.h> 19 #include <QtCore/QString> 20 #include <QtCore/QStringList> 37 const QStringList &
titles()
const;
48 void setData(
const QString &title,
const QString &command);
58 QStringList mCommands;
Class which contains program from programming widget.
Definition: scriptHolder.h:24
static ScriptHolder * instance()
Creates instance of ScriptHolder.
Definition: scriptHolder.cpp:22
void clear()
Clears all stored data.
Definition: scriptHolder.cpp:49
const QStringList & commands() const
Returns list which contains scripts for commands.
Definition: scriptHolder.cpp:33
Definition: abstractIndicator.h:21
int size() const
Returns number of stored commands.
Definition: scriptHolder.cpp:38
ScriptHolder & operator=(ScriptHolder const &)=delete
Deleted.
const QStringList & titles() const
Returns list which contains titles of commands.
Definition: scriptHolder.cpp:28
void setData(const QString &title, const QString &command)
Adds given strings to appropriate list.
Definition: scriptHolder.cpp:43