mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
25 lines
387 B
C++
25 lines
387 B
C++
#pragma once
|
|
|
|
#include "pajlada/signals/signalholder.hpp"
|
|
|
|
#include <QListWidget>
|
|
|
|
namespace chatterino {
|
|
|
|
class AccountSwitchWidget : public QListWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AccountSwitchWidget(QWidget *parent = nullptr);
|
|
|
|
void refresh();
|
|
|
|
private:
|
|
void refreshSelection();
|
|
|
|
pajlada::Signals::SignalHolder managedConnections_;
|
|
};
|
|
|
|
} // namespace chatterino
|