• 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
  • LinkedList
ListPlugin.h
Go to the documentation of this file.
1 /*
2  This file is part of Rocs.
3  Copyright 2011 Tomaz Canabrava <tomaz.canabrava@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 LISTPLUGIN_H
20 #define LISTPLUGIN_H
21 #include "DataStructureBackendInterface.h"
22 
23 class Document;
24 
25 namespace Rocs
26 {
27 
28 class ListPlugin : public DataStructureBackendInterface
29 {
30 public:
31  ListPlugin(QObject* parent, const QList<QVariant> & /* args*/);
32 
33  virtual ~ListPlugin();
34 
35  virtual DataStructurePtr convertToDataStructure(DataStructurePtr graph, Document* parent);
36  virtual DataStructurePtr createDataStructure(Document* parent);
37 
38  virtual bool canConvertFrom(Document* doc) const;
39 
40  virtual QGraphicsItem* pointerItem(PointerPtr) const;
41  virtual QGraphicsItem* dataItem(DataPtr) const;
42 
43  virtual QLayout* nodeExtraProperties(DataPtr arg1, QWidget* arg2) const;
44 };
45 }
46 #endif // LISTPLUGIN_H
DataStructurePtr
boost::shared_ptr< DataStructure > DataStructurePtr
Definition: CoreTypes.h:38
Rocs::ListPlugin::pointerItem
virtual QGraphicsItem * pointerItem(PointerPtr) const
Definition: ListPlugin.cpp:74
Rocs::ListPlugin::dataItem
virtual QGraphicsItem * dataItem(DataPtr) const
Definition: ListPlugin.cpp:69
Rocs::ListPlugin::createDataStructure
virtual DataStructurePtr createDataStructure(Document *parent)
Definition: ListPlugin.cpp:64
QObject
Rocs::ListPlugin::canConvertFrom
virtual bool canConvertFrom(Document *doc) const
Check if is possíble to convert from the doc document to this data structure.
Definition: ListPlugin.cpp:94
DataStructureBackendInterface.h
PointerPtr
boost::shared_ptr< Pointer > PointerPtr
Definition: CoreTypes.h:35
Rocs::ListPlugin
Definition: ListPlugin.h:28
Document
Definition: Document.h:41
Rocs::ListPlugin::ListPlugin
ListPlugin(QObject *parent, const QList< QVariant > &)
Definition: ListPlugin.cpp:48
Rocs::ListPlugin::~ListPlugin
virtual ~ListPlugin()
Definition: ListPlugin.cpp:54
DataPtr
boost::shared_ptr< Data > DataPtr
Definition: CoreTypes.h:34
Rocs::ListPlugin::convertToDataStructure
virtual DataStructurePtr convertToDataStructure(DataStructurePtr graph, Document *parent)
Definition: ListPlugin.cpp:59
DataStructureBackendInterface
Definition: DataStructureBackendInterface.h:42
Rocs::ListPlugin::nodeExtraProperties
virtual QLayout * nodeExtraProperties(DataPtr arg1, QWidget *arg2) const
Definition: ListPlugin.cpp:79
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