kremotecontrol
#include <action.h>

Public Types | |
| enum | ActionDestination { Unique, Top, Bottom, None, All } |
| enum | ActionType { DBusAction, ProfileAction, KeypressAction } |
Public Member Functions | |
| Action (ActionType type, const QString &button) | |
| Action (ActionType type) | |
| Action (const Action &action) | |
| virtual | ~Action () |
| bool | autostart () const |
| QString | button () const |
| virtual Action * | clone () const =0 |
| virtual QString | description () const =0 |
| ActionDestination | destination () const |
| virtual void | loadFromConfig (const KConfigGroup &config) |
| virtual QString | name () const =0 |
| bool | repeat () const |
| virtual void | saveToConfig (KConfigGroup &config) |
| void | setAutostart (bool autostart) |
| void | setButton (const QString &button) |
| void | setDestination (ActionDestination destination) |
| void | setRepeat (bool repeat) |
| ActionType | type () const |
Protected Attributes | |
| bool | m_autostart |
| QString | m_button |
| ActionDestination | m_destination |
| bool | m_repeat |
| ActionType | m_type |
Detailed Description
Member Enumeration Documentation
| enum Action::ActionType |
Constructor & Destructor Documentation
| Action::Action | ( | ActionType | type, |
| const QString & | button | ||
| ) |
Definition at line 22 of file action.cpp.
| Action::Action | ( | ActionType | type | ) |
Definition at line 29 of file action.cpp.
| Action::Action | ( | const Action & | action | ) |
Definition at line 25 of file action.cpp.
Member Function Documentation
| bool Action::autostart | ( | ) | const |
Definition at line 53 of file action.cpp.
| QString Action::button | ( | ) | const |
Definition at line 37 of file action.cpp.
|
pure virtual |
Implemented in DBusAction, ProfileAction, and KeypressAction.
|
pure virtual |
Implemented in DBusAction, ProfileAction, and KeypressAction.
| Action::ActionDestination Action::destination | ( | ) | const |
Definition at line 61 of file action.cpp.
|
virtual |
Reimplemented in DBusAction, ProfileAction, and KeypressAction.
Definition at line 94 of file action.cpp.
|
pure virtual |
Implemented in DBusAction, ProfileAction, and KeypressAction.
| bool Action::repeat | ( | ) | const |
Definition at line 45 of file action.cpp.
|
virtual |
Reimplemented in DBusAction, ProfileAction, and KeypressAction.
Definition at line 69 of file action.cpp.
| void Action::setAutostart | ( | bool | autostart | ) |
Definition at line 57 of file action.cpp.
| void Action::setButton | ( | const QString & | button | ) |
Definition at line 41 of file action.cpp.
| void Action::setDestination | ( | Action::ActionDestination | destination | ) |
Definition at line 65 of file action.cpp.
| void Action::setRepeat | ( | bool | repeat | ) |
Definition at line 49 of file action.cpp.
| Action::ActionType Action::type | ( | ) | const |
Definition at line 33 of file action.cpp.
Member Data Documentation
|
protected |
|
protected |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference