Move all files under src/

This commit is contained in:
Konstantinos Sideris 2018-07-17 16:37:25 +03:00
parent 96a2c614bf
commit 0e814da91c
145 changed files with 281 additions and 279 deletions

19
src/ui/ThemeManager.cpp Normal file
View file

@ -0,0 +1,19 @@
#include <QFontDatabase>
#include "ThemeManager.h"
ThemeManager::ThemeManager() { setTheme(new Theme); }
void
ThemeManager::setTheme(Theme *theme)
{
theme_ = theme;
theme_->setParent(this);
}
QColor
ThemeManager::themeColor(const QString &key) const
{
Q_ASSERT(theme_);
return theme_->getColor(key);
}