blob: 5b05b56141353ec77b490f69d955c78ba541e6d9 [file] [log] [blame]
Yingdi Yu9e0dc292013-10-10 11:39:45 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/*
3 * Copyright (c) 2013, Regents of the University of California
4 * Yingdi Yu
5 *
6 * BSD license, See the LICENSE file for more information
7 *
8 * Author: Yingdi Yu <yingdi@cs.ucla.edu>
9 */
10
Yingdi Yudef90612013-10-09 22:34:42 -070011#ifndef CONTACTPANEL_H
12#define CONTACTPANEL_H
13
14#include <QDialog>
Yingdi Yu01a942b2013-10-10 15:00:58 -070015#include <QStringListModel>
Yingdi Yudef90612013-10-09 22:34:42 -070016
17namespace Ui {
18class ContactPanel;
19}
20
21class ContactPanel : public QDialog
22{
23 Q_OBJECT
24
25public:
26 explicit ContactPanel(QWidget *parent = 0);
27 ~ContactPanel();
28
Yingdi Yu01a942b2013-10-10 15:00:58 -070029private slots:
30 void
31 updateSelection(const QItemSelection &selected,
32 const QItemSelection &deselected);
33
Yingdi Yudef90612013-10-09 22:34:42 -070034private:
35 Ui::ContactPanel *ui;
Yingdi Yu01a942b2013-10-10 15:00:58 -070036 QStringListModel* m_contactListModel;
Yingdi Yudef90612013-10-09 22:34:42 -070037};
38
39#endif // CONTACTPANEL_H