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

okteta

  • sources
  • kde-4.12
  • kdesdk
  • okteta
  • kasten
  • controllers
  • view
  • structures
  • settings
structuresmanagerview.h
Go to the documentation of this file.
1 /*
2  This file is part of the Okteta Kasten Framework, made within the KDE community.
3 
4  Copyright 2009 Friedrich W. H. Kossebau <kossebau@kde.org>
5  Copyright 2009, 2012 Alex Richardson <alex.richardson@gmx.de>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Lesser General Public
9  License as published by the Free Software Foundation; either
10  version 2.1 of the License, or (at your option) version 3, or any
11  later version accepted by the membership of KDE e.V. (or its
12  successor approved by the membership of KDE e.V.), which shall
13  act as a proxy defined in Section 6 of version 3 of the license.
14 
15  This library is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public
21  License along with this library. If not, see <http://www.gnu.org/licenses/>.
22  */
23 
24 #ifndef STRUCTURESMANAGERVIEW_H
25 #define STRUCTURESMANAGERVIEW_H
26 
27 // Qt
28 #include <QtGui/QWidget>
29 #include <KNS3/Entry>
30 
31 class StructureAddRemoveWidget;
32 class KPushButton;
33 class KPluginSelector;
34 
35 namespace KNS3
36 {
37 class Button;
38 }
39 namespace Kasten2
40 {
41 class StructuresManager;
42 class StructTool;
43 }
44 
45 class StructuresManagerView: public QWidget
46 {
47 Q_OBJECT
48 
49 public:
50  Q_PROPERTY(QStringList values READ values USER true)
51  explicit StructuresManagerView(Kasten2::StructTool* manager, QWidget* parent = 0);
52 
53  virtual ~StructuresManagerView();
54  QStringList values();
55 
56 protected Q_SLOTS:
57  void onGetNewStructuresClicked(const KNS3::Entry::List& changedEntries);
58  void onPluginSelectorChange(bool change);
59  void advancedSelection();
60 Q_SIGNALS:
61  void selectedPluginsChanged();
62  void changed(QStringList newValues);
63 private:
64  void rebuildPluginSelectorEntries();
65  void reloadSelectedItems();
66 private:
67  Kasten2::StructTool* mTool;
68  QStringList mSelectedStructures;
69  KNS3::Button* mGetNewStructuresButton;
70  KPushButton* mAdvancedSelectionButton;
71  KPluginSelector* mStructuresSelector;
72  bool mRebuildingPluginsList :1;
73 
74 };
75 
76 #endif
StructuresManagerView::onPluginSelectorChange
void onPluginSelectorChange(bool change)
Definition: structuresmanagerview.cpp:123
StructuresManagerView::advancedSelection
void advancedSelection()
Definition: structuresmanagerview.cpp:107
QWidget
StructuresManagerView::onGetNewStructuresClicked
void onGetNewStructuresClicked(const KNS3::Entry::List &changedEntries)
Definition: structuresmanagerview.cpp:77
StructuresManagerView::selectedPluginsChanged
void selectedPluginsChanged()
StructuresManagerView::StructuresManagerView
StructuresManagerView(Kasten2::StructTool *manager, QWidget *parent=0)
Definition: structuresmanagerview.cpp:50
StructuresManagerView::changed
void changed(QStringList newValues)
StructuresManagerView::~StructuresManagerView
virtual ~StructuresManagerView()
Definition: structuresmanagerview.cpp:191
StructureAddRemoveWidget
Definition: structureaddremovewidget.h:36
StructuresManagerView::values
QStringList values()
StructuresManagerView
Definition: structuresmanagerview.h:45
Kasten2::StructTool
Definition: structtool.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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