blob: f317ec6cf6a97591ef689b885502e9554211d852 [file] [log] [blame]
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2013, Regents of the University of California
* Yingdi Yu
*
* BSD license, See the LICENSE file for more information
*
* Author: Yingdi Yu <yingdi@cs.ucla.edu>
*/
#ifndef STARTCHATDIALOG_H
#define STARTCHATDIALOG_H
#include <QDialog>
#ifndef Q_MOC_RUN
#include <string>
#endif
namespace Ui {
class StartChatDialog;
}
class StartChatDialog : public QDialog
{
Q_OBJECT
public:
explicit StartChatDialog(QWidget *parent = 0);
~StartChatDialog();
void
setInvitee(const std::string& invitee, const std::string& chatroom);
signals:
void
chatroomConfirmed(const QString& chatroomName, const QString& invitee, bool isIntroducer);
private slots:
void
onOkClicked();
void
onCancelClicked();
private:
Ui::StartChatDialog *ui;
std::string m_invitee;
};
#endif // STARTCHATDIALOG_H