rocs/RocsCore
TestPlugins.cpp
Go to the documentation of this file.
95 DataStructureBackendInterface * plList = DataStructureBackendManager::self().backend("LinkedList");
115 //FIXME the conversion scripts from graphs to lists must be rewritten, they cannot even handle acyclic graphs gracefully
126 DataStructureBackendInterface *plTree = DataStructureBackendManager::self().backend("RootedTree");
131 // connect(DSPluginManager::instance(), SIGNAL(changingDS(QString)), &doc, SLOT(convertToDS(QString)));
const QStringList backends() const
Returns list of loaded backends.
Definition: DataStructureBackendManager.cpp:270
static DataStructureBackendManager & self()
Returns self reference to backend manager.
Definition: DataStructureBackendManager.cpp:233
bool contains(const T &value) const
Definition: Document.h:41
void setBackend(const QString &pluginIdentifier)
Change the active backend.
Definition: DataStructureBackendManager.cpp:240
QString internalName()
return the internal name from plugin.
Definition: DataStructureBackendInterface.cpp:63
virtual DataStructurePtr convertToDataStructure(DataStructurePtr, Document *parent)=0
Definition: TestPlugins.h:23
void removeDocument(Document *document)
Remove document from document list.
Definition: DocumentManager.cpp:173
DataStructureBackendInterface * backend(const QString &internalName) const
Returns data structure backend identified by its identifier internalName.
Definition: DataStructureBackendManager.cpp:280
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.