blob: 8719a845fdd8664a49e0c4f16a873b6b43992208 [file] [log] [blame]
#include "settingdialog.h"
SettingDialog::SettingDialog(QWidget *parent, QString nick, QString chatroom, QString prefix)
: QDialog(parent)
{
setupUi(this);
nickEdit->setPlaceholderText(nick);
roomEdit->setPlaceholderText(chatroom);
prefixEdit->setPlaceholderText(prefix);
connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));
connect(okButton, SIGNAL(clicked()), this, SLOT(accept()));
}