Warning, file /graphics/kipi-plugins/facebook/plugin_facebook.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) 2005-2008 by Vardhman Jain <vardhman at gmail dot com>
0010  * Copyright (C) 2008-2018 by Gilles Caulier <caulier dot gilles at gmail dot com>
0011  * Copyright (C) 2008-2009 by Luka Renko <lure at kubuntu dot org>
0012  *
0013  * This program is free software; you can redistribute it
0014  * and/or modify it under the terms of the GNU General
0015  * Public License as published by the Free Software Foundation;
0016  * either version 2, or (at your option) any later version.
0017  *
0018  * This program is distributed in the hope that it will be useful,
0019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0021  * GNU General Public License for more details.
0022  *
0023  * ============================================================ */
0024 
0025 #ifndef PLUGIN_FACEBOOK_H
0026 #define PLUGIN_FACEBOOK_H
0027 
0028 // Qt includes
0029 
0030 #include <QVariant>
0031 
0032 // Libkipi includes
0033 
0034 #include <KIPI/Plugin>
0035 
0036 class QAction;
0037 
0038 namespace KIPIFacebookPlugin
0039 {
0040     class FbWindow;
0041 }
0042 
0043 class KJob;
0044 
0045 using namespace KIPI;
0046 
0047 namespace KIPIFacebookPlugin
0048 {
0049 
0050 class Plugin_Facebook : public Plugin
0051 {
0052     Q_OBJECT
0053 
0054 public:
0055 
0056     Plugin_Facebook(QObject* const parent, const QVariantList& args);
0057     ~Plugin_Facebook();
0058 
0059     void setup(QWidget* const) override;
0060 
0061 public Q_SLOTS:
0062 
0063     void slotExport();
0064 
0065 private:
0066 
0067     void setupActions();
0068 
0069 private:
0070 
0071     QAction*   m_actionExport;
0072 
0073     FbWindow*  m_dlgExport;
0074 };
0075 
0076 } // namespace KIPIFacebookPlugin
0077 
0078 #endif // PLUGIN_FACEBOOK_H