Refactor: separate GUI sources from core sources

This PR splits the GUI source files from the core source files. The immediate goal is to allow the CLI to require only a minimum number of dynamic libraries. The long term goal is to create an architectural boundary around the core module, in preparation of libkdbx.
This commit is contained in:
louib authored and Jonathan White committed 2024-06-29 11:50:23 -04:00
1 parent 854459068f
commit 166a371050
36 files changed
+173 -163

No files matched your search

+11
View File
@@ -802,10 +802,21 @@ void Entry::addHistoryItem(Entry* entry)
{
Q_ASSERT(!entry->parent());
entry->setHistoryOwner(this);
m_history.append(entry);
emitModified();
}
void Entry::setHistoryOwner(Entry* entry)
{
m_historyOwner = entry;
}
Entry* Entry::historyOwner() const
{
return m_historyOwner;
}
void Entry::removeHistoryItems(const QList<Entry*>& historyEntries)
{
if (historyEntries.isEmpty()) {