mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
de757cfcae
fix for posteditem serialisation added voting to gui, but no feedback yet post and topic generation code added for testing git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5945 b45a01b8-16f6-495d-af2f-9b41ad6348cc
42 lines
817 B
C++
42 lines
817 B
C++
#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
|