diff options
author | rtk0c <[email protected]> | 2022-06-27 00:09:44 +0000 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-27 00:09:44 +0000 |
commit | 753c26d320e894069157bd401f7779ad07073d7c (patch) | |
tree | 8dc49b0b68285396c6b619db6c1443b1ecc5abd5 /ui.qt/source/keyword.hpp | |
parent | 21aa12d231ab70529322bab325df8293da63dc8d (diff) |
(From git) Initial Qt GUI setup
git-svn-id: file:///home/arch/svn/epistmool/trunk@2 71f44415-077c-4ad7-a976-72ddbf76608f
Diffstat (limited to 'ui.qt/source/keyword.hpp')
-rw-r--r-- | ui.qt/source/keyword.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ui.qt/source/keyword.hpp b/ui.qt/source/keyword.hpp new file mode 100644 index 0000000..bc50473 --- /dev/null +++ b/ui.qt/source/keyword.hpp @@ -0,0 +1,26 @@ +#pragma once + +#include "fwd.hpp" + +#include <QString> +#include <vector> + +class Keyword +{ +private: + QString name; + std::vector<KnowledgeId> associations; + +public: + Keyword(const QString& name); + ~Keyword(); + + Keyword(const Keyword&) = default; + Keyword& operator=(const Keyword&) = default; + Keyword(Keyword&&) = default; + Keyword& operator=(Keyword&&) = default; +}; + +class KeywordDatabase +{ +}; |