mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-23 21:25:22 -04:00

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
35 lines
563 B
C++
35 lines
563 B
C++
#ifndef SHAREKEY_H
|
|
#define SHAREKEY_H
|
|
|
|
#include <QDialog>
|
|
|
|
#include "ui_ShareKey.h"
|
|
|
|
#define CHANNEL_KEY_SHARE 0x00000001
|
|
#define FORUM_KEY_SHARE 0x00000002
|
|
|
|
class ShareKey : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
/*
|
|
*@param chanId The channel id to send request for
|
|
*/
|
|
ShareKey(QWidget *parent = 0, std::string grpId = "", int grpType = 0);
|
|
~ShareKey();
|
|
|
|
protected:
|
|
void changeEvent(QEvent *e);
|
|
|
|
private slots:
|
|
void shareKey();
|
|
|
|
private:
|
|
std::string mGrpId;
|
|
int mGrpType;
|
|
|
|
Ui::ShareKey *ui;
|
|
};
|
|
|
|
#endif // SHAREKEY_H
|