Move HighlightState to common.hpp

This commit is contained in:
Rasmus Karlsson 2017-12-26 12:30:32 +01:00
parent ebd682730a
commit 7a8cc91eec
2 changed files with 7 additions and 6 deletions

View file

@ -6,6 +6,12 @@
namespace chatterino {
enum class HighlightState {
None,
Highlighted,
NewMessage,
};
inline QString qS(const std::string &string)
{
return QString::fromStdString(string);

View file

@ -1,5 +1,6 @@
#pragma once
#include "common.hpp"
#include "widgets/basewidget.hpp"
#include <QMenu>
@ -23,12 +24,6 @@ class NotebookTab : public BaseWidget
std::string settingRoot;
public:
enum class HighlightState {
None,
Highlighted,
NewMessage,
};
explicit NotebookTab(Notebook *_notebook, const std::string &settingPrefix);
void calcSize();