#include <klfmain.h>
Definition at line 55 of file klfmain.h.
KLFAddOnInfo::KLFAddOnInfo |
( |
QString |
rccfpath, |
|
|
bool |
isFresh = false |
|
) |
| |
Reads RCC file rccfpath
and parses its rccinfo/info.xml, etc. sets all fields to correct values and isfresh to isFresh
.
Definition at line 59 of file klfmain.cpp.
References QFileInfo::absoluteFilePath(), QFileInfo::absolutePath(), QDomDocument::documentElement(), QDir::entryList(), QFileInfo::fileName(), QDomNode::isNull(), QFileInfo::isWritable(), KLF_ASSERT_CONDITION, klfDbg, QDomNode::nextSibling(), QDomNode::nodeType(), QFile::open(), QResource::registerResource(), QString::section(), QDomDocument::setContent(), QDomElement::text(), QDomNode::toElement(), and QObject::tr().
Create a copy of the add-on info structure other
Definition at line 282 of file klfmain.cpp.
KLFAddOnInfo::~KLFAddOnInfo |
( |
| ) |
|
the info in the add-on's info.xml file
Definition at line 96 of file klfmain.h.
QString KLFAddOnInfo::description |
( |
| ) |
|
|
inline |
the info in the add-on's info.xml file
Definition at line 98 of file klfmain.h.
Directory in which the RCC file resides
Definition at line 85 of file klfmain.h.
Name of the RCC file (no path)
Definition at line 87 of file klfmain.h.
bool KLFAddOnInfo::isfresh |
( |
| ) |
|
|
inline |
Fresh file: add-on imported during this execution; ie. KLatexFormula needs to be restarted for this add-on to take effect. The constructor sets this value to FALSE
, set it manually to TRUE
if needed (e.g. in KLFSettings).
Definition at line 140 of file klfmain.h.
bool KLFAddOnInfo::islocal |
( |
| ) |
|
|
inline |
local file: can be removed (e.g. not in a global path /usr/share/... )
Definition at line 91 of file klfmain.h.
QString KLFAddOnInfo::klfminversion |
( |
| ) |
|
|
inline |
The list of plugins provided by this add-on (list of files ":/plugins/[<dir>/]<plugin-name>*.so|dll"
).
This list stores full file names relative to plugin dir in add-on (e.g. "libskin.so"
or "linux-x86-klf3.1.1/libskin.so"
) .
See also localPluginList().
Definition at line 113 of file klfmain.h.
QString KLFAddOnInfo::pluginLocalSubDirName |
( |
const QString & |
plugin | ) |
const |
|
inline |
QString KLFAddOnInfo::rccmountroot |
( |
| ) |
|
|
inline |
the info in the add-on's info.xml file
Definition at line 94 of file klfmain.h.
The documentation for this class was generated from the following files: