3 Commits

Author SHA1 Message Date
defa6a1906 Merge branch 'experimental/template-znode' 2025-09-25 21:19:32 +02:00
Christoph Holzheuer
35ebcd2986 tried PCH 2025-09-24 17:29:10 +02:00
93879db3dd very first step... 2025-09-23 22:24:56 +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;

View File

@@ -53,6 +53,7 @@ namespace znode
//! einfache tree-klasse, besonderheit: der nutzlast-string-type ist templated.
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>>
{