digiKam
fbwidget.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 : 2008-12-26
7  * Description : a tool to export items to Facebook web service
8  *
9  * Copyright (C) 2008-2009 by Luka Renko <lure at kubuntu dot org>
10  * Copyright (C) 2008-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_FB_WIDGET_H
25 #define DIGIKAM_FB_WIDGET_H
26 
27 // Qt includes
28 
29 #include <QWidget>
30 
31 //local includes
32 
33 #include "wssettingswidget.h"
34 #include "dinfointerface.h"
35 
36 using namespace Digikam;
37 
39 {
40 
41 class FbWidget : public WSSettingsWidget
42 {
43  Q_OBJECT
44 
45 public:
46 
47  explicit FbWidget(QWidget* const parent,
48  DInfoInterface* const iface,
49  const QString& toolName);
50  ~FbWidget();
51 
52  void updateLabels(const QString& name = QString(),
53  const QString& url = QString()) override;
54 
55 Q_SIGNALS:
56 
57  void reloadAlbums(long long userID);
58 
59 private Q_SLOTS:
60 
61  void slotReloadAlbumsRequest();
62 
63 private:
64 
65  friend class FbWindow;
66 };
67 
68 } // namespace DigikamGenericFaceBookPlugin
69 
70 #endif // DIGIKAM_FB_WIDGET_H
void reloadAlbums(long long userID)
Definition: dinfointerface.h:56
Definition: wssettingswidget.h:54
Definition: fbitem.h:38
Definition: datefolderview.cpp:43