lib
KoImportStyleDia Class Reference
Inheritance diagram for KoImportStyleDia:

Detailed Description
Definition at line 30 of file KoImportStyleDia.h.
Public Member Functions | |
KoImportStyleDia (KoStyleCollection *currentCollection, QWidget *parent, const char *name) | |
~KoImportStyleDia () | |
const KoStyleCollection & | importedStyles () const |
Protected Slots | |
virtual void | slotOk () |
void | slotLoadFile () |
Protected Member Functions | |
virtual void | loadFile ()=0 |
void | clear () |
QString | generateStyleName (const QString &templateName) const |
QString | generateStyleDisplayName (const QString &templateName) const |
const KoStyleCollection * | currentCollection () const |
void | initList () |
Protected Attributes | |
QListBox * | m_listStyleName |
KoStyleCollection | m_styleList |
Constructor & Destructor Documentation
KoImportStyleDia::KoImportStyleDia | ( | KoStyleCollection * | currentCollection, | |
QWidget * | parent, | |||
const char * | name | |||
) |
- Parameters:
-
currentCollection collection of styles already present in the document (this is used to avoid conflicts in the style names and displayNames)
Definition at line 31 of file KoImportStyleDia.cpp.
Member Function Documentation
virtual void KoImportStyleDia::loadFile | ( | ) | [protected, pure virtual] |
Open file dialog and load the list of styles from the selected doc.
The documentation for this class was generated from the following files: