kjots
KJotsEntry Class Reference
#include <kjotsentry.h>

Detailed Description
Definition at line 42 of file kjotsentry.h.
Public Member Functions | |
| KJotsEntry () | |
| virtual void | setTitle (const QString &) |
| QString | title () |
| virtual void | rename ()=0 |
| virtual void | generateXml (QDomDocument &, QDomElement &) |
| virtual void | parseXml (QDomElement &, bool) |
| virtual void | generateHtml (KJotsEntry *, bool, QTextCursor *)=0 |
| virtual QString | generateText (void)=0 |
| virtual void | generatePrintData (QTextCursor *)=0 |
| quint64 | id () const |
| KJotsBook * | parentBook () |
| KJotsBook * | topLevelBook () |
| bool | isBook () const |
| bool | isPage () const |
Protected Member Functions | |
| void | setId (quint64) |
Protected Attributes | |
| bool | m_isBook |
Constructor & Destructor Documentation
| KJotsEntry::KJotsEntry | ( | ) |
Definition at line 51 of file kjotsentry.cpp.
Member Function Documentation
| void KJotsEntry::setTitle | ( | const QString & | title | ) | [virtual] |
Definition at line 56 of file kjotsentry.cpp.
| QString KJotsEntry::title | ( | ) | [inline] |
Definition at line 50 of file kjotsentry.h.
| void KJotsEntry::generateXml | ( | QDomDocument & | doc, | |
| QDomElement & | parent | |||
| ) | [virtual] |
Performs functions necessary to save the entry to a KJots file. This function should ONLY be called when saving the file, as it performs other functions than generating XML.
Reimplemented in KJotsBook, and KJotsPage.
Definition at line 140 of file kjotsentry.cpp.
| void KJotsEntry::parseXml | ( | QDomElement & | e, | |
| bool | ||||
| ) | [virtual] |
Parses through XML data for settings inherent to the base class.
Reimplemented in KJotsBook, and KJotsPage.
Definition at line 165 of file kjotsentry.cpp.
| virtual void KJotsEntry::generateHtml | ( | KJotsEntry * | , | |
| bool | , | |||
| QTextCursor * | ||||
| ) | [pure virtual] |
| virtual QString KJotsEntry::generateText | ( | void | ) | [pure virtual] |
| virtual void KJotsEntry::generatePrintData | ( | QTextCursor * | ) | [pure virtual] |
| quint64 KJotsEntry::id | ( | ) | const [inline] |
Definition at line 58 of file kjotsentry.h.
| KJotsBook * KJotsEntry::parentBook | ( | ) |
| KJotsBook * KJotsEntry::topLevelBook | ( | ) |
| bool KJotsEntry::isBook | ( | ) | const [inline] |
Definition at line 63 of file kjotsentry.h.
| bool KJotsEntry::isPage | ( | ) | const [inline] |
Definition at line 64 of file kjotsentry.h.
| void KJotsEntry::setId | ( | quint64 | id | ) | [protected] |
Set the ID number.
- Parameters:
-
id The ID to set, or 0 to pick a fresh one.
Definition at line 93 of file kjotsentry.cpp.
Member Data Documentation
bool KJotsEntry::m_isBook [protected] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference