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

kremotecontrol

  • sources
  • kde-4.12
  • kdeutils
  • kremotecontrol
  • libkremotecontrol
profileaction.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2010 Michael Zanetti <michael_zanetti@gmx.net>
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License along
15  with this program; if not, write to the Free Software Foundation, Inc.,
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 
18 */
19 
20 #ifndef PROFILEACTION_H
21 #define PROFILEACTION_H
22 
23 #include "dbusaction.h"
24 #include "kremotecontrol_export.h"
25 
26 class KREMOTECONTROL_EXPORT ProfileAction : public DBusAction
27 {
28  public:
29  ProfileAction();
30  ProfileAction(const QString& button, const QString &profile, const QString &actionTemplate);
31 
32  QString profileId() const;
33  void setProfileId(const QString &profileId);
34 
35  QString actionTemplateId() const;
36  void setActionTemplateId(const QString &actionTemplateID);
37 
38  virtual QString name() const;
39  virtual QString description() const;
40 
41  virtual void saveToConfig(KConfigGroup &config);
42  virtual void loadFromConfig(const KConfigGroup &config);
43 
44  virtual Action* clone() const;
45 
46  protected:
47  QString m_profileId;
48  QString m_template;
49 };
50 
51 #endif // PROFILEACTION_H
kremotecontrol_export.h
DBusAction::loadFromConfig
virtual void loadFromConfig(const KConfigGroup &config)
Definition: dbusaction.cpp:87
ProfileAction::m_template
QString m_template
Definition: profileaction.h:48
KREMOTECONTROL_EXPORT
#define KREMOTECONTROL_EXPORT
Definition: kremotecontrol_export.h:37
dbusaction.h
DBusAction::saveToConfig
virtual void saveToConfig(KConfigGroup &config)
Definition: dbusaction.cpp:71
DBusAction::clone
virtual Action * clone() const
Definition: dbusaction.cpp:110
Action
Definition: action.h:30
DBusAction
Definition: dbusaction.h:32
ProfileAction::m_profileId
QString m_profileId
Definition: profileaction.h:47
Action::ProfileAction
Definition: action.h:33
ProfileServer::profile
Profile * profile(const QString &profileId)
Definition: profileserver.cpp:93
ProfileAction
Definition: profileaction.h:26
DBusAction::name
virtual QString name() const
Definition: dbusaction.cpp:63
DBusAction::description
virtual QString description() const
Definition: dbusaction.cpp:67
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