Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
fontpreviewplugin.cpp File Reference
#include "fontpreviewplugin.h"
#include "fontpreviewplugin.moc"
#include "fontpreview.h"
#include "scribuscore.h"
#include "scribusdoc.h"
#include <qcursor.h>
#include <qlistview.h>

Go to the source code of this file.

Functions

int fontpreview_getPluginAPIVersion ()
ScPlugin * fontpreview_getPlugin ()
void fontpreview_freePlugin (ScPlugin *plugin)

Function Documentation

void fontpreview_freePlugin ( ScPlugin *  plugin)

Definition at line 27 of file fontpreviewplugin.cpp.

{
       FontPreviewPlugin* plug = dynamic_cast<FontPreviewPlugin*>(plugin);
       Q_ASSERT(plug);
       delete plug;
}
ScPlugin* fontpreview_getPlugin ( )

Definition at line 20 of file fontpreviewplugin.cpp.

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

Definition at line 15 of file fontpreviewplugin.cpp.

{
       return PLUGIN_API_VERSION;
}