Exemple #1
0
MHSyncItemInfo::MHSyncItemInfo(MHSyncItemInfo& copy) {
    iD = copy.getId();
    setGuid(copy.getGuid());
    setLuid(copy.getLuid());
    setName(copy.getName());
    setSize(copy.getSize());
    setServerUrl(copy.getServerUrl());
    setContentType(copy.getContentType());
    setCreationDate(copy.getCreationDate());
    setModificationDate(copy.getModificationDate());
    setStatus(copy.getStatus());
    setServerLastUpdate(copy.getServerLastUpdate());
    setRemoteItemUrl(copy.getRemoteItemUrl());
    setRemoteThumbUrl(copy.getRemoteThumbUrl());
    setRemotePreviewUrl(copy.getRemotePreviewUrl());
    setLocalThumbPath(copy.getLocalThumbPath());
    setLocalPreviewPath(copy.getLocalPreviewPath());
    setLocalItemPath(copy.getLocalItemPath());
    
    setLocalItemETag(copy.getLocalItemETag().c_str());
    setLocalThumbETag(copy.getLocalThumbETag().c_str());
    setLocalPreviewETag(copy.getLocalPreviewETag().c_str());

    setRemoteItemETag(copy.getRemoteItemETag().c_str());
    setRemoteThumbETag(copy.getRemoteThumbETag().c_str());
    setRemotePreviewETag(copy.getRemotePreviewETag().c_str());
    
    setItemExifData(copy.exifData);
    setItemVideoMetadata(copy.videoMetadata);
    setExportedServices(copy.exportedServices);
    setShared(copy.shared);
    setNumUploadFailures(copy.numUploadFailures);
}
Exemple #2
0
void Node::change()
{
	setModificationDate(QDateTime::currentDateTime());
	emit changed(this);
}