blob: 012ae4f033700a1cc288fecf7921c8ce95cd463d [file] [log] [blame]
Yingdi Yud59b5932013-10-16 13:16:49 -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 Yua4898752013-10-15 20:31:37 -070011#include "addcontactpanel.h"
12#include "ui_addcontactpanel.h"
13
Yingdi Yu0b82a4e2013-10-18 11:29:25 -070014AddContactPanel::AddContactPanel(ndn::Ptr<ContactManager> contactManager,
15 QWidget *parent)
Yingdi Yud59b5932013-10-16 13:16:49 -070016 : QDialog(parent)
17 , ui(new Ui::AddContactPanel)
Yingdi Yu0b82a4e2013-10-18 11:29:25 -070018 , m_contactManager(contactManager)
Yingdi Yua4898752013-10-15 20:31:37 -070019{
Yingdi Yud59b5932013-10-16 13:16:49 -070020 ui->setupUi(this);
21
22 connect(ui->cancelButton, SIGNAL(clicked()),
23 this, SLOT(onCancelClicked()));
24 connect(ui->searchButton, SIGNAL(clicked()),
25 this, SLOT(onSearchClicked()));
Yingdi Yua4898752013-10-15 20:31:37 -070026}
27
28AddContactPanel::~AddContactPanel()
29{
30 delete ui;
31}
Yingdi Yud59b5932013-10-16 13:16:49 -070032
33void
34AddContactPanel::onCancelClicked()
35{ this->close(); }
36
37void
38AddContactPanel::onSearchClicked()
39{
40}
41
42void
43AddContactPanel::onAddClicked()
44{
45}
46
47#if WAF
48#include "addcontactpanel.moc"
49#include "addcontactpanel.cpp.moc"
50#endif