File indexing completed on 2025-01-05 03:53:41
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2011-04-12 0007 * Description : A tool to export items to Rajce web service 0008 * 0009 * SPDX-FileCopyrightText: 2011 by Lukas Krejci <krejci.l at centrum dot cz> 0010 * SPDX-FileCopyrightText: 2011-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #include "rajcealbum.h" 0017 0018 QTextStream& operator << (QTextStream& str, const DigikamGenericRajcePlugin::RajceAlbum& a) 0019 { 0020 str << "RajceAlbum["; 0021 str << "id=" << a.id; 0022 str << ", name='" << a.name << "'"; 0023 str << ", description='" << a.description << "'"; 0024 str << ", url='" << a.url << "'"; 0025 str << ", createDate=" << a.createDate.toString(Qt::ISODate); 0026 str << ", updateDate=" << a.updateDate.toString(Qt::ISODate); 0027 str << ", validFrom=" << a.validFrom.toString(Qt::ISODate); 0028 str << ", validTo=" << a.validTo.toString(Qt::ISODate); 0029 str << ", isHidden=" << a.isHidden; 0030 str << ", isSecure=" << a.isSecure; 0031 str << ", photoCount=" << a.photoCount; 0032 str << ", thumbUrl='" << a.thumbUrl << "'"; 0033 str << ", bestQualityThumbUrl='" << a.bestQualityThumbUrl << "'"; 0034 str << "]"; 0035 0036 return str; 0037 } 0038 0039 QDebug operator << (QDebug d, const DigikamGenericRajcePlugin::RajceAlbum& a) 0040 { 0041 QString s; 0042 QTextStream str(&s); 0043 0044 str << a; 0045 0046 d << *str.string(); 0047 0048 return d; 0049 }