digiKam
imageshackwidget.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 : 2012-02-02
7  * Description : a tool to export items to ImageShack web service
8  *
9  * Copyright (C) 2012 by Dodon Victor <dodonvictor at gmail dot com>
10  * Copyright (C) 2013-2018 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_IMAGE_SHACK_WIDGET_H
25 #define DIGIKAM_IMAGE_SHACK_WIDGET_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QWidget>
31 
32 // Local includes
33 
34 #include "dprogresswdg.h"
35 #include "wssettingswidget.h"
36 #include "dinfointerface.h"
37 
38 using namespace Digikam;
39 
41 {
42 
43 class ImageShackSession;
44 
46 {
47  Q_OBJECT
48 
49 public:
50 
51  explicit ImageShackWidget(QWidget* const parent,
52  ImageShackSession* const session,
53  DInfoInterface* const iface,
54  const QString& toolName);
55  ~ImageShackWidget() override;
56 
57 Q_SIGNALS:
58 
60 
61 private:
62 
63  void updateLabels(const QString& name = QString(),
64  const QString& url = QString()) override;
65 
66 private Q_SLOTS:
67 
68  void slotGetGalleries(const QStringList& gTexts, const QStringList& gNames);
69  void slotReloadGalleries();
70 
71 private:
72 
73  class Private;
74  Private* const d;
75 
76  friend class ImageShackWindow;
77 };
78 
79 } // namespace DigikamGenericImageShackPlugin
80 
81 #endif // DIGIKAM_IMAGE_SHACK_WIDGET_H
Definition: imageshacksession.h:35
Definition: imageshackwidget.h:46
Definition: imageshackwindow.h:44
Definition: dinfointerface.h:56
Definition: wssettingswidget.h:54
Definition: imageshackitem.h:32
Definition: datefolderview.cpp:43