1 /* ============================================================ 2 * 3 * This file is a part of KDE project 4 * 5 * 6 * Date : 2010-11-15 7 * Description : a kipi plugin to export images to Yandex.Fotki web service 8 * 9 * Copyright (C) 2010 by Roman Tsisyk <roman at tsisyk 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 PLUGIN_YANDEXFOTKI_H 24 #define PLUGIN_YANDEXFOTKI_H 25 26 // KDE includes 27 28 #include <QAction> 29 30 // Libkipi includes 31 32 #include <KIPI/Plugin> 33 34 using namespace KIPI; 35 36 namespace KIPIYandexFotkiPlugin 37 { 38 39 class YandexFotkiWindow; 40 41 class Plugin_YandexFotki : public Plugin 42 { 43 Q_OBJECT 44 45 public: 46 47 Plugin_YandexFotki(QObject* const parent, const QVariantList& args); 48 ~Plugin_YandexFotki(); 49 50 void setup(QWidget* const) override; 51 52 public Q_SLOTS: 53 54 void slotExport(); 55 56 private: 57 58 void setupActions(); 59 60 private: 61 62 QAction * m_actionExport; 63 YandexFotkiWindow* m_dlgExport; 64 }; 65 66 } // namespace KIPIYandexFotkiPlugin 67 68 #endif // PLUGIN_YANDEXFOTKI_H 69