diff options
author | trilene <trilene@runbox.com> | 2020-07-10 19:19:48 -0400 |
---|---|---|
committer | trilene <trilene@runbox.com> | 2020-07-10 19:19:48 -0400 |
commit | 7a206441c86cd2aa84cbbbc6be803f03b2f355ab (patch) | |
tree | 1fe734ab983daa8998eb23432bd560d7dabf7866 /src/TextInputWidget.h | |
parent | Fix m.relates_to being sent as 'null' when not set in encrypted messages. (diff) | |
download | nheko-7a206441c86cd2aa84cbbbc6be803f03b2f355ab.tar.xz |
Support voice calls
Diffstat (limited to 'src/TextInputWidget.h')
-rw-r--r-- | src/TextInputWidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/TextInputWidget.h b/src/TextInputWidget.h index a0105eb0..ae58f4e3 100644 --- a/src/TextInputWidget.h +++ b/src/TextInputWidget.h @@ -149,6 +149,7 @@ public slots: void openFileSelection(); void hideUploadSpinner(); void focusLineEdit() { input_->setFocus(); } + void changeCallButtonState(bool callStarted); private slots: void addSelectedEmoji(const QString &emoji); @@ -161,6 +162,7 @@ signals: void uploadMedia(const QSharedPointer<QIODevice> data, QString mimeClass, const QString &filename); + void callButtonPress(); void sendJoinRoomRequest(const QString &room); void sendInviteRoomRequest(const QString &userid, const QString &reason); @@ -185,6 +187,7 @@ private: LoadingIndicator *spinner_; + FlatButton *callBtn_; FlatButton *sendFileBtn_; FlatButton *sendMessageBtn_; emoji::PickButton *emojiBtn_; |