lokalize
#include <project.h>
Public Slots | |
Q_SCRIPTABLE QString | absolutePath (const QString &) const |
GlossaryNS::GlossaryWindow * | defineNewTerm (QString en=QString(), QString target=QString()) |
Q_SCRIPTABLE QString | desirablePath () const |
Q_SCRIPTABLE void | init (const QString &path, const QString &kind, const QString &id, const QString &sourceLang, const QString &targetLang) |
Q_SCRIPTABLE bool | isTmSupported () const |
Q_SCRIPTABLE QString | kind () const |
void | populateDirModel () |
void | populateGlossary () |
Q_SCRIPTABLE void | setDesirablePath (const QString &path) |
GlossaryNS::GlossaryWindow * | showGlossary () |
void | showTMManager () |
Q_SCRIPTABLE QString | sourceLangCode () const |
Q_SCRIPTABLE QString | targetLangCode () const |
Q_SCRIPTABLE QString | templatesRoot () const |
Q_SCRIPTABLE QString | translationsRoot () const |
Signals | |
Q_SCRIPTABLE void | loaded () |
Static Public Member Functions | |
static Project * | instance () |
static ProjectLocal * | local () |
Additional Inherited Members | |
Protected Attributes inherited from ProjectBase | |
QString | mAccel |
QString | mAltDir |
QString | mBranchDir |
QString | mGlossaryTbx |
QString | mKind |
QString | mLangCode |
QString | mMailingList |
QString | mMainQA |
QString | mMarkup |
QString | mPoBaseDir |
QString | mPotBaseDir |
QString | mProjectID |
QString | mSourceLangCode |
QString | mTargetLangCode |
int | mWordWrap |
Detailed Description
Singleton object that represents project.
It is shared between EditorWindow 'mainwindows' that use the same project file. Keeps project's KDirModel, Glossary and kross::actions
GUI for config handling is implemented in prefs.cpp
Singleton object that represents project
Constructor & Destructor Documentation
|
explicit |
Definition at line 77 of file project.cpp.
|
virtual |
Definition at line 109 of file project.cpp.
Member Function Documentation
Definition at line 178 of file project.cpp.
|
slot |
Definition at line 211 of file project.cpp.
|
inlineslot |
|
inline |
|
slot |
Definition at line 279 of file project.cpp.
|
static |
Definition at line 67 of file project.cpp.
|
slot |
Definition at line 234 of file project.cpp.
void Project::load | ( | const QString & | file | ) |
Definition at line 115 of file project.cpp.
|
signal |
|
inlinestatic |
ProjectModel * Project::model | ( | ) |
Definition at line 265 of file project.cpp.
|
slot |
Definition at line 190 of file project.cpp.
|
slot |
Definition at line 201 of file project.cpp.
bool Project::queryCloseForAuxiliaryWindows | ( | ) |
Definition at line 226 of file project.cpp.
void Project::save | ( | ) |
Definition at line 256 of file project.cpp.
void Project::setDefaults | ( | ) |
Definition at line 273 of file project.cpp.
|
inlineslot |
|
slot |
Definition at line 206 of file project.cpp.
|
slot |
Definition at line 240 of file project.cpp.
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
inlineslot |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.