diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-19 18:22:05 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-19 18:22:05 +0000 |
| commit | 57e10fedbcb8c3e8c6590ff0935dbf017ce5587f (patch) | |
| tree | 3000a7649ca4e40e43f9e7feed963236a0b0f56b /kipi-plugins/helloworld/plugin_helloworld.h | |
| download | kipi-plugins-57e10fedbcb8c3e8c6590ff0935dbf017ce5587f.tar.gz kipi-plugins-57e10fedbcb8c3e8c6590ff0935dbf017ce5587f.zip | |
Import abandoned KDE3 version of kipi plugins
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/kipi-plugins@1077221 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kipi-plugins/helloworld/plugin_helloworld.h')
| -rw-r--r-- | kipi-plugins/helloworld/plugin_helloworld.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/kipi-plugins/helloworld/plugin_helloworld.h b/kipi-plugins/helloworld/plugin_helloworld.h new file mode 100644 index 0000000..0af3b9e --- /dev/null +++ b/kipi-plugins/helloworld/plugin_helloworld.h @@ -0,0 +1,58 @@ +/* ============================================================ + * File : plugin_helloworld.h + * Author: Renchi Raju <renchi@pooh.tam.uiuc.edu> + * Date : 2003-03-10 + * Description : + * + * Copyright 2003 by Renchi Raju <renchi@pooh.tam.uiuc.edu> + * + * This program is free software; you can redistribute it + * and/or modify it under the terms of the GNU General + * Public License as published by the Free Software Foundation; + * either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * ============================================================ */ + +#ifndef PLUGIN_HELLOWORLD_H +#define PLUGIN_HELLOWORLD_H + +// LibKIPI includes + +#include <libkipi/plugin.h> + +class KAction; + +class Plugin_HelloWorld : public KIPI::Plugin +{ + Q_OBJECT + +public: + + // Notice the constructor + // takes three arguments QObject *parent (the parent of this object), + // const char* name (the name of this object) and + // const QStringList &args (the arguments passed). + Plugin_HelloWorld(QObject *parent, + const char* name, + const QStringList &args); + + virtual KIPI::Category category( KAction* action ) const; + virtual void setup( QWidget* widget ); + +private slots: + + //This is an example slot to which your action is connected. + void slotActivate(); + +private: + KAction *m_actionHelloWorld; + KIPI::Interface *m_interface; +}; + +#endif |
