mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
d113115822
doesn't do anything with the user input box on enter yet though
36 lines
518 B
C++
36 lines
518 B
C++
#ifndef USERPOPUPWIDGET_H
|
|
#define USERPOPUPWIDGET_H
|
|
|
|
#include <QWidget>
|
|
|
|
#include <memory>
|
|
|
|
namespace Ui {
|
|
class AccountPopup;
|
|
}
|
|
|
|
namespace chatterino {
|
|
|
|
class Channel;
|
|
|
|
namespace widgets {
|
|
|
|
class AccountPopupWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
AccountPopupWidget(std::shared_ptr<Channel> &channel);
|
|
|
|
void setName(const QString &name);
|
|
|
|
private:
|
|
Ui::AccountPopup *_ui;
|
|
|
|
std::shared_ptr<Channel> &_channel;
|
|
};
|
|
|
|
} // namespace widgets
|
|
} // namespace chatterino
|
|
|
|
#endif // USERPOPUPWIDGET_H
|