mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04: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
52 lines
995 B
C++
52 lines
995 B
C++
#ifndef ALBUMCREATEDIALOG_H
|
|
#define ALBUMCREATEDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include "util/TokenQueue.h"
|
|
#include "retroshare/rsphoto.h"
|
|
#include "retroshare/rsphoto.h"
|
|
#include "PhotoShareItemHolder.h"
|
|
#include "PhotoItem.h"
|
|
#include "PhotoDrop.h"
|
|
|
|
namespace Ui {
|
|
class AlbumCreateDialog;
|
|
}
|
|
|
|
|
|
class AlbumCreateDialog : public QDialog, public PhotoShareItemHolder
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AlbumCreateDialog(TokenQueue* photoQueue, RsPhoto* rs_photo, QWidget *parent = 0);
|
|
~AlbumCreateDialog();
|
|
|
|
void notifySelection(PhotoShareItem* selection);
|
|
|
|
|
|
private slots:
|
|
void publishAlbum();
|
|
void publishPhotos();
|
|
void addAlbumThumbnail();
|
|
void changePage();
|
|
void backPage();
|
|
|
|
|
|
private:
|
|
|
|
bool getAlbumThumbnail(RsPhotoThumbnail &nail);
|
|
private:
|
|
Ui::AlbumCreateDialog *ui;
|
|
|
|
TokenQueue* mPhotoQueue;
|
|
RsPhoto* mRsPhoto;
|
|
QPixmap mThumbNail;
|
|
PhotoDrop* mPhotoDrop;
|
|
PhotoItem* mPhotoSelected;
|
|
};
|
|
|
|
|
|
|
|
#endif // ALBUMCREATEDIALOG_H
|