digiKam
rajcealbum.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2011-04-12
7  * Description : A tool to export items to Rajce web service
8  *
9  * Copyright (C) 2011 by Lukas Krejci <krejci.l at centrum dot cz>
10  * Copyright (C) 2011-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_RAJCE_ALBUM_H
25 #define DIGIKAM_RAJCE_ALBUM_H
26 
27 // Qt includes
28 
29 #include <QDateTime>
30 #include <QString>
31 #include <QDebug>
32 #include <QMetaType>
33 
35 {
36 
37 struct RajceAlbum
38 {
40  {
41  isHidden = false;
42  isSecure = false;
43  photoCount = 0;
44  id = 0;
45  }
46 
47  bool isHidden;
48  bool isSecure;
49 
50  unsigned photoCount;
51  unsigned id;
52 
53  QString name;
54  QString description;
55  QString url;
56  QString thumbUrl;
58 
59  QDateTime createDate;
60  QDateTime updateDate;
61  QDateTime validFrom;
62  QDateTime validTo;
63 };
64 
65 } // namespace DigikamGenericRajcePlugin
66 
67 QTextStream& operator<<(QTextStream& str, const DigikamGenericRajcePlugin::RajceAlbum& a);
68 QDebug operator<<(QDebug d, const DigikamGenericRajcePlugin::RajceAlbum& a);
69 
70 Q_DECLARE_METATYPE(DigikamGenericRajcePlugin::RajceAlbum)
71 
72 #endif // DIGIKAM_RAJCE_ALBUM_H
Definition: rajcealbum.h:35
QTextStream & operator<<(QTextStream &str, const DigikamGenericRajcePlugin::RajceAlbum &a)
Definition: rajcealbum.cpp:26
Definition: rajcealbum.h:38
RajceAlbum()
Definition: rajcealbum.h:39
QString url
Definition: rajcealbum.h:55
QString bestQualityThumbUrl
Definition: rajcealbum.h:57
QDateTime createDate
Definition: rajcealbum.h:59
QString description
Definition: rajcealbum.h:54
QString name
Definition: rajcealbum.h:53
QDateTime validFrom
Definition: rajcealbum.h:61
bool isHidden
Definition: rajcealbum.h:47
QDateTime validTo
Definition: rajcealbum.h:62
bool isSecure
Definition: rajcealbum.h:48
unsigned id
Definition: rajcealbum.h:51
QString thumbUrl
Definition: rajcealbum.h:56
unsigned photoCount
Definition: rajcealbum.h:50
QDateTime updateDate
Definition: rajcealbum.h:60