mirror-chatterino2/widgets/accountpopup.h
Rasmus Karlsson d113115822 added message-sending through channel->sendMessage
doesn't do anything with the user input box on enter yet though
2017-05-27 17:45:40 +02:00

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