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

rocs/RocsCore

  • sources
  • kde-4.12
  • kdeedu
  • rocs
  • RocsCore
  • DataStructures
  • RootedTree
RootedTreePlugin.h
Go to the documentation of this file.
1 /*
2  This file is part of RootedTree (Rocs Plugin).
3  Copyright 2012 Wagner Reck <wagner.reck@gmail.com>
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public License as
7  published by the Free Software Foundation; either version 2 of
8  the License, or (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef ROOTEDTREEPLUGIN_H
20 #define ROOTEDTREEPLUGIN_H
21 
22 #include "DataStructureBackendInterface.h"
23 #include "Document.h"
24 
25 namespace Rocs{
26 
27 class /*ROCSLIB_EXPORT*/ RootedTreePlugin : public DataStructureBackendInterface {
28 
29 public:
30  RootedTreePlugin ( QObject* parent, const QList<QVariant> & /* args*/ );
31 
32  virtual ~RootedTreePlugin();
33 
34  virtual DataStructurePtr convertToDataStructure ( DataStructurePtr ds, Document* parent);
35  virtual DataStructurePtr createDataStructure ( Document* parent );
36 
37  bool canConvertFrom(Document*) const;
38 
39  virtual QGraphicsItem* pointerItem ( PointerPtr ) const;
40  virtual QGraphicsItem* dataItem ( DataPtr ) const;
41 
42  virtual QLayout* dataExtraProperties ( DataPtr arg1, QWidget* arg2 ) const;
43 
44  virtual QLayout* pointerExtraProperties ( PointerPtr arg1, QWidget* arg2 ) const;
45 
46  virtual QLayout* dataStructureExtraProperties ( DataStructurePtr graph, QWidget* parentWidget ) const;
47 
48 };
49 }
50 #endif // ROOTEDTREELUGIN_H
DataStructurePtr
boost::shared_ptr< DataStructure > DataStructurePtr
Definition: CoreTypes.h:38
QObject
DataStructureBackendInterface.h
Rocs::RootedTreePlugin::dataItem
virtual QGraphicsItem * dataItem(DataPtr) const
Definition: RootedTreePlugin.cpp:62
Document.h
PointerPtr
boost::shared_ptr< Pointer > PointerPtr
Definition: CoreTypes.h:35
Rocs::RootedTreePlugin::pointerItem
virtual QGraphicsItem * pointerItem(PointerPtr) const
Definition: RootedTreePlugin.cpp:67
Rocs::RootedTreePlugin::dataExtraProperties
virtual QLayout * dataExtraProperties(DataPtr arg1, QWidget *arg2) const
Definition: RootedTreePlugin.cpp:71
Rocs::RootedTreePlugin::createDataStructure
virtual DataStructurePtr createDataStructure(Document *parent)
Definition: RootedTreePlugin.cpp:57
Rocs::RootedTreePlugin::~RootedTreePlugin
virtual ~RootedTreePlugin()
Definition: RootedTreePlugin.cpp:48
Document
Definition: Document.h:41
Rocs::RootedTreePlugin
Definition: RootedTreePlugin.h:27
Rocs::RootedTreePlugin::dataStructureExtraProperties
virtual QLayout * dataStructureExtraProperties(DataStructurePtr graph, QWidget *parentWidget) const
Definition: RootedTreePlugin.cpp:81
Rocs::RootedTreePlugin::RootedTreePlugin
RootedTreePlugin(QObject *parent, const QList< QVariant > &)
Definition: RootedTreePlugin.cpp:43
DataPtr
boost::shared_ptr< Data > DataPtr
Definition: CoreTypes.h:34
Rocs::RootedTreePlugin::convertToDataStructure
virtual DataStructurePtr convertToDataStructure(DataStructurePtr ds, Document *parent)
Definition: RootedTreePlugin.cpp:52
DataStructureBackendInterface
Definition: DataStructureBackendInterface.h:42
Rocs::RootedTreePlugin::pointerExtraProperties
virtual QLayout * pointerExtraProperties(PointerPtr arg1, QWidget *arg2) const
Definition: RootedTreePlugin.cpp:76
Rocs::RootedTreePlugin::canConvertFrom
bool canConvertFrom(Document *) const
Check if is possíble to convert from the doc document to this data structure.
Definition: RootedTreePlugin.cpp:97
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

rocs/RocsCore

Skip menu "rocs/RocsCore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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