mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-28 19:01:36 -05:00

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