mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
36 lines
507 B
C++
36 lines
507 B
C++
#ifndef USERPOPUPWIDGET_H
|
|
#define USERPOPUPWIDGET_H
|
|
|
|
#include <QWidget>
|
|
|
|
#include <memory>
|
|
|
|
namespace Ui {
|
|
class UserPopup;
|
|
}
|
|
|
|
namespace chatterino {
|
|
|
|
class Channel;
|
|
|
|
namespace widgets {
|
|
|
|
class UserPopupWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
UserPopupWidget(std::shared_ptr<Channel> &&_channel);
|
|
|
|
void setName(const QString &name);
|
|
|
|
private:
|
|
Ui::UserPopup *_ui;
|
|
|
|
std::shared_ptr<Channel> _channel;
|
|
};
|
|
|
|
} // namespace widgets
|
|
} // namespace chatterino
|
|
|
|
#endif // USERPOPUPWIDGET_H
|