NCL Composer  0.1.5
 All Classes Functions Variables Pages
composer::core::LanguageControl Class Reference

Manages the installed language profiles (though ILanguageProfile interface). More...

#include <LanguageControl.h>

Inheritance diagram for composer::core::LanguageControl:
Collaboration diagram for composer::core::LanguageControl:

Signals

void notifyError (QString)
 

Public Member Functions

void loadProfiles (QString profilesDirPath)
 Load all the profiles from a specific directory. More...
 
ILanguageProfileloadProfile (QString fileName)
 Load a language profile from a specific fileName. More...
 
ILanguageProfilegetProfileFromType (LanguageType type)
 
bool removeProfile (LanguageType type)
 
QList< ILanguageProfile * > getLoadedProfiles ()
 

Detailed Description

Manages the installed language profiles (though ILanguageProfile interface).

Definition at line 35 of file LanguageControl.h.

Member Function Documentation

ILanguageProfile * composer::core::LanguageControl::getProfileFromType ( LanguageType  type)
Parameters
type

Definition at line 99 of file LanguageControl.cpp.

ILanguageProfile * composer::core::LanguageControl::loadProfile ( QString  fileName)

Load a language profile from a specific fileName.

Parameters
fileNameth

Definition at line 52 of file LanguageControl.cpp.

Here is the caller graph for this function:

void composer::core::LanguageControl::loadProfiles ( QString  profilesDirPath)

Load all the profiles from a specific directory.

Parameters
profilesDirPaththe directory path from where the profiles must be loaded.

Definition at line 78 of file LanguageControl.cpp.

Here is the call graph for this function:

void composer::core::LanguageControl::notifyError ( QString  )
signal
Parameters
QString

Here is the caller graph for this function:

bool composer::core::LanguageControl::removeProfile ( LanguageType  type)
Parameters
type

Definition at line 36 of file LanguageControl.cpp.


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