diff options
author | rtk0c <[email protected]> | 2022-06-27 00:14:58 +0000 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-27 00:14:58 +0000 |
commit | 3250fc72f906797f113855cf9dde4e7803a66bd9 (patch) | |
tree | 2e270e38e6578738ffd9e91b7d5aaa9b4db545cb /ui.qt/source/Keyword.hpp | |
parent | 8a23aa89a58d3a90d5851b449b5552e1fcdcaded (diff) |
(From git) Reformat qt ui project
git-svn-id: file:///home/arch/svn/epistmool/trunk@5 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..481b5bb --- /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 mName; + std::vector<KnowledgeId> mAssociations; + +public: + Keyword(const QString& name); + ~Keyword(); + + Keyword(const Keyword&) = default; + Keyword& operator=(const Keyword&) = default; + Keyword(Keyword&&) = default; + Keyword& operator=(Keyword&&) = default; +}; + +class KeywordDatabase +{ +}; |