QTfrontend/ui/widget/roomnameprompt.h
changeset 9541 312bb4384f33
parent 9080 9b42757d7e71
child 9998 736015b847e3
equal deleted inserted replaced
9539:ab44d44a6177 9541:312bb4384f33
    21 
    21 
    22 #include <QDialog>
    22 #include <QDialog>
    23 
    23 
    24 class QLineEdit;
    24 class QLineEdit;
    25 class QLabel;
    25 class QLabel;
       
    26 class QCheckBox;
    26 
    27 
    27 class RoomNamePrompt : public QDialog
    28 class RoomNamePrompt : public QDialog
    28 {
    29 {
    29         Q_OBJECT
    30         Q_OBJECT
    30 
    31 
    31     public:
    32     public:
    32         RoomNamePrompt(QWidget* parent, const QString & roomName);
    33         RoomNamePrompt(QWidget* parent, const QString & roomName);
       
    34         QString getRoomName();
       
    35         QString getPassword();
    33 
    36 
    34     signals:
    37     private:
    35         void roomNameChosen(const QString & roomName);
    38         QLineEdit * leRoomName;
       
    39         QLabel * label;
       
    40         QCheckBox * cbSetPassword;
       
    41         QLineEdit * lePassword;
    36 
    42 
    37     private slots:
    43     private slots:
    38         void setRoomName();
    44         void checkBoxToggled();
    39 
       
    40     private:
       
    41         QLineEdit * editBox;
       
    42         QLabel * label;
       
    43 };
    45 };
    44 
    46 
    45 #endif // ROOMNAMEPROMPT_H
    47 #endif // ROOMNAMEPROMPT_H