RetroShare/retroshare-gui/src/gui/Posted/PostedCreatePostDialog.h

42 lines
817 B
C
Raw Normal View History

#ifndef POSTEDCREATEPOSTDIALOG_H
#define POSTEDCREATEPOSTDIALOG_H
#include <QDialog>
#include "retroshare/rsposted.h"
#include "PostedUserTypes.h"
#include "util/TokenQueue.h"
namespace Ui {
class PostedCreatePostDialog;
}
class PostedCreatePostDialog : public QDialog
{
Q_OBJECT
public:
/*!
* @param tokenQ parent callee token
* @param posted
*/
explicit PostedCreatePostDialog(TokenQueue* tokenQ, RsPosted* posted, const RsGxsGroupId& grpId, QWidget *parent = 0);
~PostedCreatePostDialog();
private slots:
void createPost();
private:
Ui::PostedCreatePostDialog *ui;
QString mLink;
QString mNotes;
RsPosted* mPosted;
RsGxsGroupId mGrpId;
TokenQueue* mTokenQueue;
};
#endif // POSTEDCREATEPOSTDIALOG_H