mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
1a870685b0
Make the account switch listview into a widget
23 lines
329 B
C++
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
|