• 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
  • kcmremotecontrol
editprofileaction.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 EDITPROFILEACTION_H
21 #define EDITPROFILEACTION_H
22 
23 #include "ui_editdbusaction.h"
24 
25 #include "profileaction.h"
26 #include "model.h"
27 
28 class EditProfileAction: public QWidget{
29  Q_OBJECT
30 
31  public:
32 
33  explicit EditProfileAction(ProfileAction *action, QWidget* parent = 0, Qt::WFlags flags = 0);
34  ~EditProfileAction();
35 
36  bool checkForComplete() const;
37  void applyChanges();
38  ProfileAction action() const;
39 
40  private:
41  Ui::EditDBusAction ui;
42 
43  ProfileAction *m_action;
44  ProfileModel *m_profileModel;
45  ActionTemplateModel *m_templateModel;
46  ArgumentsModel *m_argumentsModel;
47 
48  private Q_SLOTS:
49  void refreshTemplates(const QModelIndex &index);
50  void refreshArguments(const QModelIndex &index);
51 
52  Q_SIGNALS:
53  void formComplete(bool complete);
54 
55 };
56 
57 #endif // EDITDBUSACTION_H
QWidget
EditProfileAction::formComplete
void formComplete(bool complete)
model.h
ActionTemplateModel
Definition: model.h:132
EditProfileAction::applyChanges
void applyChanges()
Definition: editprofileaction.cpp:95
EditProfileAction::EditProfileAction
EditProfileAction(ProfileAction *action, QWidget *parent=0, Qt::WFlags flags=0)
Definition: editprofileaction.cpp:25
EditProfileAction::action
ProfileAction action() const
Definition: editprofileaction.cpp:124
EditProfileAction
Definition: editprofileaction.h:28
EditProfileAction::checkForComplete
bool checkForComplete() const
Definition: editprofileaction.cpp:88
ArgumentsModel
Definition: model.h:88
profileaction.h
ProfileModel
Definition: model.h:123
EditProfileAction::~EditProfileAction
~EditProfileAction()
Definition: editprofileaction.cpp:85
ProfileAction
Definition: profileaction.h:26
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