2012-09-17 18:08:23 -04:00
|
|
|
#ifndef PHOTOCOMMENTITEM_H
|
|
|
|
#define PHOTOCOMMENTITEM_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2012-09-25 17:04:04 -04:00
|
|
|
#include "retroshare/rsphotoV2.h"
|
2012-09-17 18:08:23 -04:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class PhotoCommentItem;
|
|
|
|
}
|
|
|
|
|
|
|
|
class PhotoCommentItem : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2012-09-25 17:04:04 -04:00
|
|
|
explicit PhotoCommentItem(const RsPhotoComment& comment, QWidget *parent = 0);
|
2012-09-17 18:08:23 -04:00
|
|
|
~PhotoCommentItem();
|
|
|
|
|
2012-09-25 17:04:04 -04:00
|
|
|
const RsPhotoComment& getComment();
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
void setUp();
|
2012-09-17 18:08:23 -04:00
|
|
|
private:
|
|
|
|
Ui::PhotoCommentItem *ui;
|
2012-09-25 17:04:04 -04:00
|
|
|
RsPhotoComment mComment;
|
2012-09-17 18:08:23 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PHOTOCOMMENTITEM_H
|