2015-11-10 04:56:22 +08:00
|
|
|
#ifndef ABOUTUSER_H
|
|
|
|
#define ABOUTUSER_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "src/friend.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class AboutUser;
|
|
|
|
}
|
|
|
|
|
|
|
|
class AboutUser : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2015-11-13 05:46:43 +08:00
|
|
|
explicit AboutUser(ToxId &toxID, QWidget *parent = 0);
|
2015-11-10 04:56:22 +08:00
|
|
|
~AboutUser();
|
|
|
|
void setFriend(Friend *f);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::AboutUser *ui;
|
|
|
|
ToxId toxId;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void onAcceptedClicked();
|
2015-11-13 05:30:54 +08:00
|
|
|
void onAutoAcceptClicked();
|
2015-11-13 05:46:43 +08:00
|
|
|
void onSelectDirClicked();
|
2015-11-10 04:56:22 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ABOUTUSER_H
|