Logo Search packages:      
Sourcecode: qt-assistant-compat version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

Profile Class Reference

Collaboration diagram for Profile:
Collaboration graph
[legend]

List of all members.

Public Types

enum  ProfileType { DefaultProfile, UserProfile }

Public Member Functions

void addDCF (const QString &docfile)
void addDCFIcon (const QString title, const QString &icon)
void addDCFImageDir (const QString title, const QString &imgDir)
void addDCFIndexPage (const QString title, const QString &indexPage)
void addDCFTitle (const QString &dcf, const QString &title)
void addProperty (const QString &name, const QString &value)
DocuParserdocuParser () const
bool hasDocFile (const QString &docFile)
bool isValid () const
ProfileType profileType () const
void removeDocFileEntry (const QString &title)
void setDocuParser (DocuParser *dp)
void setProfileType (ProfileType t)

Static Public Member Functions

static ProfilecreateDefaultProfile (const QString &docPath=QString())
static QString loadableFilePath (const QString &fileName)
static QString makeRelativePath (const QString &base, const QString &path)
static QString storableFilePath (const QString &fileName)

Public Attributes

QMap< QString, QString > dcfTitles
QStringList docs
DocuParserdparser
QMap< QString, QString > icons
QMap< QString, QString > imageDirs
QMap< QString, QString > indexPages
QMap< QString, QString > props
ProfileType type
uint valid:1

Detailed Description

Definition at line 54 of file profile.h.


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

Generated by  Doxygen 1.6.0   Back to index