digiKam
gswidget.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 : 2013-11-18
7  * Description : a tool to export items to Google web services
8  *
9  * Copyright (C) 2013 by Pankaj Kumar <me at panks dot me>
10  * Copyright (C) 2013-2020 by Caulier Gilles <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_GS_WIDGET_H
25 #define DIGIKAM_GS_WIDGET_H
26 
27 // Qt includes
28 
29 #include <QWidget>
30 
31 // Local includes
32 
33 #include "wssettingswidget.h"
34 #include "gsitem.h"
35 #include "dinfointerface.h"
36 
37 using namespace Digikam;
38 
39 class QButtonGroup;
40 
42 {
43 
45 {
46  GPTagLeaf = 0,
49 };
50 
51 class GSWidget : public WSSettingsWidget
52 {
53  Q_OBJECT
54 
55 public:
56 
57  explicit GSWidget(QWidget* const parent,
58  DInfoInterface* const iface,
59  const GoogleService& service,
60  const QString& serviceName);
61  ~GSWidget() override;
62 
63  void updateLabels(const QString& name = QString(),
64  const QString& url = QString()) override;
65 
66 private:
67 
68  GoogleService m_service;
69  QButtonGroup* m_tagsBGrp;
70 
71  friend class GSWindow;
72 };
73 
74 } // namespace DigikamGenericGoogleServicesPlugin
75 
76 #endif // DIGIKAM_GS_WIDGET_H
Definition: dinfointerface.h:56
Definition: wssettingswidget.h:54
Definition: gdmpform.cpp:46
GoogleService
Definition: gsitem.h:37
GPhotoTagsBehaviour
Definition: gswidget.h:45
@ GPTagLeaf
Definition: gswidget.h:46
@ GPTagSplit
Definition: gswidget.h:47
@ GPTagCombined
Definition: gswidget.h:48
Definition: datefolderview.cpp:43