From e9ed12e27bcbc4f4a256e8e3840c1022fd14872e Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Fri, 24 Sep 2021 21:32:06 -0400 Subject: QML the join room dialog --- src/dialogs/JoinRoom.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 src/dialogs/JoinRoom.h (limited to 'src/dialogs/JoinRoom.h') diff --git a/src/dialogs/JoinRoom.h b/src/dialogs/JoinRoom.h deleted file mode 100644 index 11c54d7c..00000000 --- a/src/dialogs/JoinRoom.h +++ /dev/null @@ -1,36 +0,0 @@ -// SPDX-FileCopyrightText: 2021 Nheko Contributors -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#pragma once - -#include - -class QPushButton; -class TextField; - -namespace dialogs { - -class JoinRoom : public QFrame -{ - Q_OBJECT -public: - JoinRoom(QWidget *parent = nullptr); - -signals: - void joinRoom(const QString &room); - -protected: - void showEvent(QShowEvent *event) override; - -private slots: - void handleInput(); - -private: - QPushButton *confirmBtn_; - QPushButton *cancelBtn_; - - TextField *roomInput_; -}; - -} // dialogs -- cgit 1.5.1