Back to index

scribus-ng  1.3.4.dfsg+svn20071115
shortwords.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef SCRIBUS_SHORTWORDS_H
00008 #define SCRIBUS_SHORTWORDS_H
00009 
00010 #include "scconfig.h"
00011 #include "pluginapi.h"
00012 #include "scplugin.h"
00013 
00021 class PLUGIN_API ShortWordsPlugin : public ScActionPlugin
00022 {
00023        Q_OBJECT
00024 
00025        public:
00026               // Standard plugin implementation
00027               ShortWordsPlugin();
00028               virtual ~ShortWordsPlugin();
00029               virtual bool run(ScribusDoc* doc, QString target = QString::null);
00030               virtual const QString fullTrName() const;
00031               virtual const AboutData* getAboutData() const;
00032               virtual void deleteAboutData(const AboutData* about) const;
00033               virtual void languageChange();
00034               virtual void addToMainWindowMenu(ScribusMainWindow *) {};
00036               virtual bool newPrefsPanelWidget(QWidget* parent, PrefsPanel*& panel,
00037                                                                        QString& caption, QPixmap& icon);
00038               // Special features (none)
00039 };
00040 
00041 extern "C" PLUGIN_API int scribusshortwords_getPluginAPIVersion();
00042 extern "C" PLUGIN_API ScPlugin* scribusshortwords_getPlugin();
00043 extern "C" PLUGIN_API void scribusshortwords_freePlugin(ScPlugin* plugin);
00044 
00045 #endif