Scribus
Open source desktop publishing at your fingertips
SWConfig Class Reference

This is the Scribus Short Words configuratin specification. Methods of this class read config files and PrefsManager context informations. Preferences GUI is in SWPrefsGui. More...

#include <configuration.h>

Inheritance diagram for SWConfig:
Collaboration diagram for SWConfig:

Public Member Functions

 SWConfig ()
 Reads config from the ui cfg file.
 
 ~SWConfig ()
 Writes config into the ui cfg file.
 
QStringList getShortWords (QString lang)
 Returns all options for specified language. More...
 
void saveConfig ()
 Save cfg.
 

Static Public Member Functions

static QString getAvailableLanguages ()
 available configs for UI about. More...
 
static QStringList getAvailableLanguagesList ()
 

Public Attributes

uint action
 Id of the UI radiobutton.
 
bool useStyle
 
QString currentLanguage
 

Detailed Description

This is the Scribus Short Words configuratin specification. Methods of this class read config files and PrefsManager context informations. Preferences GUI is in SWPrefsGui.

This code is based on the Scribus-Vlna plug in rewritten for international use.

Author
Petr Vanek petr@.nosp@m.yarp.nosp@m.en.cz with contributors.

Member Function Documentation

QString SWConfig::getAvailableLanguages ( )
static

available configs for UI about.

Return values
QStringwith languages in the configuration.
QStringList SWConfig::getShortWords ( QString  lang)

Returns all options for specified language.

Parameters
langlanguage of the ext frame

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