Search for usage in LXR

#include <kstarsdocument.h>

Inheritance diagram for KStarsDocument:

Public Member Functions

 KStarsDocument ()
void clearContent ()
void print (QPrinter *printer)
bool writeOdt (const QString &fname)
void writePsPdf (const QString &fname)

Protected Attributes

std::unique_ptr< QTextDocumentm_Document

Detailed Description

Base class for KStars documents.

KStarsDocument is a base class for all KStars documents: finder charts, logging forms etc.

Rafał Kułaga

Definition at line 25 of file kstarsdocument.h.

Constructor & Destructor Documentation

◆ KStarsDocument()

KStarsDocument::KStarsDocument ( )


Definition at line 13 of file kstarsdocument.cpp.

Member Function Documentation

◆ clearContent()

void KStarsDocument::clearContent ( )

Clears contents of the document.

Definition at line 18 of file kstarsdocument.cpp.

◆ print()

void KStarsDocument::print ( QPrinter * printer)

Print contents of the document.

printerPrinter on which document will be printed.

Definition at line 23 of file kstarsdocument.cpp.

◆ writeOdt()

bool KStarsDocument::writeOdt ( const QString & fname)

Write contents of the document to Open Document Text file.

fnameFile name.
Returns true if write is successful.

Definition at line 28 of file kstarsdocument.cpp.

◆ writePsPdf()

void KStarsDocument::writePsPdf ( const QString & fname)

Write contents of the document to the Postscript/PDF file.

fnameFile name.

Definition at line 35 of file kstarsdocument.cpp.

Member Data Documentation

◆ m_Document

std::unique_ptr<QTextDocument> KStarsDocument::m_Document

Definition at line 54 of file kstarsdocument.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.