![]() |
HAL
|
#include <context_tree_model.h>
Public Member Functions | |
ContextDirectory (QString name, u32 parentId, u32 id) | |
void | writeToFile (QJsonObject &json) |
QString | name () const |
u32 | id () const |
void | setId (u32 id_) |
void | setName (QString name_) |
Definition at line 37 of file context_tree_model.h.
Definition at line 45 of file context_tree_model.h.
References id().
|
inline |
Definition at line 58 of file context_tree_model.h.
Referenced by hal::ContextProxyModel::canDropMimeData(), ContextDirectory(), hal::ContextProxyModel::dropMimeData(), hal::ActionCreateObject::exec(), hal::ActionDeleteObject::exec(), hal::GuiApiClasses::View::getCurrentDirectory(), hal::ContextTreeItem::getData(), hal::ContextTreeItem::getId(), hal::ContextProxyModel::mimeData(), and hal::ContextTreeModel::removeDirectory().
|
inline |
Definition at line 57 of file context_tree_model.h.
Referenced by hal::ActionDeleteObject::exec(), hal::ActionRenameObject::exec(), hal::ContextTreeItem::getData(), and hal::ContextTreeItem::getName().
|
inline |
Definition at line 59 of file context_tree_model.h.
Referenced by hal::ActionCreateObject::exec().
|
inline |
Definition at line 60 of file context_tree_model.h.
Referenced by hal::GraphContextManager::renameContextDirectoryAction().
void hal::ContextDirectory::writeToFile | ( | QJsonObject & | json | ) |
Writes the directory to a given json object.
json | - The object to write to. |
Definition at line 12 of file context_tree_model.cpp.