Konsole
Konsole::ProfileReader Class Reference
Interface for all classes which can load profile settings from a file. More...
#include <Profile.h>
Inheritance diagram for Konsole::ProfileReader:

Public Member Functions | |
virtual QStringList | findProfiles () |
virtual bool | readProfile (const QString &path, Profile::Ptr profile, QString &parentProfile)=0 |
virtual | ~ProfileReader () |
Detailed Description
Interface for all classes which can load profile settings from a file.
Definition at line 520 of file Profile.h.
Constructor & Destructor Documentation
virtual Konsole::ProfileReader::~ProfileReader | ( | ) | [inline, virtual] |
Member Function Documentation
virtual QStringList Konsole::ProfileReader::findProfiles | ( | ) | [inline, virtual] |
Returns a list of paths to profiles which this reader can read.
Reimplemented in Konsole::KDE3ProfileReader, and Konsole::KDE4ProfileReader.
virtual bool Konsole::ProfileReader::readProfile | ( | const QString & | path, | |
Profile::Ptr | profile, | |||
QString & | parentProfile | |||
) | [pure virtual] |
Attempts to read a profile from path
and save the property values described into profile
.
Returns true if the profile was successfully read or false otherwise.
- Parameters:
-
path Path to the profile to read profile Pointer to the Profile the settings will be read into parentProfile Receives the name of the parent profile specified in
Implemented in Konsole::KDE3ProfileReader, and Konsole::KDE4ProfileReader.
The documentation for this class was generated from the following file: