File indexing completed on 2025-01-19 03:53:14

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2018-06-29
0007  * Description : a tool to export images to Twitter social network
0008  *
0009  * SPDX-FileCopyrightText: 2018 by Tarek Talaat <tarektalaat93 at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_TWITTER_WIDGET_H
0016 #define DIGIKAM_TWITTER_WIDGET_H
0017 
0018 // Qt includes
0019 
0020 #include <QWidget>
0021 
0022 //local includes
0023 
0024 #include "wssettingswidget.h"
0025 #include "dinfointerface.h"
0026 
0027 using namespace Digikam;
0028 
0029 namespace DigikamGenericTwitterPlugin
0030 {
0031 
0032 class TwWidget : public WSSettingsWidget
0033 {
0034     Q_OBJECT
0035 
0036 public:
0037 
0038     explicit TwWidget(QWidget* const parent,
0039                       DInfoInterface* const iface,
0040                       const QString& toolName);
0041     ~TwWidget() override;
0042 
0043     void updateLabels(const QString& name = QString(),
0044                       const QString& url = QString()) override;
0045 
0046 Q_SIGNALS:
0047 
0048     void reloadAlbums(long long userID);
0049 
0050 private Q_SLOTS:
0051 
0052 /*
0053     void slotReloadAlbumsRequest();
0054 */
0055 
0056 private:
0057 
0058     friend class TwWindow;
0059 };
0060 
0061 } // namespace DigikamGenericTwitterPlugin
0062 
0063 #endif // DIGIKAM_TWITTER_WIDGET_H