digiKam
twitterwidget.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 : 2018-06-29
7  * Description : a tool to export images to Twitter social network
8  *
9  * Copyright (C) 2018 by Tarek Talaat <tarektalaat93 at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
23 #ifndef DIGIKAM_TWITTER_WIDGET_H
24 #define DIGIKAM_TWITTER_WIDGET_H
25 
26 // Qt includes
27 
28 #include <QWidget>
29 
30 //local includes
31 
32 #include "wssettingswidget.h"
33 #include "dinfointerface.h"
34 
35 using namespace Digikam;
36 
38 {
39 
40 class TwWidget : public WSSettingsWidget
41 {
42  Q_OBJECT
43 
44 public:
45 
46  explicit TwWidget(QWidget* const parent,
47  DInfoInterface* const iface,
48  const QString& toolName);
49  ~TwWidget() override;
50 
51  void updateLabels(const QString& name = QString(),
52  const QString& url = QString()) override;
53 
54 Q_SIGNALS:
55 
56  void reloadAlbums(long long userID);
57 
58 private Q_SLOTS:
59 
60 /*
61  void slotReloadAlbumsRequest();
62 */
63 
64 private:
65 
66  friend class TwWindow;
67 };
68 
69 } // namespace DigikamGenericTwitterPlugin
70 
71 #endif // DIGIKAM_TWITTER_WIDGET_H
Definition: twitterwidget.h:41
void reloadAlbums(long long userID)
Definition: twitterwindow.h:46
Definition: dinfointerface.h:56
Definition: wssettingswidget.h:54
Definition: twitteritem.h:31
Definition: datefolderview.cpp:43