LibKmahjongg
kmahjonggtilesetselector.cpp
50 QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("kmahjongglib/tilesets"), QStandardPaths::LocateDirectory);
78 connect(tilesetList, &QListWidget::currentItemChanged, this, &KMahjonggTilesetSelector::tilesetChanged);
99 website = QLatin1String("<a href=\"") + website + QLatin1String("\">") + website + QLatin1String("</a>");
103 const QString licenseName = KAboutLicense::byKeyword(selTileset->license()).name(KAboutLicense::FullName);
111 // Let the tileset calculate its ideal size for the preview area, but reduce the margins a bit (pass oversized drawing area)
static KAboutLicense byKeyword(const QString &keyword)
QString name(KAboutLicense::NameFormat formatName=ShortName) const
KConfigGroup group(const QString &group)
QString readEntry(const char *key, const char *aDefault=nullptr) const
KConfig * config()
QString name(StandardAction id)
QStringList entryList(Filters filters, SortFlags sort) const const
iterator insert(const Key &key, const T &value)
T value(const Key &key) const const
void append(QList< T > &&value)
void reserve(qsizetype size)
qsizetype size() const const
void currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
int height() const const
int width() const const
LocateDirectory
GenericDataLocation
QStringList locateAll(StandardLocation type, const QString &fileName, LocateOptions options)
bool isEmpty() const const
transparent
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.