LibKmahjongg
kmahjonggbackground.cpp
77 QString bgPath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kmahjongglib/backgrounds/") + idx);
104 d->authorproperties.insert(QStringLiteral("Name"), group.readEntry("Name")); // Returns translated data
110 d->authorproperties.insert(QStringLiteral("Plain"), d->isPlain ? QStringLiteral("1") : QStringLiteral("0"));
114 //Format is increased when we have incompatible changes, meaning that older clients are not able to use the remaining information safely
128 d->graphicspath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kmahjongglib/backgrounds/") + graphName);
QString readEntry(const char *key, const char *aDefault=nullptr) const
QPixmap fromImage(const QImage &image, Qt::ImageConversionFlags flags)
Format_ARGB32_Premultiplied
ReadOnly
QString locate(QStandardPaths::StandardLocation type, const QString &fileName, QStandardPaths::LocateOptions options)
bool isEmpty() const const
KConfigGroup group(const char *group)
QPixmap * find(const QString &key)
GenericDataLocation
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
SimpleConfig
bool insert(const QString &key, const QPixmap &pixmap)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:09:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:09:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.