put singletons into their namespace

This commit is contained in:
2017-12-31 22:58:35 +01:00
parent ad001431f2
commit 5a26d5f17f
72 changed files with 357 additions and 288 deletions
+4 -5
View File
@@ -14,10 +14,9 @@
#include <pajlada/signals/signal.hpp>
namespace chatterino {
class ChannelManager;
namespace singletons {
class ThemeManager;
class CompletionManager;
}
namespace widgets {
@@ -45,7 +44,7 @@ class Window : public BaseWidget
WindowGeometry windowGeometry;
public:
explicit Window(const QString &windowName, ThemeManager &_themeManager, bool isMainWindow);
explicit Window(const QString &windowName, singletons::ThemeManager &_themeManager, bool isMainWindow);
void repaintVisibleChatWidgets(Channel *channel = nullptr);
@@ -59,7 +58,7 @@ protected:
virtual void closeEvent(QCloseEvent *event) override;
private:
ThemeManager &themeManager;
singletons::ThemeManager &themeManager;
float dpi;