mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Move HighlightState to common.hpp
This commit is contained in:
parent
ebd682730a
commit
7a8cc91eec
2 changed files with 7 additions and 6 deletions
|
@ -6,6 +6,12 @@
|
|||
|
||||
namespace chatterino {
|
||||
|
||||
enum class HighlightState {
|
||||
None,
|
||||
Highlighted,
|
||||
NewMessage,
|
||||
};
|
||||
|
||||
inline QString qS(const std::string &string)
|
||||
{
|
||||
return QString::fromStdString(string);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue