Yingdi Yu | d59b593 | 2013-10-16 13:16:49 -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 | |
Yingdi Yu | a489875 | 2013-10-15 20:31:37 -0700 | [diff] [blame] | 11 | #include "addcontactpanel.h" |
| 12 | #include "ui_addcontactpanel.h" |
| 13 | |
Yingdi Yu | d59b593 | 2013-10-16 13:16:49 -0700 | [diff] [blame^] | 14 | AddContactPanel::AddContactPanel(QWidget *parent) |
| 15 | : QDialog(parent) |
| 16 | , ui(new Ui::AddContactPanel) |
| 17 | , m_selfEndorseCertificate(NULL) |
Yingdi Yu | a489875 | 2013-10-15 20:31:37 -0700 | [diff] [blame] | 18 | { |
Yingdi Yu | d59b593 | 2013-10-16 13:16:49 -0700 | [diff] [blame^] | 19 | ui->setupUi(this); |
| 20 | |
| 21 | connect(ui->cancelButton, SIGNAL(clicked()), |
| 22 | this, SLOT(onCancelClicked())); |
| 23 | connect(ui->searchButton, SIGNAL(clicked()), |
| 24 | this, SLOT(onSearchClicked())); |
Yingdi Yu | a489875 | 2013-10-15 20:31:37 -0700 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | AddContactPanel::~AddContactPanel() |
| 28 | { |
| 29 | delete ui; |
| 30 | } |
Yingdi Yu | d59b593 | 2013-10-16 13:16:49 -0700 | [diff] [blame^] | 31 | |
| 32 | void |
| 33 | AddContactPanel::onCancelClicked() |
| 34 | { this->close(); } |
| 35 | |
| 36 | void |
| 37 | AddContactPanel::onSearchClicked() |
| 38 | { |
| 39 | } |
| 40 | |
| 41 | void |
| 42 | AddContactPanel::onAddClicked() |
| 43 | { |
| 44 | } |
| 45 | |
| 46 | #if WAF |
| 47 | #include "addcontactpanel.moc" |
| 48 | #include "addcontactpanel.cpp.moc" |
| 49 | #endif |