mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
1043f9f803
* refactor: remove unnecessary includes in headers * fix: formatting * chore: changelog * fix: scrollbar * fix: suggestions and old appbase remains * fix: suggestion * fix: missing Qt forward declarations * fix: another qt include * fix: includes for precompiled-headers=off * Add missing `<memory>` includes * Add missing `#pragma once` * Fix tests Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
31 lines
499 B
C++
31 lines
499 B
C++
#pragma once
|
|
|
|
#include "widgets/BaseWindow.hpp"
|
|
|
|
#include <QWidget>
|
|
|
|
namespace chatterino {
|
|
|
|
class AccountSwitchWidget;
|
|
|
|
class AccountSwitchPopup : public BaseWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AccountSwitchPopup(QWidget *parent = nullptr);
|
|
|
|
void refresh();
|
|
|
|
protected:
|
|
void focusOutEvent(QFocusEvent *event) final;
|
|
void paintEvent(QPaintEvent *event) override;
|
|
|
|
private:
|
|
struct {
|
|
AccountSwitchWidget *accountSwitchWidget = nullptr;
|
|
} ui_;
|
|
};
|
|
|
|
} // namespace chatterino
|