• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Member Functions | Protected Attributes | List of all members
KStarsDocument Class Reference

#include <kstarsdocument.h>

Inheritance diagram for KStarsDocument:
Inheritance graph
[legend]

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.

Author
Rafał Kułaga

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
printerPrinter 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
fnameFile 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
fnameFile name.

Definition at line 54 of file kstarsdocument.cpp.

Member Data Documentation

QTextDocument* KStarsDocument::m_Document
protected

Definition at line 73 of file kstarsdocument.h.


The documentation for this class was generated from the following files:
  • kstarsdocument.h
  • kstarsdocument.cpp
This file is part of the KDE documentation.
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.

kstars

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal