cantor/src/lib
imageresult.cpp
Go to the documentation of this file.
60 return QString(" \\begin{center} \n \\includegraphics[width=12cm]{%1} \n \\end{center}").arg(d->url.fileName());
QByteArray toLower() const
bool save(const QString &fileName, const char *format, int quality) const
T value() const
QList< QByteArray > supportedImageFormats()
void setAttribute(const QString &name, const QString &value)
void saveAdditionalData(KZip *archive)
saves all the data, that can't be saved in xml in an extra file in the archive.
Definition: imageresult.cpp:105
Definition: imageresult.h:35
int type()
returns an unique number, representing the type of this result.
Definition: imageresult.cpp:76
QDomElement toXml(QDomDocument &doc)
returns a DomElement, containing the information of the result
Definition: imageresult.cpp:94
QDomElement createElement(const QString &tagName)
QString toLatex()
returns latex code, that represents this result e.g.
Definition: imageresult.cpp:58
ImageResult(const KUrl &url, const QString &alt=QString())
Definition: imageresult.cpp:42
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QVariant data()
returns data associated with this result (text/images/etc)
Definition: imageresult.cpp:63
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.