• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kjots

KJotsEntry Class Reference

#include <kjotsentry.h>

Inheritance diagram for KJotsEntry:

Inheritance graph
[legend]

List of all members.


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.

virtual void KJotsEntry::rename (  )  [pure virtual]

Implemented in KJotsBook, and KJotsPage.

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]

Implemented in KJotsBook, and KJotsPage.

virtual QString KJotsEntry::generateText ( void   )  [pure virtual]

Implemented in KJotsBook, and KJotsPage.

virtual void KJotsEntry::generatePrintData ( QTextCursor *   )  [pure virtual]

Implemented in KJotsBook, and KJotsPage.

quint64 KJotsEntry::id (  )  const [inline]

Definition at line 58 of file kjotsentry.h.

KJotsBook * KJotsEntry::parentBook (  ) 

Returns the parent book or 0 if there is none.

Definition at line 64 of file kjotsentry.cpp.

KJotsBook * KJotsEntry::topLevelBook (  ) 

Returns the topmost level book. It could be you!

Definition at line 72 of file kjotsentry.cpp.

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.
Set ourselves to a particular ID number, or pick a new one. The lastId used is stored in the settings.

Definition at line 93 of file kjotsentry.cpp.


Member Data Documentation

bool KJotsEntry::m_isBook [protected]

used for speed and code clarity.

Definition at line 68 of file kjotsentry.h.


The documentation for this class was generated from the following files:
  • kjotsentry.h
  • kjotsentry.cpp

kjots

Skip menu "kjots"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal