File indexing completed on 2023-09-24 08:19:52
0001 /* ============================================================ 0002 * 0003 * This file is a part of KDE project 0004 * 0005 * 0006 * Date : 2005-17-06 0007 * Description : a kipi plugin to export images to Flickr 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 * 0012 * This program is free software; you can redistribute it 0013 * and/or modify it under the terms of the GNU General 0014 * Public License as published by the Free Software Foundation; 0015 * either version 2, or (at your option) any later version. 0016 * 0017 * This program is distributed in the hope that it will be useful, 0018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0020 * GNU General Public License for more details. 0021 * 0022 * ============================================================ */ 0023 0024 #ifndef PLUGIN_FLICKR_H 0025 #define PLUGIN_FLICKR_H 0026 0027 // Qt includes 0028 0029 #include <QVariant> 0030 #include <QAction> 0031 0032 // LibKIPI includes 0033 0034 #include <KIPI/Plugin> 0035 0036 using namespace KIPI; 0037 0038 namespace KIPIFlickrPlugin 0039 { 0040 0041 class FlickrWindow; 0042 class SelectUserDlg; 0043 0044 class Plugin_Flickr : public Plugin 0045 { 0046 Q_OBJECT 0047 0048 public: 0049 0050 Plugin_Flickr(QObject* const parent, const QVariantList& args); 0051 ~Plugin_Flickr(); 0052 0053 void setup(QWidget* const) override; 0054 0055 public Q_SLOTS: 0056 0057 void slotActivateFlickr(); 0058 void slotActivate23(); 0059 0060 private: 0061 0062 void setupActions(); 0063 0064 private: 0065 0066 QAction* m_actionFlickr; 0067 QAction* m_action23; 0068 0069 FlickrWindow* m_dlgFlickr; 0070 FlickrWindow* m_dlg23; 0071 0072 SelectUserDlg* selectFlickr; 0073 SelectUserDlg* select23; 0074 }; 0075 0076 } //namespace KIPIFlickrPlugin 0077 0078 #endif // PLUGIN_FLICKR_H