void ImageScanner::copiedFrom(int albumId, qlonglong srcId) { loadFromDisk(); addImage(albumId); // first use source, if it exists if (!copyFromSource(srcId)) // check if we can establish identity if (!scanFromIdenticalFile()) // scan newly { scanFile(NewScan); } }
Good::Good (const Good& source) { _name = nullptr; copyFromSource (source); }
Good& Good::operator = (const Good& source) { return copyFromSource (source); }