-- fyerabend
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user