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 VKontakte web service 8 * 9 * Copyright (C) 2010 by Roman Tsisyk <roman at tsisyk dot com> 10 * Copyright (C) 2011, 2015 Alexander Potashev <aspotashev@gmail.com> 11 * 12 * This program is free software; you can redistribute it 13 * and/or modify it under the terms of the GNU General 14 * Public License as published by the Free Software Foundation; 15 * either version 2, or (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * ============================================================ */ 23 24 #ifndef PLUGIN_VKONTAKTE_H 25 #define PLUGIN_VKONTAKTE_H 26 27 // Qt includes 28 29 #include <QAction> 30 31 // Libkipi includes 32 33 #include <KIPI/Plugin> 34 35 // Local includes 36 37 #include "vkwindow.h" 38 39 using namespace KIPI; 40 41 namespace KIPIVkontaktePlugin 42 { 43 44 class Plugin_Vkontakte : public Plugin 45 { 46 Q_OBJECT 47 48 public: 49 50 Plugin_Vkontakte(QObject* const parent, const QVariantList& args); 51 ~Plugin_Vkontakte(); 52 53 void setup(QWidget* const) override; 54 55 public Q_SLOTS: 56 57 void slotExport(); 58 59 private: 60 61 void setupActions(); 62 63 private: 64 65 QAction* m_actionExport; 66 VkontakteWindow* m_dlgExport; 67 }; 68 69 } // namespace KIPIVkontaktePlugin 70 71 #endif // PLUGIN_VKONTAKTE_H 72