ui.setupUi(this);
connect(ui.inputEdit, SIGNAL(returnPressed()), this, SLOT(enterPressed()));
connect(ui.ownNick, SIGNAL(activated(QString)), this, SLOT(changeNick(QString)));
ui.setupUi(this);
connect(ui.inputEdit, SIGNAL(returnPressed()), this, SLOT(enterPressed()));
connect(ui.ownNick, SIGNAL(activated(QString)), this, SLOT(changeNick(QString)));