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

kremotecontrol

Public Member Functions | Protected Attributes | List of all members
Mode Class Reference

#include <mode.h>

Public Member Functions

 Mode (const QString &name=QString(), const QString &iconName=QLatin1String("infrared-remote"))
 
 ~Mode ()
 
QVector< Action * > actions () const
 
QVector< Action * > actionsForButton (const QString &button) const
 
void addAction (Action *action)
 
QString button () const
 
bool doAfter ()
 
QString iconName () const
 
void moveActionDown (Action *action)
 
void moveActionUp (Action *action)
 
QString name () const
 
bool operator== (const Mode &mode) const
 
void removeAction (Action *action)
 
void setButton (const QString &button)
 
void setIconName (const QString &iconName)
 
void setName (const QString &name)
 

Protected Attributes

QVector< Action * > m_actionList
 
QString m_button
 
bool m_doAfter
 
QString m_iconName
 
QString m_name
 

Detailed Description

Definition at line 31 of file mode.h.

Constructor & Destructor Documentation

Mode::Mode ( const QString &  name = QString(),
const QString &  iconName = QLatin1String( "infrared-remote" ) 
)
explicit

Definition at line 25 of file mode.cpp.

Mode::~Mode ( )

Definition at line 28 of file mode.cpp.

Member Function Documentation

QVector< Action * > Mode::actions ( ) const

Definition at line 89 of file mode.cpp.

QVector< Action * > Mode::actionsForButton ( const QString &  button) const

Definition at line 93 of file mode.cpp.

void Mode::addAction ( Action *  action)

Add the given Action to the Mode.

The mode takes ownership of the action. Don't delete it!

Definition at line 64 of file mode.cpp.

QString Mode::button ( ) const

Definition at line 44 of file mode.cpp.

bool Mode::doAfter ( )

Definition at line 105 of file mode.cpp.

QString Mode::iconName ( ) const

Definition at line 40 of file mode.cpp.

void Mode::moveActionDown ( Action *  action)

Definition at line 81 of file mode.cpp.

void Mode::moveActionUp ( Action *  action)

Definition at line 73 of file mode.cpp.

QString Mode::name ( ) const

Definition at line 36 of file mode.cpp.

bool Mode::operator== ( const Mode &  mode) const

Definition at line 60 of file mode.cpp.

void Mode::removeAction ( Action *  action)

Remove the given action from this mode and delete it.

Don't try to access the action after this call!

Definition at line 68 of file mode.cpp.

void Mode::setButton ( const QString &  button)

Definition at line 56 of file mode.cpp.

void Mode::setIconName ( const QString &  iconName)

Definition at line 52 of file mode.cpp.

void Mode::setName ( const QString &  name)

Definition at line 48 of file mode.cpp.

Member Data Documentation

QVector<Action*> Mode::m_actionList
protected

Definition at line 67 of file mode.h.

QString Mode::m_button
protected

Definition at line 66 of file mode.h.

bool Mode::m_doAfter
protected

Definition at line 68 of file mode.h.

QString Mode::m_iconName
protected

Definition at line 65 of file mode.h.

QString Mode::m_name
protected

Definition at line 64 of file mode.h.


The documentation for this class was generated from the following files:
  • mode.h
  • mode.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