AlbumShaper
1.0a3
|
An album contains Subalbums. More...
#include <album.h>
Public Member Functions | |
Album (QString tmpDir, bool createSubalbum=true) | |
Sets default information and create temporary directory as necessary. More... | |
~Album () | |
Frees Subalbums. More... | |
void | setName (QString val) |
Sets the album name. More... | |
QString | getName () |
Gets the album name. More... | |
void | setDescription (QString val) |
Sets the album description. More... | |
QString | getDescription () |
Gets the album description. More... | |
void | setAuthor (QString val) |
Sets the album author. More... | |
QString | getAuthor () |
Gets the album author. More... | |
void | setRepresentativeImages (QString imageFilename) |
Sets the representative image. More... | |
QPixmap * | getRepresentativeImage (int size) |
Returns the representative image. More... | |
Subalbum * | getFirstSubalbum () |
Returns a pointer to the first Subalbum. More... | |
Subalbum * | getLastSubalbum () |
Returns a pointer to the last Subalbum. More... | |
void | appendSubalbum (Subalbum *val) |
Appends subalbum to end of linked list. More... | |
void | removeSubalbum (Subalbum *val) |
Removes a subalbum. More... | |
int | getModificationYear () |
Returns the last modified year. More... | |
int | getModificationMonth () |
Returns the last modified month. More... | |
int | getModificationDay () |
Returns the last modified day. More... | |
int | getCreationYear () |
Returns the creation year. More... | |
int | getCreationMonth () |
Returns the creation month. More... | |
int | getCreationDay () |
Returnst he creation day. More... | |
void | updateCreationDate () |
Updates the creation date to today's date. More... | |
void | updateModificationDate () |
Updates the modification date to today's date. More... | |
int | importFromDisk (StatusWidget *status, QString fileName, bool disableCheckPhotoMods) |
Imports album from XML format, returning int indicates success or not. More... | |
int | exportToDisk (StatusWidget *status, QString dirName, QString themeName) |
Exports album in XML and HTML format, along with resized images. More... | |
int | exportToDisk (StatusWidget *status, bool forceSave=false) |
Exports album in XML and HTML format, along with resized images, saves all files to the last saved directory, if none set returns. More... | |
int | exportCompressedWebAlbum (StatusWidget *status, QString exportLocation, QString exportMessage) |
Export a compressed web album (excludes full size images and xml data) More... | |
int | exportLargeImages (StatusWidget *status, QString exportPath, QString exportMessage) |
Export fullsize images (excludes slideshow and thumbnail images, album and collection iamges, and html or xml files) More... | |
bool | prevSave () |
Returns true if album previously saved to disk. More... | |
bool | albumModified () |
Returns true if album has been modified since the last save operation. More... | |
void | setModified (bool val=true) |
Sets the album as modified. More... | |
void | syncSubalbumList (SubalbumPreviewWidget *item) |
Syncs subalbum ordering with front end gui ordering. More... | |
QString | getSaveLocation () |
Returns the current save location of all images. More... | |
int | getNumPhotos () |
Returns the number of photos. More... | |
int | getNumSubalbums () |
Returns number of subalbums. More... | |
QString | getTheme () |
Returns currently selected theme. More... | |
QString | getTmpDir () |
Returns the temporary directory for use when modifying and adding new images. More... | |
int | getNextUniquePhotoID () |
Returns the next unique photo id. More... | |
QStringList | getThumbnailFilenames () |
Returns a list of the most up to date thumbnail filesnames. More... | |
Private Member Functions | |
int | exportToXML (StatusWidget *status, QString exportPath) |
Exports album to XML. More... | |
void | exportTopLevelImages () |
Exports top level images. More... | |
void | exportSubalbumImages (StatusWidget *status, bool forceSave) |
Exports subalbum images. More... | |
void | removeStagnantOrigFiles (StatusWidget *status) |
Removes any _orig images for photos which have been recently reverted to their original form (and hence we can reduce disk usage but removing these effective duplicates) More... | |
void | reorderSubalbumImages (StatusWidget *status) |
Checks if images need to be moved and does so if necessary. More... | |
void | removeStagnantImages () |
Removes old stagnant images caused when photos are removed from album or moved from one subalbum to another. More... | |
void | exportThemeResources (QString theme) |
Removes previously saved resources, copies over new resources. More... | |
Private Attributes | |
QString | name |
Short name for album. More... | |
QString | description |
Longer description of album. More... | |
QString | author |
Album Creator. More... | |
QPixmap * | smallRepresentativeImage |
Representative images. More... | |
QPixmap * | largeRepresentativeImage |
Subalbum * | firstSubalbum |
Pointer to first Subalbum. More... | |
Subalbum * | lastSubalbum |
Pointer to last Subalbum. More... | |
int | modificationYear |
Last modification year. More... | |
int | modificationMonth |
Last modification month. More... | |
int | modificationDay |
Last modification day. More... | |
int | creationYear |
Creation year. More... | |
int | creationMonth |
Creation month. More... | |
int | creationDay |
Creation day. More... | |
int | numSubalbums |
Number of subalbums. More... | |
int | numLoadedSubalbums |
Number of loaded subalbums. More... | |
bool | savedToDisk |
Set if album was loaded/has been saved to disk. More... | |
QString | saveLocation |
Directory album saved to. More... | |
QString | oldSaveLocation |
QString | theme |
Theme to save album with. More... | |
bool | modified |
Modification status of the album. More... | |
QString | tmpDir |
Temporary directory for placing modified or new images before saving takes place. More... | |
int | nextUniqueID |
Next Unique ID for new photos. More... | |
An album contains Subalbums.
Specific contents:
Album::Album | ( | QString | tmpDir, |
bool | createSubalbum = true |
||
) |
Sets default information and create temporary directory as necessary.
Sets default information.
Definition at line 41 of file album.cpp.
References appendSubalbum(), author, description, firstSubalbum, getTmpDir(), largeRepresentativeImage, lastSubalbum, modified, name, nextUniqueID, numLoadedSubalbums, numSubalbums, savedToDisk, saveLocation, smallRepresentativeImage, theme, tmpDir, updateCreationDate(), and updateModificationDate().
Album::~Album | ( | ) |
Frees Subalbums.
Definition at line 84 of file album.cpp.
References firstSubalbum, Subalbum::getNext(), largeRepresentativeImage, smallRepresentativeImage, and tmpDir.
bool Album::albumModified | ( | ) |
Returns true if album has been modified since the last save operation.
Definition at line 139 of file album.cpp.
References modified.
Referenced by Window::closeEvent(), TitleWidget::newAlbum(), TitleWidget::proceedWithLoad(), and TitleWidget::revertToSaved().
void Album::appendSubalbum | ( | Subalbum * | val | ) |
Appends subalbum to end of linked list.
Definition at line 234 of file album.cpp.
References firstSubalbum, lastSubalbum, modified, numSubalbums, Subalbum::setNext(), and Subalbum::setPrev().
Referenced by Album(), SubalbumsWidget::createAction(), and importFromDisk().
int Album::exportCompressedWebAlbum | ( | StatusWidget * | status, |
QString | exportLocation, | ||
QString | exportMessage | ||
) |
Export a compressed web album (excludes full size images and xml data)
Definition at line 616 of file album.cpp.
References ALBUM_EXPORTED, copyFile(), exportToXML(), firstSubalbum, Subalbum::getFirst(), Subalbum::getNext(), Photo::getNext(), getNumPhotos(), Subalbum::getRepresentativeImage(), getRepresentativeImage(), Photo::getSlideshowFilename(), Photo::getThumbnailFilename(), LARGE, theme, THEMES_PATH, transformXMLtoHTML(), and StatusWidget::updateProgress().
Referenced by TitleWidget::exportSmallWebGallery().
int Album::exportLargeImages | ( | StatusWidget * | status, |
QString | exportPath, | ||
QString | exportMessage | ||
) |
Export fullsize images (excludes slideshow and thumbnail images, album and collection iamges, and html or xml files)
Definition at line 726 of file album.cpp.
References ALBUM_EXPORTED, copyFile(), Subalbum::getFirst(), getFirstSubalbum(), Photo::getImageFilename(), Subalbum::getNext(), Photo::getNext(), Subalbum::getNumPhotos(), getNumPhotos(), getNumSubalbums(), and StatusWidget::updateProgress().
Referenced by TitleWidget::exportLargeImages().
|
private |
Exports subalbum images.
Before we move the file we must be sure to preserve the photos original format. if the photo was not recently reverted (if it was then we're saving out the original form so no need to backup) and the file has previously been saved and an orig file does not exist, we better backup the previously saved version quick
If a photo has never been saved before, make sure to also move over any orig file if one exists. The presence of such a file indicates a photo was modified before it was ever saved, but the original form has been preseved and should be backed up at this time to allow a user to revert to the photos original form in the future.
ok, now it's safe to move over currrent version of the photo
Definition at line 889 of file album.cpp.
References copyFile(), firstSubalbum, Photo::getEverSaved(), Subalbum::getFirst(), Photo::getImageFilename(), Photo::getInitialPhotoNumber(), Photo::getInitialSubalbumNumber(), getMD5(), Photo::getNeedsSavingVal(), Subalbum::getNext(), Photo::getNext(), Photo::getRecentlyReverted(), Photo::getSlideshowFilename(), Photo::getThumbnailFilename(), getTmpDir(), StatusWidget::incrementProgress(), moveFile(), oldSaveLocation, saveLocation, Photo::setEverSaved(), Photo::setImageChecksum(), Photo::setImageFilename(), Photo::setNeedsSavingVal(), Photo::setSlideshowChecksum(), Photo::setSlideshowFilename(), Photo::setThumbnailChecksum(), Photo::setThumbnailFilename(), and tmpDir.
Referenced by exportToDisk().
|
private |
Removes previously saved resources, copies over new resources.
Definition at line 1322 of file album.cpp.
References copyFile(), saveLocation, and THEMES_PATH.
Referenced by exportToDisk().
int Album::exportToDisk | ( | StatusWidget * | status, |
QString | dirName, | ||
QString | themeName | ||
) |
Exports album in XML and HTML format, along with resized images.
Definition at line 452 of file album.cpp.
References ALBUM_EXPORTED, nextUniqueID, oldSaveLocation, saveLocation, theme, and tmpDir.
Referenced by TitleWidget::saveAlbum(), and TitleWidget::saveAsAlbum().
int Album::exportToDisk | ( | StatusWidget * | status, |
bool | forceSave = false |
||
) |
Exports album in XML and HTML format, along with resized images, saves all files to the last saved directory, if none set returns.
Definition at line 506 of file album.cpp.
References ALBUM_EXPORTED, exportSubalbumImages(), exportThemeResources(), exportTopLevelImages(), exportToXML(), firstSubalbum, Subalbum::getNext(), Subalbum::getNumPhotos(), getTmpDir(), modified, removeStagnantImages(), removeStagnantOrigFiles(), reorderSubalbumImages(), savedToDisk, saveLocation, StatusWidget::setStatus(), Subalbum::setSubalbumNumber(), StatusWidget::showProgressBar(), theme, and transformXMLtoHTML().
|
private |
Exports top level images.
Definition at line 853 of file album.cpp.
References firstSubalbum, Subalbum::getNext(), Subalbum::getRepresentativeImage(), getRepresentativeImage(), LARGE, and saveLocation.
Referenced by exportToDisk().
|
private |
Exports album to XML.
Definition at line 801 of file album.cpp.
References ALBUM_ERROR_OPEN_FILE, ALBUM_EXPORTED, author, creationDay, creationMonth, creationYear, description, Subalbum::exportToXML(), firstSubalbum, fixXMLString(), Subalbum::getNext(), getRepresentativeImage(), LARGE, modificationDay, modificationMonth, modificationYear, name, SLIDESHOW_HEIGHT, SLIDESHOW_WIDTH, theme, THUMBNAIL_HEIGHT, THUMBNAIL_WIDTH, and updateModificationDate().
Referenced by exportCompressedWebAlbum(), and exportToDisk().
QString Album::getAuthor | ( | ) |
Gets the album author.
Definition at line 126 of file album.cpp.
References author.
Referenced by TitleWidget::updateAlbumAnnotations().
int Album::getCreationDay | ( | ) |
Returnst he creation day.
Definition at line 122 of file album.cpp.
References creationDay.
Referenced by AlbumStatistics::AlbumStatistics().
int Album::getCreationMonth | ( | ) |
Returns the creation month.
Definition at line 121 of file album.cpp.
References creationMonth.
Referenced by AlbumStatistics::AlbumStatistics().
int Album::getCreationYear | ( | ) |
Returns the creation year.
Definition at line 120 of file album.cpp.
References creationYear.
Referenced by AlbumStatistics::AlbumStatistics().
QString Album::getDescription | ( | ) |
Gets the album description.
Definition at line 125 of file album.cpp.
References description.
Referenced by TitleWidget::updateAlbumAnnotations().
Subalbum * Album::getFirstSubalbum | ( | ) |
Returns a pointer to the first Subalbum.
Definition at line 135 of file album.cpp.
References firstSubalbum.
Referenced by SlideshowWidget::advanceCollection(), AlbumStatistics::AlbumStatistics(), SlideshowWidget::beginSlideshow(), exportLargeImages(), TitleWidget::loadAlbum(), SubalbumsWidget::refreshCollectionsList(), and SlideshowWidget::showCoverPage().
Subalbum * Album::getLastSubalbum | ( | ) |
Returns a pointer to the last Subalbum.
Definition at line 136 of file album.cpp.
References lastSubalbum.
Referenced by SlideshowWidget::backupCollection().
int Album::getModificationDay | ( | ) |
Returns the last modified day.
Definition at line 118 of file album.cpp.
References modificationDay.
Referenced by AlbumStatistics::AlbumStatistics().
int Album::getModificationMonth | ( | ) |
Returns the last modified month.
Definition at line 117 of file album.cpp.
References modificationMonth.
Referenced by AlbumStatistics::AlbumStatistics().
int Album::getModificationYear | ( | ) |
Returns the last modified year.
Definition at line 116 of file album.cpp.
References modificationYear.
Referenced by AlbumStatistics::AlbumStatistics().
QString Album::getName | ( | ) |
Gets the album name.
Definition at line 124 of file album.cpp.
References name.
Referenced by AlbumStatistics::AlbumStatistics(), TitleWidget::exportLargeImages(), TitleWidget::exportSmallWebGallery(), TitleWidget::loadAlbum(), TitleWidget::saveAlbum(), TitleWidget::saveAsAlbum(), and TitleWidget::updateAlbumAnnotations().
int Album::getNextUniquePhotoID | ( | ) |
Returns the next unique photo id.
Definition at line 1420 of file album.cpp.
References nextUniqueID.
Referenced by Subalbum::addPhoto().
int Album::getNumPhotos | ( | ) |
Returns the number of photos.
Definition at line 146 of file album.cpp.
References firstSubalbum, Subalbum::getNext(), and Subalbum::getNumPhotos().
Referenced by AlbumStatistics::AlbumStatistics(), exportCompressedWebAlbum(), exportLargeImages(), TitleWidget::exportLargeImages(), TitleWidget::exportSmallWebGallery(), TitleWidget::loadAlbum(), TitleWidget::saveAlbum(), and TitleWidget::saveAsAlbum().
int Album::getNumSubalbums | ( | ) |
Returns number of subalbums.
Definition at line 144 of file album.cpp.
References numSubalbums.
Referenced by AlbumStatistics::AlbumStatistics(), SlideshowWidget::backupCollection(), SubalbumsWidget::createAction(), exportLargeImages(), and SlideshowWidget::paintOverlaidControls().
QPixmap * Album::getRepresentativeImage | ( | int | size | ) |
Returns the representative image.
Definition at line 128 of file album.cpp.
References LARGE, largeRepresentativeImage, SMALL, and smallRepresentativeImage.
Referenced by AlbumStatistics::AlbumStatistics(), exportCompressedWebAlbum(), exportTopLevelImages(), exportToXML(), TitleWidget::setAlbumImage(), and TitleWidget::updateAlbumAnnotations().
QString Album::getSaveLocation | ( | ) |
Returns the current save location of all images.
Definition at line 141 of file album.cpp.
References saveLocation.
Referenced by SlideshowWidget::beginSlideshow(), TitleWidget::exportLargeImages(), TitleWidget::exportSmallWebGallery(), TitleWidget::loadAlbum(), Photo::originalImageFilename(), TitleWidget::revertToSaved(), TitleWidget::saveAlbum(), and TitleWidget::saveAsAlbum().
QString Album::getTheme | ( | ) |
Returns currently selected theme.
Definition at line 143 of file album.cpp.
References theme.
Referenced by SlideshowWidget::beginSlideshow(), and TitleWidget::saveAsAlbum().
QStringList Album::getThumbnailFilenames | ( | ) |
Returns a list of the most up to date thumbnail filesnames.
Definition at line 1426 of file album.cpp.
References firstSubalbum, Subalbum::getFirst(), Subalbum::getNext(), Photo::getNext(), and Photo::getThumbnailFilename().
Referenced by MosaicOptionsDialog::determineFilesList().
QString Album::getTmpDir | ( | ) |
Returns the temporary directory for use when modifying and adding new images.
Definition at line 142 of file album.cpp.
References tmpDir.
Referenced by Album(), Photo::applyTransformation(), exportSubalbumImages(), exportToDisk(), TitleWidget::loadAlbum(), TitleWidget::newAlbum(), Photo::setImage(), and TitleWidget::TitleWidget().
int Album::importFromDisk | ( | StatusWidget * | status, |
QString | fileName, | ||
bool | disableCheckPhotoMods | ||
) |
Imports album from XML format, returning int indicates success or not.
Definition at line 295 of file album.cpp.
References ALBUM_LOADED, ALBUM_READ_ERROR, ALBUM_XML_ERROR, appendSubalbum(), author, creationDay, creationMonth, creationYear, description, Subalbum::importFromDisk(), name, numLoadedSubalbums, numSubalbums, savedToDisk, saveLocation, setRepresentativeImages(), StatusWidget::setStatus(), StatusWidget::showProgressBar(), theme, and updateXML().
Referenced by TitleWidget::loadAlbum().
bool Album::prevSave | ( | ) |
Returns true if album previously saved to disk.
Definition at line 138 of file album.cpp.
References savedToDisk.
Referenced by TitleWidget::exportLargeImages(), and TitleWidget::exportSmallWebGallery().
|
private |
Removes old stagnant images caused when photos are removed from album or moved from one subalbum to another.
Definition at line 1244 of file album.cpp.
References firstSubalbum, Subalbum::getNext(), Subalbum::getNumPhotos(), numLoadedSubalbums, numSubalbums, Subalbum::resetNumLoadedPhotos(), and saveLocation.
Referenced by exportToDisk().
|
private |
Removes any _orig images for photos which have been recently reverted to their original form (and hence we can reduce disk usage but removing these effective duplicates)
Definition at line 1093 of file album.cpp.
References firstSubalbum, Subalbum::getFirst(), Photo::getImageFilename(), Subalbum::getNext(), Photo::getNext(), Photo::getRecentlyReverted(), StatusWidget::incrementProgress(), Photo::originalImageFilename(), Photo::setRecentlyReverted(), and tmpDir.
Referenced by exportToDisk().
void Album::removeSubalbum | ( | Subalbum * | val | ) |
Removes a subalbum.
Definition at line 257 of file album.cpp.
References firstSubalbum, Subalbum::getNext(), Subalbum::getPrev(), lastSubalbum, modified, numSubalbums, Subalbum::setNext(), and Subalbum::setPrev().
Referenced by SubalbumsWidget::deleteAction().
|
private |
Checks if images need to be moved and does so if necessary.
Definition at line 1126 of file album.cpp.
References firstSubalbum, Subalbum::getFirst(), Photo::getInitialPhotoNumber(), Photo::getInitialSubalbumNumber(), Subalbum::getNext(), Photo::getNext(), StatusWidget::incrementProgress(), moveFile(), saveLocation, Photo::setImageFilename(), Photo::setInitialPhotoNumber(), Photo::setInitialSubalbumNumber(), Photo::setSlideshowFilename(), Photo::setThumbnailFilename(), and tmpDir.
Referenced by exportToDisk().
void Album::setAuthor | ( | QString | val | ) |
Sets the album author.
Definition at line 177 of file album.cpp.
References author, and modified.
Referenced by TitleWidget::storeAnnotations().
void Album::setDescription | ( | QString | val | ) |
Sets the album description.
Definition at line 168 of file album.cpp.
References description, and modified.
Referenced by TitleWidget::storeAnnotations().
void Album::setModified | ( | bool | val = true | ) |
Sets the album as modified.
Definition at line 1418 of file album.cpp.
References modified.
Referenced by Subalbum::addPhoto(), Subalbum::lazyAddPhoto(), TitleWidget::loadAlbum(), TitleWidget::newAlbum(), Subalbum::photoMoved(), Subalbum::removePhoto(), Subalbum::setDescription(), Subalbum::setModified(), Subalbum::setName(), Subalbum::setNext(), Subalbum::setPrev(), and Subalbum::setRepresentativeImage().
void Album::setName | ( | QString | val | ) |
Sets the album name.
Definition at line 159 of file album.cpp.
References modified, and name.
Referenced by TitleWidget::storeAnnotations().
void Album::setRepresentativeImages | ( | QString | imageFilename | ) |
Sets the representative image.
Definition at line 186 of file album.cpp.
References calcScaledImageDimensions(), getImageSize(), largeRepresentativeImage, modified, REP_IMAGE_HEIGHT, scaleImage(), and smallRepresentativeImage.
Referenced by importFromDisk(), TitleWidget::setAlbumImage(), and TitleWidget::unsetAlbumImage().
void Album::syncSubalbumList | ( | SubalbumPreviewWidget * | item | ) |
Syncs subalbum ordering with front end gui ordering.
Definition at line 1369 of file album.cpp.
References firstSubalbum, Subalbum::getNext(), SubalbumPreviewWidget::getSubalbum(), lastSubalbum, Subalbum::setNext(), and Subalbum::setPrev().
Referenced by SubalbumsWidget::reorder().
void Album::updateCreationDate | ( | ) |
Updates the creation date to today's date.
Definition at line 277 of file album.cpp.
References creationDay, creationMonth, and creationYear.
Referenced by Album().
void Album::updateModificationDate | ( | ) |
Updates the modification date to today's date.
Definition at line 286 of file album.cpp.
References modificationDay, modificationMonth, and modificationYear.
Referenced by Album(), and exportToXML().
|
private |
Album Creator.
Definition at line 205 of file album.h.
Referenced by Album(), exportToXML(), getAuthor(), importFromDisk(), and setAuthor().
|
private |
Creation day.
Definition at line 233 of file album.h.
Referenced by exportToXML(), getCreationDay(), importFromDisk(), and updateCreationDate().
|
private |
Creation month.
Definition at line 230 of file album.h.
Referenced by exportToXML(), getCreationMonth(), importFromDisk(), and updateCreationDate().
|
private |
Creation year.
Definition at line 227 of file album.h.
Referenced by exportToXML(), getCreationYear(), importFromDisk(), and updateCreationDate().
|
private |
Longer description of album.
Definition at line 202 of file album.h.
Referenced by Album(), exportToXML(), getDescription(), importFromDisk(), and setDescription().
|
private |
Pointer to first Subalbum.
Definition at line 212 of file album.h.
Referenced by Album(), appendSubalbum(), exportCompressedWebAlbum(), exportSubalbumImages(), exportToDisk(), exportTopLevelImages(), exportToXML(), getFirstSubalbum(), getNumPhotos(), getThumbnailFilenames(), removeStagnantImages(), removeStagnantOrigFiles(), removeSubalbum(), reorderSubalbumImages(), syncSubalbumList(), and ~Album().
|
private |
Definition at line 209 of file album.h.
Referenced by Album(), getRepresentativeImage(), setRepresentativeImages(), and ~Album().
|
private |
Pointer to last Subalbum.
Definition at line 215 of file album.h.
Referenced by Album(), appendSubalbum(), getLastSubalbum(), removeSubalbum(), and syncSubalbumList().
|
private |
Last modification day.
Definition at line 224 of file album.h.
Referenced by exportToXML(), getModificationDay(), and updateModificationDate().
|
private |
Last modification month.
Definition at line 221 of file album.h.
Referenced by exportToXML(), getModificationMonth(), and updateModificationDate().
|
private |
Last modification year.
Definition at line 218 of file album.h.
Referenced by exportToXML(), getModificationYear(), and updateModificationDate().
|
private |
Modification status of the album.
Definition at line 254 of file album.h.
Referenced by Album(), albumModified(), appendSubalbum(), exportToDisk(), removeSubalbum(), setAuthor(), setDescription(), setModified(), setName(), and setRepresentativeImages().
|
private |
Short name for album.
Definition at line 199 of file album.h.
Referenced by Album(), exportToXML(), getName(), importFromDisk(), and setName().
|
private |
Next Unique ID for new photos.
This counter is used to gerneate unique filenames before photos are saved. After saving we reset this counter to avoid wrap-around.
Definition at line 262 of file album.h.
Referenced by Album(), exportToDisk(), and getNextUniquePhotoID().
|
private |
Number of loaded subalbums.
Definition at line 239 of file album.h.
Referenced by Album(), importFromDisk(), and removeStagnantImages().
|
private |
Number of subalbums.
Definition at line 236 of file album.h.
Referenced by Album(), appendSubalbum(), getNumSubalbums(), importFromDisk(), removeStagnantImages(), and removeSubalbum().
|
private |
Definition at line 248 of file album.h.
Referenced by exportSubalbumImages(), and exportToDisk().
|
private |
Set if album was loaded/has been saved to disk.
Definition at line 242 of file album.h.
Referenced by Album(), exportToDisk(), importFromDisk(), and prevSave().
|
private |
Directory album saved to.
Definition at line 245 of file album.h.
Referenced by Album(), exportSubalbumImages(), exportThemeResources(), exportToDisk(), exportTopLevelImages(), getSaveLocation(), importFromDisk(), removeStagnantImages(), and reorderSubalbumImages().
|
private |
Representative images.
Definition at line 208 of file album.h.
Referenced by Album(), getRepresentativeImage(), setRepresentativeImages(), and ~Album().
|
private |
Theme to save album with.
Definition at line 251 of file album.h.
Referenced by Album(), exportCompressedWebAlbum(), exportToDisk(), exportToXML(), getTheme(), and importFromDisk().
|
private |
Temporary directory for placing modified or new images before saving takes place.
Definition at line 257 of file album.h.
Referenced by Album(), exportSubalbumImages(), exportToDisk(), getTmpDir(), removeStagnantOrigFiles(), reorderSubalbumImages(), and ~Album().