-- fyerabend

This commit is contained in:
2025-08-08 21:39:33 +02:00
parent 666a2a9440
commit 5919d9d90d
15 changed files with 228 additions and 257 deletions

View File

@@ -26,18 +26,15 @@
#include <xqitemfactory.h>
//! default konstruktor.
XQMainModel::XQMainModel(QObject *parent )
: XQViewModel{parent}
{
}
XQMainModel::~XQMainModel()
{
// delete
}
//! initialisiert dieses model über den namen.
void XQMainModel::initModel(const QString& modelName)
{
@@ -56,6 +53,8 @@ void XQMainModel::initModel(const QString& modelName)
}
//! erzeugt einen eintrag in der baum-übersicht.
XQItem* XQMainModel::createTreeEntry( XQNodePtr contentNode )
{
for(const auto& section : _sections )
@@ -75,6 +74,7 @@ XQItem* XQMainModel::createTreeEntry( XQNodePtr contentNode )
throw XQException( "createTreeEntry: main model should not be emtpy!" );
}
//! firz
void XQMainModel::initContextMenu()
{