mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-07 21:58:13 -05:00
744a78b140
disabled msg synchronisation by default through compilation #define (use GXS_ENABLE_MSG_SYNC to enable message sync) Finally removed v2 suffix from all photo components and filenames (please edit your libretroshare.pro file accordingly) git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5883 b45a01b8-16f6-495d-af2f-9b41ad6348cc
44 lines
845 B
C++
44 lines
845 B
C++
#ifndef ALBUMDIALOG_H
|
|
#define ALBUMDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include "retroshare/rsphoto.h"
|
|
#include "util/TokenQueue.h"
|
|
#include "PhotoShareItemHolder.h"
|
|
#include "PhotoItem.h"
|
|
#include "PhotoDrop.h"
|
|
|
|
namespace Ui {
|
|
class AlbumDialog;
|
|
}
|
|
|
|
class AlbumDialog : public QDialog, public PhotoShareItemHolder
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AlbumDialog(const RsPhotoAlbum& album, TokenQueue* photoQueue, RsPhoto* rs_Photo, QWidget *parent = 0);
|
|
~AlbumDialog();
|
|
|
|
void notifySelection(PhotoShareItem* selection);
|
|
|
|
private:
|
|
|
|
void setUp();
|
|
|
|
private slots:
|
|
|
|
void updateAlbumPhotos();
|
|
void deletePhoto();
|
|
void editPhoto();
|
|
private:
|
|
Ui::AlbumDialog *ui;
|
|
RsPhoto* mRsPhoto;
|
|
TokenQueue* mPhotoQueue;
|
|
RsPhotoAlbum mAlbum;
|
|
PhotoDrop* mPhotoDrop;
|
|
PhotoItem* mPhotoSelected;
|
|
};
|
|
|
|
#endif // ALBUMDIALOG_H
|