trikRuntime
|
Class which contains program from programming widget. More...
#include <scriptHolder.h>
Public Member Functions | |
ScriptHolder (ScriptHolder const &)=delete | |
Deleted. More... | |
ScriptHolder & | operator= (ScriptHolder const &)=delete |
Deleted. More... | |
const QStringList & | titles () const |
Returns list which contains titles of commands. More... | |
const QStringList & | commands () const |
Returns list which contains scripts for commands. More... | |
int | size () const |
Returns number of stored commands. More... | |
void | setData (const QString &title, const QString &command) |
Adds given strings to appropriate list. More... | |
void | clear () |
Clears all stored data. More... | |
Static Public Member Functions | |
static ScriptHolder * | instance () |
Creates instance of ScriptHolder. More... | |
Class which contains program from programming widget.
|
delete |
Deleted.
void ScriptHolder::clear | ( | ) |
Clears all stored data.
const QStringList & ScriptHolder::commands | ( | ) | const |
Returns list which contains scripts for commands.
|
static |
Creates instance of ScriptHolder.
|
delete |
Deleted.
void ScriptHolder::setData | ( | const QString & | title, |
const QString & | command | ||
) |
Adds given strings to appropriate list.
title | - new string for titles list. |
command | - new string for commands list. |
int ScriptHolder::size | ( | ) | const |
Returns number of stored commands.
const QStringList & ScriptHolder::titles | ( | ) | const |
Returns list which contains titles of commands.