blob: 8719a845fdd8664a49e0c4f16a873b6b43992208 [file] [log] [blame]
Zhenkai Zhu85845d22012-06-01 23:10:43 -07001#include "settingdialog.h"
2
3SettingDialog::SettingDialog(QWidget *parent, QString nick, QString chatroom, QString prefix)
4 : QDialog(parent)
5{
6 setupUi(this);
7 nickEdit->setPlaceholderText(nick);
8 roomEdit->setPlaceholderText(chatroom);
9 prefixEdit->setPlaceholderText(prefix);
10 connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));
11 connect(okButton, SIGNAL(clicked()), this, SLOT(accept()));
12}