Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
nftemplate.cpp File Reference
#include <qstring.h>
#include <qcursor.h>
#include <qdir.h>
#include <qwidget.h>
#include "scribus.h"
#include "scribuscore.h"
#include "nftemplate.h"
#include "nftemplate.moc"
#include "nftdialog.h"
#include "scraction.h"
#include "menumanager.h"
#include "undomanager.h"
#include "prefsmanager.h"

Go to the source code of this file.

Functions

int newfromtemplateplugin_getPluginAPIVersion ()
ScPlugin * newfromtemplateplugin_getPlugin ()
void newfromtemplateplugin_freePlugin (ScPlugin *plugin)

Function Documentation

void newfromtemplateplugin_freePlugin ( ScPlugin *  plugin)

Definition at line 37 of file nftemplate.cpp.

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

Definition at line 30 of file nftemplate.cpp.

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

Definition at line 25 of file nftemplate.cpp.

{
       return PLUGIN_API_VERSION;
}