2010-06-19 15:28:26 +00:00
|
|
|
#ifndef SHAREKEY_H
|
|
|
|
#define SHAREKEY_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2014-10-17 21:57:33 +00:00
|
|
|
#include "ui_GxsGroupShareKey.h"
|
2010-06-19 15:28:26 +00:00
|
|
|
|
2011-08-29 21:20:48 +00:00
|
|
|
#define CHANNEL_KEY_SHARE 0x00000001
|
|
|
|
#define FORUM_KEY_SHARE 0x00000002
|
2014-10-13 18:31:47 +00:00
|
|
|
#define POSTED_KEY_SHARE 0x00000003
|
2010-06-19 15:28:26 +00:00
|
|
|
|
2014-10-13 18:31:47 +00:00
|
|
|
class GroupShareKey : public QDialog
|
2012-01-27 00:32:17 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
2010-06-19 15:28:26 +00:00
|
|
|
|
2012-01-27 00:32:17 +00:00
|
|
|
public:
|
|
|
|
/*
|
|
|
|
*@param chanId The channel id to send request for
|
|
|
|
*/
|
2014-10-13 18:31:47 +00:00
|
|
|
GroupShareKey(QWidget *parent = 0, const RsGxsGroupId& grpId = RsGxsGroupId(), int grpType = 0);
|
|
|
|
~GroupShareKey();
|
2010-06-19 15:28:26 +00:00
|
|
|
|
|
|
|
protected:
|
2012-01-27 00:32:17 +00:00
|
|
|
void changeEvent(QEvent *e);
|
2010-06-19 15:28:26 +00:00
|
|
|
|
|
|
|
private slots:
|
2012-01-27 00:32:17 +00:00
|
|
|
void shareKey();
|
2010-06-19 15:28:26 +00:00
|
|
|
|
2012-01-27 00:32:17 +00:00
|
|
|
private:
|
2014-10-05 19:14:05 +00:00
|
|
|
RsGxsGroupId mGrpId;
|
2012-01-27 00:32:17 +00:00
|
|
|
int mGrpType;
|
2010-06-19 15:28:26 +00:00
|
|
|
|
2012-01-27 00:32:17 +00:00
|
|
|
Ui::ShareKey *ui;
|
2010-06-19 15:28:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SHAREKEY_H
|