Changeset View
Changeset View
Standalone View
Standalone View
plugins/externalscript/externalscriptitem.cpp
Show All 28 Lines | |||||
29 | 29 | | |||
30 | #include <interfaces/icore.h> | 30 | #include <interfaces/icore.h> | ||
31 | #include <interfaces/iuicontroller.h> | 31 | #include <interfaces/iuicontroller.h> | ||
32 | 32 | | |||
33 | ExternalScriptItem::ExternalScriptItem() | 33 | ExternalScriptItem::ExternalScriptItem() | ||
34 | { | 34 | { | ||
35 | } | 35 | } | ||
36 | 36 | | |||
37 | QString ExternalScriptItem::key() const | ||||
38 | { | ||||
39 | return m_key; | ||||
40 | } | ||||
41 | | ||||
42 | void ExternalScriptItem::setKey(const QString& key) | ||||
43 | { | ||||
44 | m_key = key; | ||||
45 | } | ||||
46 | | ||||
47 | | ||||
37 | QString ExternalScriptItem::command() const | 48 | QString ExternalScriptItem::command() const | ||
38 | { | 49 | { | ||
39 | return m_command; | 50 | return m_command; | ||
40 | } | 51 | } | ||
41 | 52 | | |||
42 | void ExternalScriptItem::setCommand( const QString& command ) | 53 | void ExternalScriptItem::setCommand( const QString& command ) | ||
43 | { | 54 | { | ||
44 | m_command = command; | 55 | m_command = command; | ||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |