Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
shortwords.cpp File Reference
#include <qcheckbox.h>
#include <qcursor.h>
#include <qdir.h>
#include <qfile.h>
#include <qmessagebox.h>
#include <qprogressdialog.h>
#include <qtextcodec.h>
#include "shortwords.h"
#include "shortwords.moc"
#include "version.h"
#include "vlnadialog.h"
#include "configuration.h"
#include "parse.h"
#include "page.h"
#include "swprefsgui.h"
#include "scpaths.h"
#include "scribus.h"
#include "util.h"

Go to the source code of this file.

Functions

int scribusshortwords_getPluginAPIVersion ()
ScPlugin * scribusshortwords_getPlugin ()
void scribusshortwords_freePlugin (ScPlugin *plugin)

Function Documentation

void scribusshortwords_freePlugin ( ScPlugin *  plugin)

Definition at line 50 of file shortwords.cpp.

{
       ShortWordsPlugin* plug = dynamic_cast<ShortWordsPlugin*>(plugin);
       Q_ASSERT(plug);
       delete plug;
}

Definition at line 43 of file shortwords.cpp.

{
       ShortWordsPlugin* plug = new ShortWordsPlugin();
       Q_CHECK_PTR(plug);
       return plug;
}

Definition at line 38 of file shortwords.cpp.

{
       return PLUGIN_API_VERSION;
}