![]() |
Scanframe Modular Application 0.1.0
|
Script entry for the list contained by the manager. More...
#include <ScriptManager.h>


Public Types | |
| enum | EBackgroundMode { bmNo = 0 , bmOnce , bmContinuous } |
| Available background modes. More... | |
Public Member Functions | |
| ScriptEntry (ScriptManager *parent) | |
| Constructor. | |
| bool | start () |
| Compiles and initializes the script. | |
| void | stop () |
| Stops a script from running in the background. | |
| const QKeySequence & | getKeySequence () const |
| void | setKeySequence (const QKeySequence &ks) |
| QString | getDisplayName () const |
| void | setDisplayName (const QString &name) |
| QString | getScriptName () const |
| void | setScriptName (const QString &name) |
| const QString & | getFilename () const |
| void | setFilename (const QString &name) |
| EBackgroundMode | getBackgroundMode () const |
| void | setBackgroundMode (EBackgroundMode bm) |
| void | setInterpreter (const QSharedPointer< ScriptInterpreter > &interpreter) |
| const QSharedPointer< ScriptInterpreter > & | getInterpreter () const |
| QString | getStateName () const |
| bool | isGlobal () const |
| Sets the global shortcut global flag. | |
| void | setGlobal (bool) |
| Sets the global shortcut global flag. | |
Script entry for the list contained by the manager.
|
inlineexplicit |
Constructor.
|
inline |
| QString sf::ScriptEntry::getDisplayName | ( | ) | const |
|
inline |
|
inline |
| const QKeySequence & sf::ScriptEntry::getKeySequence | ( | ) | const |
| QString sf::ScriptEntry::getScriptName | ( | ) | const |
| QString sf::ScriptEntry::getStateName | ( | ) | const |
| bool sf::ScriptEntry::isGlobal | ( | ) | const |
Sets the global shortcut global flag.
| void sf::ScriptEntry::setBackgroundMode | ( | EBackgroundMode | bm | ) |
| void sf::ScriptEntry::setDisplayName | ( | const QString & | name | ) |
| void sf::ScriptEntry::setFilename | ( | const QString & | name | ) |
| void sf::ScriptEntry::setGlobal | ( | bool | ) |
Sets the global shortcut global flag.
|
inline |
| void sf::ScriptEntry::setKeySequence | ( | const QKeySequence & | ks | ) |
| void sf::ScriptEntry::setScriptName | ( | const QString & | name | ) |
| bool sf::ScriptEntry::start | ( | ) |
Compiles and initializes the script.
| void sf::ScriptEntry::stop | ( | ) |
Stops a script from running in the background.