2020-07-11 01:19:48 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
class QPushButton;
|
2020-07-23 03:15:45 +02:00
|
|
|
class QString;
|
2020-07-11 01:19:48 +02:00
|
|
|
|
|
|
|
namespace dialogs {
|
|
|
|
|
|
|
|
class AcceptCall : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2020-08-01 20:31:10 +02:00
|
|
|
AcceptCall(const QString &caller,
|
|
|
|
const QString &displayName,
|
|
|
|
const QString &roomName,
|
|
|
|
const QString &avatarUrl,
|
|
|
|
QWidget *parent = nullptr);
|
2020-07-11 01:19:48 +02:00
|
|
|
|
|
|
|
signals:
|
|
|
|
void accept();
|
|
|
|
void reject();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QPushButton *acceptBtn_;
|
|
|
|
QPushButton *rejectBtn_;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|