kstars
#include <kstarsdocument.h>

Public Member Functions | |
| KStarsDocument () | |
| ~KStarsDocument () | |
| void | clearContent () | 
| void | print (QPrinter *printer) | 
| bool | writeOdt (const QString &fname) | 
| void | writePsPdf (const QString &fname) | 
Protected Attributes | |
| QTextDocument * | m_Document | 
Detailed Description
Base class for KStars documents.
KStarsDocument is a base class for all KStars documents: finder charts, logging forms etc.
Definition at line 35 of file kstarsdocument.h.
Constructor & Destructor Documentation
| KStarsDocument::KStarsDocument | ( | ) | 
Constructor.
Definition at line 25 of file kstarsdocument.cpp.
| KStarsDocument::~KStarsDocument | ( | ) | 
Destructor.
Definition at line 30 of file kstarsdocument.cpp.
Member Function Documentation
| void KStarsDocument::clearContent | ( | ) | 
Clears contents of the document.
Definition at line 38 of file kstarsdocument.cpp.
| void KStarsDocument::print | ( | QPrinter * | printer | ) | 
Print contents of the document.
- Parameters
 - 
  
printer Printer on which document will be printed.  
Definition at line 43 of file kstarsdocument.cpp.
| bool KStarsDocument::writeOdt | ( | const QString & | fname | ) | 
Write contents of the document to Open Document Text file.
- Parameters
 - 
  
fname File name.  
- Returns
 - Returns true if write is successful.
 
Definition at line 48 of file kstarsdocument.cpp.
| void KStarsDocument::writePsPdf | ( | const QString & | fname | ) | 
Write contents of the document to the Postscript/PDF file.
- Parameters
 - 
  
fname File name.  
Definition at line 54 of file kstarsdocument.cpp.
Member Data Documentation
      
  | 
  protected | 
Definition at line 73 of file kstarsdocument.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference