kword
KWMailMergeKSpread Class Reference
Inheritance diagram for KWMailMergeKSpread:

Detailed Description
Definition at line 32 of file kwmailmerge_kspread.h.
Public Member Functions | |
KWMailMergeKSpread (KInstance *inst, QObject *parent) | |
~KWMailMergeKSpread () | |
virtual void | save (QDomDocument &, QDomElement &) |
virtual void | load (QDomElement &) |
virtual class QString | getValue (const class QString &name, int record=-1) const |
virtual int | getNumRecords () const |
virtual void | refresh (bool force) |
virtual bool | showConfigDialog (QWidget *, int action) |
void | setURL (const KURL &url) |
KURL | url () const |
void | setSpreadSheetNumber (int number) |
int | spreadSheetNumber () const |
Friends | |
class | KWMailMergeKSpreadConfig |
Member Function Documentation
void KWMailMergeKSpread::save | ( | QDomDocument & | , | |
QDomElement & | ||||
) | [virtual] |
Saves the mail merge list to the kword document.
Implements KWMailMergeDataSource.
Definition at line 75 of file kwmailmerge_kspread.cpp.
void KWMailMergeKSpread::load | ( | QDomElement & | ) | [virtual] |
Loads the mail merge list stored in the kword document.
Implements KWMailMergeDataSource.
Definition at line 59 of file kwmailmerge_kspread.cpp.
virtual class QString KWMailMergeKSpread::getValue | ( | const class QString & | name, | |
int | record = -1 | |||
) | const [virtual] |
- Parameters:
-
name The name of the value e.g.
"Family name".
- Parameters:
-
record The position of the the entry in mail merge list.
- Returns:
- The value of the mail merge variable.
record
equals -1, name
is returned.
Implements KWMailMergeDataSource.
int KWMailMergeKSpread::getNumRecords | ( | ) | const [virtual] |
- Returns:
- The number of available contacts in mail merge list.
Implements KWMailMergeDataSource.
Definition at line 41 of file kwmailmerge_kspread.cpp.
void KWMailMergeKSpread::refresh | ( | bool | force | ) | [virtual] |
Only for compatability reasons.
- Parameters:
-
force Hasn't any effect.
Implements KWMailMergeDataSource.
Definition at line 84 of file kwmailmerge_kspread.cpp.
bool KWMailMergeKSpread::showConfigDialog | ( | QWidget * | , | |
int | action | |||
) | [virtual] |
Shows a KWMailMergeKSpreadConfig dialog for selecting entries from KAddressbook.
Implements KWMailMergeDataSource.
Definition at line 88 of file kwmailmerge_kspread.cpp.
The documentation for this class was generated from the following files: