digiKam
flickritem.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 : 2005-07-07
7  * Description : a tool to export images to Flickr web service
8  *
9  * Copyright (C) 2005-2008 by Vardhman Jain <vardhman at gmail dot com>
10  * Copyright (C) 2013-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_FLICKR_ITEM_H
25 #define DIGIKAM_FLICKR_ITEM_H
26 
27 // Qt includes
28 
29 #include <QStringList>
30 #include <QString>
31 
32 // Local includes
33 
34 #include "flickrlist.h"
35 
37 {
38 
40 {
41 
42 public:
43 
45  : is_public (false),
46  is_friend (false),
47  is_family (false),
48  size (0),
49  safety_level(FlickrList::SAFE),
50  content_type(FlickrList::PHOTO)
51  {
52  }
53 
54  bool is_public;
55  bool is_friend;
56  bool is_family;
57 
58  QString title;
59  QString description;
60  qlonglong size;
61  QStringList tags;
62 
65 };
66 
67 // -------------------------------------------------------------
68 
69 class FPhotoSet
70 {
71 
72 public:
73 
75  : id(QLatin1String("-1"))
76  {
77  }
78 
79  QString id;
80  QString primary;
81  QString secret;
82  QString server;
83  QString photos;
84  QString title;
85  QString description;
86 };
87 
88 } // namespace DigikamGenericFlickrPlugin
89 
90 #endif // DIGIKAM_FLICKR_ITEM_H
Definition: flickritem.h:40
FPhotoInfo()
Definition: flickritem.h:44
FlickrList::SafetyLevel safety_level
Definition: flickritem.h:63
QString description
Definition: flickritem.h:59
bool is_family
Definition: flickritem.h:56
qlonglong size
Definition: flickritem.h:60
QStringList tags
Definition: flickritem.h:61
bool is_friend
Definition: flickritem.h:55
bool is_public
Definition: flickritem.h:54
QString title
Definition: flickritem.h:58
FlickrList::ContentType content_type
Definition: flickritem.h:64
Definition: flickritem.h:70
QString title
Definition: flickritem.h:84
QString description
Definition: flickritem.h:85
QString secret
"abcdef"
Definition: flickritem.h:81
FPhotoSet()
Definition: flickritem.h:74
QString server
Definition: flickritem.h:82
QString photos
Definition: flickritem.h:83
QString id
Definition: flickritem.h:79
QString primary
"2483"
Definition: flickritem.h:80
Definition: flickrlist.h:43
ContentType
Definition: flickrlist.h:76
SafetyLevel
Definition: flickrlist.h:65
Definition: flickritem.h:37