Move all files under src/
This commit is contained in:
parent
96a2c614bf
commit
0e814da91c
145 changed files with 281 additions and 279 deletions
19
src/ui/ThemeManager.cpp
Normal file
19
src/ui/ThemeManager.cpp
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue