Warning, file /graphics/kipi-plugins/facebook/fbwidget.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /* ============================================================
0002  *
0003  * This file is a part of KDE project
0004  *
0005  *
0006  * Date        : 2008-12-26
0007  * Description : a kipi plugin to export images to Facebook web service
0008  *
0009  * Copyright (C) 2008-2009 by Luka Renko <lure at kubuntu dot org>
0010  *
0011  * This program is free software; you can redistribute it
0012  * and/or modify it under the terms of the GNU General
0013  * Public License as published by the Free Software Foundation;
0014  * either version 2, or (at your option) any later version.
0015  *
0016  * This program is distributed in the hope that it will be useful,
0017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0019  * GNU General Public License for more details.
0020  *
0021  * ============================================================ */
0022 
0023 #ifndef FBWIDGET_H
0024 #define FBWIDGET_H
0025 
0026 // Qt includes
0027 
0028 #include <QWidget>
0029 
0030 //local includes
0031 
0032 #include "kpsettingswidget.h"
0033 
0034 class QLabel;
0035 class QSpinBox;
0036 class QCheckBox;
0037 class QButtonGroup;
0038 class QComboBox;
0039 class QPushButton;
0040 
0041 namespace KIPI
0042 {
0043     class Interface;
0044     class UploadWidget;
0045 }
0046 
0047 namespace KIPIPlugins
0048 {
0049     class KPImagesList;
0050     class KPProgressWidget;
0051 }
0052 
0053 using namespace KIPIPlugins;
0054 
0055 namespace KIPIFacebookPlugin
0056 {
0057 
0058 class FbWidget : public KPSettingsWidget
0059 {
0060     Q_OBJECT
0061 
0062 public:
0063 
0064     FbWidget(QWidget* const parent, KIPI::Interface* const iface, const QString& pluginName);
0065     ~FbWidget();
0066 
0067     void updateLabels(const QString& name = QString(), const QString& url = QString()) override;
0068 
0069 //     QString   getAlbumID()         const;
0070 //     QString   getDestinationPath() const;
0071 /*
0072     KIPIPlugins::KPImagesList* imagesList()      const;
0073     KIPIPlugins::KPProgressWidget* progressBar() const;*/
0074 
0075 Q_SIGNALS:
0076 
0077     void reloadAlbums(long long userID);
0078 
0079 private Q_SLOTS:
0080 
0081     void slotReloadAlbumsRequest();
0082 //     void slotResizeChecked();
0083 
0084 private:
0085 
0086 //     KIPIPlugins::KPImagesList*     m_imgList;
0087 //     KIPI::UploadWidget*            m_uploadWidget;
0088 //
0089 //     QLabel*                        m_headerLbl;
0090 //     QLabel*                        m_userNameDisplayLbl;
0091 //     QLabel*                        m_permissionLbl;
0092 //     QPushButton*                   m_changeUserBtn;
0093 //
0094 //     QButtonGroup*                  m_dlGrp;
0095 //     QComboBox*                     m_albumsCoB;
0096 //     QPushButton*                   m_newAlbumBtn;
0097 //     QPushButton*                   m_reloadAlbumsBtn;
0098 //
0099 //     QCheckBox*                     m_resizeChB;
0100 //     QSpinBox*                      m_dimensionSpB;
0101 //     QSpinBox*                      m_imageQualitySpB;
0102 
0103 //     KIPIPlugins::KPProgressWidget* m_progressBar;
0104 
0105     friend class FbWindow;
0106 };
0107 
0108 } // namespace KIPIFacebookPlugin
0109 
0110 #endif // FBWIDGET_H