pidgin/quail/quail

Setup the signal slots in the buddy list
soc.2013.phil.quail
2013-07-01, Phil Hannent
87bc001209e9
Setup the signal slots in the buddy list
#include "joinachatwindow.h"
#include "ui_joinachatwindow.h"
#include "roomlistwindow.h"
JoinAChatWindow::JoinAChatWindow(QWidget *parent) :
QDialog(parent),
ui(new Ui::JoinAChatWindow),
m_roomListWindow(0)
{
ui->setupUi(this);
}
JoinAChatWindow::~JoinAChatWindow()
{
delete ui;
}
void JoinAChatWindow::on_btnCancel_clicked()
{
close();
}
void JoinAChatWindow::on_btnJoin_clicked()
{
close();
}
void JoinAChatWindow::on_btnRoomList_clicked()
{
if (m_roomListWindow == 0)
{
m_roomListWindow = new RoomListWindow(this);
}
m_roomListWindow->show();
}