summary refs log tree commit diff
path: root/src/dialogs/PlaceCall.h
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-12-18 12:49:24 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-07 14:04:50 +0100
commit07ac7b7e85b504953b0a751a3f56b60ce0a6fb37 (patch)
tree31bbb685ab74f634a34303701f1ed9c7e2a1a8c7 /src/dialogs/PlaceCall.h
parentFix one-way video calls (diff)
downloadnheko-07ac7b7e85b504953b0a751a3f56b60ce0a6fb37.tar.xz
Port PlaceCall dialog to Qml
Diffstat (limited to 'src/dialogs/PlaceCall.h')
-rw-r--r--src/dialogs/PlaceCall.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/dialogs/PlaceCall.h b/src/dialogs/PlaceCall.h
deleted file mode 100644

index e042258f..00000000 --- a/src/dialogs/PlaceCall.h +++ /dev/null
@@ -1,44 +0,0 @@ -#pragma once - -#include <string> -#include <vector> - -#include <QSharedPointer> -#include <QWidget> - -class QComboBox; -class QPushButton; -class QString; -class UserSettings; - -namespace dialogs { - -class PlaceCall : public QWidget -{ - Q_OBJECT - -public: - PlaceCall(const QString &callee, - const QString &displayName, - const QString &roomName, - const QString &avatarUrl, - QSharedPointer<UserSettings> settings, - QWidget *parent = nullptr); - -signals: - void voice(); - void video(); - void cancel(); - -private: - const int iconSize_ = 18; - QPushButton *voiceBtn_ = nullptr; - QPushButton *videoBtn_ = nullptr; - QPushButton *cancelBtn_ = nullptr; - QComboBox *microphoneCombo_ = nullptr; - QComboBox *cameraCombo_ = nullptr; - std::vector<std::string> microphones_; - std::vector<std::string> cameras_; -}; - -}