31 lines
515 B
C++
31 lines
515 B
C++
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
class QPushButton;
|
|
class QString;
|
|
|
|
namespace dialogs {
|
|
|
|
class AcceptCall : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AcceptCall(const QString &caller,
|
|
const QString &displayName,
|
|
const QString &roomName,
|
|
const QString &avatarUrl,
|
|
QWidget *parent = nullptr);
|
|
|
|
signals:
|
|
void accept();
|
|
void reject();
|
|
|
|
private:
|
|
QPushButton *acceptBtn_;
|
|
QPushButton *rejectBtn_;
|
|
};
|
|
|
|
}
|