summary refs log tree commit diff
path: root/src/dialogs/UserProfile.h
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-01-15 19:18:00 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-01-15 19:18:00 -0500
commitfef042f1319febe233ae54932ce44b12729c272c (patch)
treea05ce95aab5bb8ddbe68746022991d364e02e8bb /src/dialogs/UserProfile.h
parentRemove UserItem class (diff)
downloadnheko-fef042f1319febe233ae54932ce44b12729c272c.tar.xz
Remove unused file
Diffstat (limited to 'src/dialogs/UserProfile.h')
-rw-r--r--src/dialogs/UserProfile.h70
1 files changed, 0 insertions, 70 deletions
diff --git a/src/dialogs/UserProfile.h b/src/dialogs/UserProfile.h
deleted file mode 100644
index 8129fdcf..00000000
--- a/src/dialogs/UserProfile.h
+++ /dev/null
@@ -1,70 +0,0 @@
-#pragma once
-
-#include <QString>
-#include <QWidget>
-
-class Avatar;
-class FlatButton;
-class QLabel;
-class QListWidget;
-class Toggle;
-
-struct DeviceInfo
-{
-        QString device_id;
-        QString display_name;
-};
-
-class Proxy : public QObject
-{
-        Q_OBJECT
-
-signals:
-        void done(const QString &user_id, const std::vector<DeviceInfo> &devices);
-};
-
-namespace dialogs {
-
-class DeviceItem : public QWidget
-{
-        Q_OBJECT
-
-public:
-        explicit DeviceItem(DeviceInfo device, QWidget *parent);
-
-private:
-        DeviceInfo info_;
-
-        // Toggle *verifyToggle_;
-};
-
-class UserProfile : public QWidget
-{
-        Q_OBJECT
-public:
-        explicit UserProfile(QWidget *parent = nullptr);
-
-        void init(const QString &userId, const QString &roomId);
-
-private slots:
-        void updateDeviceList(const QString &user_id, const std::vector<DeviceInfo> &devices);
-
-private:
-        void resetToDefaults();
-
-        Avatar *avatar_;
-        QString roomId_;
-
-        QLabel *userIdLabel_;
-        QLabel *displayNameLabel_;
-
-        FlatButton *banBtn_;
-        FlatButton *kickBtn_;
-        FlatButton *ignoreBtn_;
-        FlatButton *startChat_;
-
-        QLabel *devicesLabel_;
-        QListWidget *devices_;
-};
-
-} // dialogs