Kstars
kstarsdocument.cpp
40 printer.setOutputFormat(fname.endsWith(QLatin1String(".pdf")) ? QPrinter::PdfFormat : QPrinter::NativeFormat);
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const const
bool writeOdt(const QString &fname)
Write contents of the document to Open Document Text file.
Definition: kstarsdocument.cpp:28
HighResolution
bool write(const QTextDocument *document)
void setOutputFileName(const QString &fileName)
void setOutputFormat(QPrinter::OutputFormat format)
PdfFormat
void writePsPdf(const QString &fname)
Write contents of the document to the Postscript/PDF file.
Definition: kstarsdocument.cpp:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:58:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:58:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.