--- a/QTfrontend/ui/widget/roomnameprompt.h Mon Oct 14 00:33:10 2013 -0400
+++ b/QTfrontend/ui/widget/roomnameprompt.h Mon Oct 14 23:57:31 2013 +0400
@@ -23,6 +23,7 @@
class QLineEdit;
class QLabel;
+class QCheckBox;
class RoomNamePrompt : public QDialog
{
@@ -30,16 +31,17 @@
public:
RoomNamePrompt(QWidget* parent, const QString & roomName);
+ QString getRoomName();
+ QString getPassword();
- signals:
- void roomNameChosen(const QString & roomName);
+ private:
+ QLineEdit * leRoomName;
+ QLabel * label;
+ QCheckBox * cbSetPassword;
+ QLineEdit * lePassword;
private slots:
- void setRoomName();
-
- private:
- QLineEdit * editBox;
- QLabel * label;
+ void checkBoxToggled();
};
#endif // ROOMNAMEPROMPT_H