• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kremotecontrol

Public Types | Public Member Functions | Protected Attributes | List of all members
Action Class Referenceabstract

#include <action.h>

Inheritance diagram for Action:
Inheritance graph
[legend]

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

Definition at line 30 of file action.h.

Member Enumeration Documentation

enum Action::ActionDestination
Enumerator
Unique 
Top 
Bottom 
None 
All 

Definition at line 34 of file action.h.

enum Action::ActionType
Enumerator
DBusAction 
ProfileAction 
KeypressAction 

Definition at line 33 of file action.h.

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.

virtual Action::~Action ( )
inlinevirtual

Definition at line 39 of file action.h.

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.

virtual Action* Action::clone ( ) const
pure virtual

Implemented in DBusAction, ProfileAction, and KeypressAction.

virtual QString Action::description ( ) const
pure virtual

Implemented in DBusAction, ProfileAction, and KeypressAction.

Action::ActionDestination Action::destination ( ) const

Definition at line 61 of file action.cpp.

void Action::loadFromConfig ( const KConfigGroup &  config)
virtual

Reimplemented in DBusAction, ProfileAction, and KeypressAction.

Definition at line 94 of file action.cpp.

virtual QString Action::name ( ) const
pure virtual

Implemented in DBusAction, ProfileAction, and KeypressAction.

bool Action::repeat ( ) const

Definition at line 45 of file action.cpp.

void Action::saveToConfig ( KConfigGroup &  config)
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

bool Action::m_autostart
protected

Definition at line 66 of file action.h.

QString Action::m_button
protected

Definition at line 65 of file action.h.

ActionDestination Action::m_destination
protected

Definition at line 67 of file action.h.

bool Action::m_repeat
protected

Definition at line 66 of file action.h.

ActionType Action::m_type
protected

Definition at line 64 of file action.h.


The documentation for this class was generated from the following files:
  • action.h
  • action.cpp
This file is part of the KDE documentation.
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.

kremotecontrol

Skip menu "kremotecontrol"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal