| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| * Copyright (c) 2013, Regents of the University of California |
| * BSD license, See the LICENSE file for more information |
| * Author: Yingdi Yu <yingdi@cs.ucla.edu> |
| #ifndef CHRONOCHAT_ADD_CONTACT_PANEL_HPP |
| #define CHRONOCHAT_ADD_CONTACT_PANEL_HPP |
| #include <QTableWidgetItem> |
| #include "endorse-info.hpp" |
| class AddContactPanel : public QDialog |
| AddContactPanel(QWidget* parent = 0); |
| onContactEndorseInfoReady(const EndorseInfo& endorseInfo); |
| fetchInfo(const QString& identity); |
| addContact(const QString& identity); |
| QString m_searchIdentity; |
| QTableWidgetItem* m_typeHeader; |
| QTableWidgetItem* m_valueHeader; |
| QTableWidgetItem* m_endorseHeader; |
| } // namespace chronochat |
| #endif // CHRONOCHAT_ADD_CONTACT_PANEL_HPP |