Yingdi Yu | 847aa86 | 2013-10-09 16:35:53 -0700 | [diff] [blame] | 1 | /* -*- 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 | |
| 11 | #ifndef CONTACTPANEL_H |
| 12 | #define CONTACTPANEL_H |
| 13 | |
| 14 | #include <QDialog> |
Yingdi Yu | 40eca75 | 2013-10-10 15:00:58 -0700 | [diff] [blame] | 15 | #include <QStringListModel> |
Yingdi Yu | 3b318c1 | 2013-10-15 17:54:00 -0700 | [diff] [blame] | 16 | #include <QtSql/QSqlDatabase> |
Yingdi Yu | 2ac40fb | 2013-10-21 13:38:38 -0700 | [diff] [blame] | 17 | #include <QMenu> |
Yingdi Yu | 8e13583 | 2013-11-09 20:12:31 -0800 | [diff] [blame] | 18 | #include <QMessageBox> |
Yingdi Yu | 3b318c1 | 2013-10-15 17:54:00 -0700 | [diff] [blame] | 19 | |
| 20 | #include "profileeditor.h" |
Yingdi Yu | 0269c87 | 2013-10-16 13:16:49 -0700 | [diff] [blame] | 21 | #include "addcontactpanel.h" |
Yingdi Yu | 2ac40fb | 2013-10-21 13:38:38 -0700 | [diff] [blame] | 22 | #include "setaliasdialog.h" |
Yingdi Yu | 595aadc | 2013-10-21 15:01:40 -0700 | [diff] [blame] | 23 | #include "startchatdialog.h" |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 24 | #include "invitationdialog.h" |
| 25 | #include "settingdialog.h" |
Yingdi Yu | eda39aa | 2013-10-23 23:07:29 -0700 | [diff] [blame] | 26 | #include "chatdialog.h" |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 27 | #include "endorse-combobox-delegate.h" |
Yingdi Yu | ae8217c | 2013-11-09 00:03:26 -0800 | [diff] [blame] | 28 | #include "browsecontactdialog.h" |
Yingdi Yu | b5a0fd3 | 2013-11-10 16:26:52 -0800 | [diff] [blame] | 29 | #include "warningdialog.h" |
Yingdi Yu | 3b318c1 | 2013-10-15 17:54:00 -0700 | [diff] [blame] | 30 | |
| 31 | #ifndef Q_MOC_RUN |
Yingdi Yu | 9236c43 | 2013-10-18 11:29:25 -0700 | [diff] [blame] | 32 | #include "contact-manager.h" |
Yingdi Yu | 7989eb2 | 2013-10-31 17:38:22 -0700 | [diff] [blame] | 33 | #include "chronos-invitation.h" |
Yingdi Yu | 9b34b1f | 2013-11-01 17:37:51 -0700 | [diff] [blame] | 34 | #include "panel-policy-manager.h" |
Yingdi Yu | 3b318c1 | 2013-10-15 17:54:00 -0700 | [diff] [blame] | 35 | #endif |
Yingdi Yu | 847aa86 | 2013-10-09 16:35:53 -0700 | [diff] [blame] | 36 | |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 37 | |
Yingdi Yu | 847aa86 | 2013-10-09 16:35:53 -0700 | [diff] [blame] | 38 | namespace Ui { |
| 39 | class ContactPanel; |
| 40 | } |
| 41 | |
| 42 | class ContactPanel : public QDialog |
| 43 | { |
Yingdi Yu | eda39aa | 2013-10-23 23:07:29 -0700 | [diff] [blame] | 44 | Q_OBJECT |
Yingdi Yu | 847aa86 | 2013-10-09 16:35:53 -0700 | [diff] [blame] | 45 | |
| 46 | public: |
Yingdi Yu | 8e13583 | 2013-11-09 20:12:31 -0800 | [diff] [blame] | 47 | explicit ContactPanel(QWidget *parent = 0); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 48 | |
Yingdi Yu | 3b318c1 | 2013-10-15 17:54:00 -0700 | [diff] [blame] | 49 | ~ContactPanel(); |
Yingdi Yu | 847aa86 | 2013-10-09 16:35:53 -0700 | [diff] [blame] | 50 | |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 51 | private: |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 52 | void |
| 53 | connectToDaemon(); |
| 54 | |
| 55 | void |
| 56 | onConnectionData(const ndn::ptr_lib::shared_ptr<const ndn::Interest>& interest, |
| 57 | const ndn::ptr_lib::shared_ptr<ndn::Data>& data); |
| 58 | |
| 59 | void |
| 60 | onConnectionDataTimeout(const ndn::ptr_lib::shared_ptr<const ndn::Interest>& interest); |
| 61 | |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 62 | void |
Yingdi Yu | 4694828 | 2013-11-06 18:43:31 -0800 | [diff] [blame] | 63 | createAction(); |
| 64 | |
| 65 | void |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 66 | openDB(); |
| 67 | |
| 68 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 69 | loadTrustAnchor(); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 70 | |
| 71 | void |
Yingdi Yu | fdb8ab8 | 2013-11-10 01:38:21 -0800 | [diff] [blame] | 72 | setLocalPrefix(int retry = 10); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 73 | |
| 74 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 75 | onLocalPrefix(const ndn::ptr_lib::shared_ptr<const ndn::Interest>& interest, |
| 76 | const ndn::ptr_lib::shared_ptr<ndn::Data>& data); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 77 | |
| 78 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 79 | onLocalPrefixTimeout(const ndn::ptr_lib::shared_ptr<const ndn::Interest>& interest, |
Yingdi Yu | fdb8ab8 | 2013-11-10 01:38:21 -0800 | [diff] [blame] | 80 | int retry); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 81 | |
| 82 | void |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 83 | setInvitationListener(); |
| 84 | |
| 85 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 86 | onInvitation(const ndn::ptr_lib::shared_ptr<const ndn::Name>& prefix, |
| 87 | const ndn::ptr_lib::shared_ptr<const ndn::Interest>& interest, |
| 88 | ndn::Transport& transport, |
| 89 | uint64_t registeredPrefixI); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 90 | |
| 91 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 92 | onInvitationRegisterFailed(const ndn::ptr_lib::shared_ptr<const ndn::Name>& prefix); |
| 93 | |
Yingdi Yu | 4694828 | 2013-11-06 18:43:31 -0800 | [diff] [blame] | 94 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 95 | sendInterest(const ndn::Interest& interest, |
| 96 | const ndn::OnVerified& onVerified, |
| 97 | const ndn::OnVerifyFailed& onVerifyFailed, |
| 98 | const TimeoutNotify& timeoutNotify, |
| 99 | int retry = 1, |
| 100 | int stepCount = 0); |
| 101 | |
| 102 | void |
| 103 | onTargetData(const ndn::ptr_lib::shared_ptr<const ndn::Interest>& interest, |
| 104 | const ndn::ptr_lib::shared_ptr<ndn::Data>& data, |
| 105 | int stepCount, |
| 106 | const ndn::OnVerified& onVerified, |
| 107 | const ndn::OnVerifyFailed& onVerifyFailed, |
| 108 | const TimeoutNotify& timeoutNotify); |
| 109 | |
| 110 | void |
| 111 | onTargetTimeout(const ndn::ptr_lib::shared_ptr<const ndn::Interest>& interest, |
| 112 | int retry, |
| 113 | int stepCount, |
| 114 | const ndn::OnVerified& onVerified, |
| 115 | const ndn::OnVerifyFailed& onVerifyFailed, |
| 116 | const TimeoutNotify& timeoutNotify); |
| 117 | |
| 118 | |
| 119 | void |
| 120 | onCertData(const ndn::ptr_lib::shared_ptr<const ndn::Interest>& interest, |
| 121 | const ndn::ptr_lib::shared_ptr<ndn::Data>& cert, |
| 122 | ndn::ptr_lib::shared_ptr<ndn::ValidationRequest> previousStep); |
| 123 | |
| 124 | void |
| 125 | onCertTimeout(const ndn::ptr_lib::shared_ptr<const ndn::Interest>& interest, |
| 126 | const ndn::OnVerifyFailed& onVerifyFailed, |
| 127 | const ndn::ptr_lib::shared_ptr<ndn::Data>& data, |
| 128 | ndn::ptr_lib::shared_ptr<ndn::ValidationRequest> nextStep); |
Yingdi Yu | 4694828 | 2013-11-06 18:43:31 -0800 | [diff] [blame] | 129 | |
| 130 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 131 | onInvitationCertVerified(const ndn::ptr_lib::shared_ptr<ndn::Data>& data, |
| 132 | ndn::ptr_lib::shared_ptr<ChronosInvitation> invitation); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 133 | |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 134 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 135 | onInvitationCertVerifyFailed(const ndn::ptr_lib::shared_ptr<ndn::Data>& data); |
| 136 | |
| 137 | void |
| 138 | onInvitationCertTimeoutNotify(); |
| 139 | |
| 140 | void |
| 141 | popChatInvitation(ndn::ptr_lib::shared_ptr<ChronosInvitation> invitation, |
Yingdi Yu | 4694828 | 2013-11-06 18:43:31 -0800 | [diff] [blame] | 142 | const ndn::Name& inviterNameSpace, |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 143 | ndn::ptr_lib::shared_ptr<ndn::IdentityCertificate> certificate); |
Yingdi Yu | 4694828 | 2013-11-06 18:43:31 -0800 | [diff] [blame] | 144 | |
| 145 | void |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 146 | collectEndorsement(); |
| 147 | |
| 148 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 149 | onDnsEndorseeVerified(const ndn::ptr_lib::shared_ptr<ndn::Data>& data, int count); |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 150 | |
| 151 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 152 | onDnsEndorseeVerifyFailed(const ndn::ptr_lib::shared_ptr<ndn::Data>& data, int count); |
| 153 | |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 154 | void |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 155 | onDnsEndorseeTimeoutNotify(int count); |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 156 | |
| 157 | void |
| 158 | updateCollectStatus(int count); |
| 159 | |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 160 | std::string |
| 161 | getRandomString(); |
| 162 | |
Yingdi Yu | eda39aa | 2013-10-23 23:07:29 -0700 | [diff] [blame] | 163 | signals: |
| 164 | void |
| 165 | newInvitationReady(); |
| 166 | |
Yingdi Yu | ae8217c | 2013-11-09 00:03:26 -0800 | [diff] [blame] | 167 | void |
| 168 | refreshCertDirectory(); |
| 169 | |
Yingdi Yu | 40eca75 | 2013-10-10 15:00:58 -0700 | [diff] [blame] | 170 | private slots: |
| 171 | void |
Yingdi Yu | 8e13583 | 2013-11-09 20:12:31 -0800 | [diff] [blame] | 172 | showError(const QString& msg); |
| 173 | |
| 174 | void |
Yingdi Yu | e433a50 | 2013-11-10 01:34:57 -0800 | [diff] [blame] | 175 | showWarning(const QString& msg); |
| 176 | |
| 177 | void |
Yingdi Yu | 40eca75 | 2013-10-10 15:00:58 -0700 | [diff] [blame] | 178 | updateSelection(const QItemSelection &selected, |
| 179 | const QItemSelection &deselected); |
| 180 | |
Yingdi Yu | 3b318c1 | 2013-10-15 17:54:00 -0700 | [diff] [blame] | 181 | void |
Yingdi Yu | 4694828 | 2013-11-06 18:43:31 -0800 | [diff] [blame] | 182 | updateDefaultIdentity(const QString& identity, |
| 183 | const QString& nickName); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 184 | |
| 185 | void |
Yingdi Yu | 3b318c1 | 2013-10-15 17:54:00 -0700 | [diff] [blame] | 186 | openProfileEditor(); |
| 187 | |
Yingdi Yu | 0269c87 | 2013-10-16 13:16:49 -0700 | [diff] [blame] | 188 | void |
| 189 | openAddContactPanel(); |
Yingdi Yu | ae8217c | 2013-11-09 00:03:26 -0800 | [diff] [blame] | 190 | |
| 191 | void |
| 192 | openBrowseContactDialog(); |
Yingdi Yu | 0269c87 | 2013-10-16 13:16:49 -0700 | [diff] [blame] | 193 | |
Yingdi Yu | 2ac40fb | 2013-10-21 13:38:38 -0700 | [diff] [blame] | 194 | void |
| 195 | openSetAliasDialog(); |
Yingdi Yu | ae8217c | 2013-11-09 00:03:26 -0800 | [diff] [blame] | 196 | |
| 197 | void |
| 198 | removeContactButton(); |
Yingdi Yu | 595aadc | 2013-10-21 15:01:40 -0700 | [diff] [blame] | 199 | |
| 200 | void |
| 201 | openStartChatDialog(); |
Yingdi Yu | 2ac40fb | 2013-10-21 13:38:38 -0700 | [diff] [blame] | 202 | |
| 203 | void |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 204 | openSettingDialog(); |
| 205 | |
| 206 | void |
Yingdi Yu | eda39aa | 2013-10-23 23:07:29 -0700 | [diff] [blame] | 207 | openInvitationDialog(); |
| 208 | |
| 209 | void |
Yingdi Yu | 2ac40fb | 2013-10-21 13:38:38 -0700 | [diff] [blame] | 210 | refreshContactList(); |
| 211 | |
| 212 | void |
| 213 | showContextMenu(const QPoint& pos); |
| 214 | |
Yingdi Yu | 595aadc | 2013-10-21 15:01:40 -0700 | [diff] [blame] | 215 | void |
Yingdi Yu | 4694828 | 2013-11-06 18:43:31 -0800 | [diff] [blame] | 216 | startChatroom(const QString& chatroom, |
| 217 | const QString& invitee, |
| 218 | bool isIntroducer); |
Yingdi Yu | 595aadc | 2013-10-21 15:01:40 -0700 | [diff] [blame] | 219 | |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 220 | void |
Yingdi Yu | 7989eb2 | 2013-10-31 17:38:22 -0700 | [diff] [blame] | 221 | startChatroom2(const ChronosInvitation& invitation, |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 222 | const ndn::IdentityCertificate& identityCertificate); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 223 | |
| 224 | void |
Yingdi Yu | 7989eb2 | 2013-10-31 17:38:22 -0700 | [diff] [blame] | 225 | acceptInvitation(const ChronosInvitation& invitation, |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 226 | const ndn::IdentityCertificate& identityCertificate); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 227 | |
| 228 | void |
Yingdi Yu | 7989eb2 | 2013-10-31 17:38:22 -0700 | [diff] [blame] | 229 | rejectInvitation(const ChronosInvitation& invitation); |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 230 | |
Yingdi Yu | ec5e72a | 2013-11-03 15:05:26 -0800 | [diff] [blame] | 231 | void |
| 232 | isIntroducerChanged(int state); |
| 233 | |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 234 | void |
| 235 | addScopeClicked(); |
| 236 | |
| 237 | void |
| 238 | deleteScopeClicked(); |
| 239 | |
| 240 | void |
| 241 | saveScopeClicked(); |
| 242 | |
| 243 | void |
| 244 | endorseButtonClicked(); |
Yingdi Yu | 4694828 | 2013-11-06 18:43:31 -0800 | [diff] [blame] | 245 | |
| 246 | void |
| 247 | removeChatDialog(const ndn::Name& chatroomName); |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 248 | |
Yingdi Yu | 7223269 | 2013-11-12 17:50:21 -0800 | [diff] [blame] | 249 | void |
| 250 | addContactIntoPanelPolicy(const ndn::Name& nameSpace); |
| 251 | |
| 252 | void |
| 253 | removeContactFromPanelPolicy(const ndn::Name& keyName); |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 254 | |
| 255 | |
Yingdi Yu | 847aa86 | 2013-10-09 16:35:53 -0700 | [diff] [blame] | 256 | private: |
Yingdi Yu | 3b318c1 | 2013-10-15 17:54:00 -0700 | [diff] [blame] | 257 | Ui::ContactPanel *ui; |
Yingdi Yu | 8e13583 | 2013-11-09 20:12:31 -0800 | [diff] [blame] | 258 | WarningDialog* m_warningDialog; |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 259 | ndn::ptr_lib::shared_ptr<ContactManager> m_contactManager; |
Yingdi Yu | 3b318c1 | 2013-10-15 17:54:00 -0700 | [diff] [blame] | 260 | QStringListModel* m_contactListModel; |
| 261 | ProfileEditor* m_profileEditor; |
Yingdi Yu | 0269c87 | 2013-10-16 13:16:49 -0700 | [diff] [blame] | 262 | AddContactPanel* m_addContactPanel; |
Yingdi Yu | ae8217c | 2013-11-09 00:03:26 -0800 | [diff] [blame] | 263 | BrowseContactDialog* m_browseContactDialog; |
Yingdi Yu | 2ac40fb | 2013-10-21 13:38:38 -0700 | [diff] [blame] | 264 | SetAliasDialog* m_setAliasDialog; |
Yingdi Yu | 595aadc | 2013-10-21 15:01:40 -0700 | [diff] [blame] | 265 | StartChatDialog* m_startChatDialog; |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 266 | InvitationDialog* m_invitationDialog; |
| 267 | SettingDialog* m_settingDialog; |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 268 | std::map<ndn::Name, ChatDialog*, ndn::Name::BreadthFirstLess> m_chatDialogs; |
Yingdi Yu | 2ac40fb | 2013-10-21 13:38:38 -0700 | [diff] [blame] | 269 | QAction* m_menuInvite; |
| 270 | QAction* m_menuAlias; |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 271 | std::vector<ndn::ptr_lib::shared_ptr<ContactItem> > m_contactList; |
| 272 | ndn::ptr_lib::shared_ptr<std::vector<bool> > m_collectStatus; |
Yingdi Yu | 2ac40fb | 2013-10-21 13:38:38 -0700 | [diff] [blame] | 273 | |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 274 | ndn::ptr_lib::shared_ptr<PanelPolicyManager> m_policyManager; |
| 275 | ndn::ptr_lib::shared_ptr<ndn::IdentityManager> m_identityManager; |
| 276 | ndn::ptr_lib::shared_ptr<ndn::Transport> m_transport; |
| 277 | ndn::ptr_lib::shared_ptr<ndn::Face> m_face; |
| 278 | uint64_t m_invitationListenerId; |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 279 | |
| 280 | ndn::Name m_defaultIdentity; |
Yingdi Yu | 4694828 | 2013-11-06 18:43:31 -0800 | [diff] [blame] | 281 | std::string m_nickName; |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 282 | ndn::Name m_localPrefix; |
Yingdi Yu | eda39aa | 2013-10-23 23:07:29 -0700 | [diff] [blame] | 283 | ndn::Name m_inviteListenPrefix; |
Yingdi Yu | 978b3ae | 2013-10-23 11:50:51 -0700 | [diff] [blame] | 284 | |
Yingdi Yu | 76dd800 | 2013-12-24 11:16:32 +0800 | [diff] [blame^] | 285 | ndn::ptr_lib::shared_ptr<ContactItem> m_currentSelectedContact; |
Yingdi Yu | b2e747d | 2013-11-05 23:06:43 -0800 | [diff] [blame] | 286 | QSqlTableModel* m_trustScopeModel; |
| 287 | QSqlTableModel* m_endorseDataModel; |
| 288 | EndorseComboBoxDelegate* m_endorseComboBoxDelegate; |
Yingdi Yu | 847aa86 | 2013-10-09 16:35:53 -0700 | [diff] [blame] | 289 | }; |
| 290 | |
| 291 | #endif // CONTACTPANEL_H |