mirror-chatterino2/src/widgets/AccountSwitchWidget.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
387 B
C++
Raw Normal View History

#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