7 #ifndef HUNSPELLPLUGIN_H
8 #define HUNSPELLPLUGIN_H
10 #include "pluginapi.h"
26 virtual bool run(
ScribusDoc* doc, QString target = QString::null);
27 virtual bool run(QWidget* p,
ScribusDoc* doc, QString target = QString::null);
30 virtual void deleteAboutData(
const AboutData* about)
const;
39 extern "C" PLUGIN_API
int hunspellplugin_getPluginAPIVersion();
40 extern "C" PLUGIN_API
ScPlugin* hunspellplugin_getPlugin();
41 extern "C" PLUGIN_API
void hunspellplugin_freePlugin(
ScPlugin* plugin);
A plug-in that performs a single action.
Definition: scplugin.h:248
virtual const QString fullTrName() const =0
Plug-in's human-readable, translated name.
Abstract super class for all Scribus plug-ins.
Definition: scplugin.h:90
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
virtual void addToMainWindowMenu(ScribusMainWindow *)
Allow plugins to add to a main menu.
Definition: hunspellplugin.h:32
virtual bool run(ScribusDoc *doc, QString target=QString::null)=0
Run the plug-in's main action.
virtual void languageChange()=0
Update all user-visible text to reflect current UI language.
the Document Class
Definition: scribusdoc.h:90
ScPlugin provides an interface to ask plugins for information about themselves.
Definition: scplugin.h:103
virtual const AboutData * getAboutData() const =0
Return descriptive information about the plug-in.
See scplugin.h and pluginmanager.{cpp,h} for detail on what these methods do. That documentatation is...
Definition: hunspellplugin.h:17