mirror-chatterino2/src/widgets/AccountSwitchWidget.hpp

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