QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPluginLoader Class Reference

Copyright (c) 2011-2014 by Andrew Mustun. More...

#include <RPluginLoader.h>

List of all members.

Static Public Member Functions

static int countPlugins ()
static QStringList getPluginFiles ()
static RPluginInfo getPluginInfo (int i)
static QString getPluginsPath ()
static QString getPluginSuffix ()
static bool hasPlugin (const QString &name)
static void initScriptExtensions (QScriptEngine &engine)
static void initScriptExtensions (QObject *plugin, QScriptEngine &engine)
static void loadPlugin (QObject *plugin, bool init, const QString &fileName=QString(), const QString &errorString=QString())
static void loadPlugins (bool init)
 Tries to loads all QCAD plugins located in .
static void postInitPlugin (QObject *plugin, RPluginInterface::InitStatus status)
static void postInitPlugins (RPluginInterface::InitStatus status)
static void unloadPlugin (const QString &fileName, bool remove=false)
static void unloadPlugin (const QObject *plugin, bool remove=false)
static void unloadPlugins ()

Static Private Attributes

static QStringList pluginFiles
static QList< RPluginInfopluginsInfo
 Copyright (c) 2011-2014 by Andrew Mustun.

Detailed Description

Copyright (c) 2011-2014 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD. Loads and registeres plugins.

Scriptable:
This class is wrapped for script environments.

Member Function Documentation

static int RPluginLoader::countPlugins ( )
inlinestatic
QStringList RPluginLoader::getPluginFiles ( )
static
static RPluginInfo RPluginLoader::getPluginInfo ( int  i)
inlinestatic
QString RPluginLoader::getPluginsPath ( )
static
QString RPluginLoader::getPluginSuffix ( )
static
bool RPluginLoader::hasPlugin ( const QString &  name)
static
void RPluginLoader::initScriptExtensions ( QScriptEngine &  engine)
static
   \par Non-Scriptable:

This function is not available in script environments.

void RPluginLoader::initScriptExtensions ( QObject *  plugin,
QScriptEngine &  engine 
)
static
   \par Non-Scriptable:

This function is not available in script environments.

void RPluginLoader::loadPlugin ( QObject *  plugin,
bool  init,
const QString &  fileName = QString(),
const QString &  errorString = QString() 
)
static
void RPluginLoader::loadPlugins ( bool  init)
static

Tries to loads all QCAD plugins located in .

/plugins.

void RPluginLoader::postInitPlugin ( QObject *  plugin,
RPluginInterface::InitStatus  status 
)
static
   \par Non-Scriptable:

This function is not available in script environments.

void RPluginLoader::postInitPlugins ( RPluginInterface::InitStatus  status)
static
void RPluginLoader::unloadPlugin ( const QString &  fileName,
bool  remove = false 
)
static
void RPluginLoader::unloadPlugin ( const QObject *  plugin,
bool  remove = false 
)
static
void RPluginLoader::unloadPlugins ( )
static

Member Data Documentation

QStringList RPluginLoader::pluginFiles
staticprivate
QList< RPluginInfo > RPluginLoader::pluginsInfo
staticprivate

Copyright (c) 2011-2014 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.


The documentation for this class was generated from the following files: