mirror-chatterino2/src/widgets/accountswitchwidget.hpp
Rasmus Karlsson 1a870685b0 Implement the "inline" account switch button
Make the account switch listview into a widget
2017-12-19 02:17:01 +01:00

23 lines
329 B
C++

#pragma once
#include <QListWidget>
namespace chatterino {
namespace widgets {
class AccountSwitchWidget : public QListWidget
{
Q_OBJECT
public:
explicit AccountSwitchWidget(QWidget *parent = nullptr);
void refresh();
private:
void refreshSelection();
};
} // namespace widgets
} // namespace chatterino