blob: 777b2c296ea59993fbb880064fdc60ec6c864d93 [file] [log] [blame]
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2013, Regents of the University of California
* Yingdi Yu
*
* BSD license, See the LICENSE file for more information
*
* Author: Yingdi Yu <yingdi@cs.ucla.edu>
*/
#ifndef SETALIASDIALOG_H
#define SETALIASDIALOG_H
#include <QDialog>
#ifndef Q_MOC_RUN
#include <ndn-cpp-dev/name.hpp>
#endif
namespace Ui {
class SetAliasDialog;
}
class SetAliasDialog : public QDialog
{
Q_OBJECT
public:
explicit
SetAliasDialog(QWidget *parent = 0);
~SetAliasDialog();
void
setTargetIdentity(const QString& targetIdentity, const QString& alias);
signals:
void
aliasChanged(const QString& identity, const QString& alias);
private slots:
void
onOkClicked();
void
onCancelClicked();
private:
Ui::SetAliasDialog *ui;
QString m_targetIdentity;
};
#endif // SETALIASDIALOG_H