Merge branch 'experimental/template-znode'

This commit is contained in:
2025-09-25 21:19:32 +02:00
2 changed files with 44 additions and 0 deletions

View File

@@ -74,6 +74,49 @@ XQChildModel* createChildModel()
} }
/*
CONFIG += precompile_header
PRECOMPILED_HEADER = pch.h
// pch.h Precompiled Header für Qt-Projekt
Stelle sicher, dass pch.h im Projektordner liegt und in den .cpp-Dateien eingebunden wird:
C++
#include "pch.h"
#ifndef PCH_H
#define PCH_H
// Qt Core
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
#include <QtCore/QObject>
#include <QtCore/QTimer>
#include <QtCore/QDateTime>
// Qt GUI
#include <QtGui/QGuiApplication>
#include <QtGui/QIcon>
#include <QtGui/QPixmap>
// Qt Widgets (falls verwendet)
#include <QtWidgets/QApplication>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QLabel>
// STL
#include <vector>
#include <string>
#include <map>
#include <memory>
#endif // PCH_H
*/
using namespace Qt::Literals::StringLiterals; using namespace Qt::Literals::StringLiterals;

View File

@@ -53,6 +53,7 @@ namespace znode
//! einfache tree-klasse, besonderheit: der nutzlast-string-type ist templated. //! einfache tree-klasse, besonderheit: der nutzlast-string-type ist templated.
template<typename str_t> template<typename str_t>
//class zbasic_node : public zid, public zpayload<str_t>, public std::enable_shared_from_this<zbasic_node<str_t>>
class zbasic_node : public zid, public zpayload<str_t>, public std::enable_shared_from_this<zbasic_node<str_t>> class zbasic_node : public zid, public zpayload<str_t>, public std::enable_shared_from_this<zbasic_node<str_t>>
{ {