libkmahjongg
kmahjonggbackgroundselector.cpp
Go to the documentation of this file.
26 KMahjonggBackgroundSelector::KMahjonggBackgroundSelector( QWidget* parent, KConfigSkeleton * aconfig )
51 QStringList bgsAvailable = KGlobal::dirs()->findAllResources("kmahjonggbackground", QLatin1String( "*.desktop"), KStandardDirs::Recursive);
73 connect(backgroundList, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)), this, SLOT(backgroundChanged()));
void setupUi(QWidget *widget)
bool end()
void fillRect(const QRectF &rectangle, const QBrush &brush)
const T & at(int i) const
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
int size() const
Definition: kmahjonggbackground.h:29
void fill(uint pixelValue)
void backgroundChanged()
Definition: kmahjonggbackgroundselector.cpp:76
QString authorProperty(const QString &key) const
Definition: kmahjonggbackground.cpp:206
bool load(const QString &file, short width, short height)
Definition: kmahjonggbackground.cpp:92
QRect viewport() const
void setupData(KConfigSkeleton *config)
Definition: kmahjonggbackgroundselector.cpp:38
KMahjonggBackgroundSelector(QWidget *parent, KConfigSkeleton *config)
Definition: kmahjonggbackgroundselector.cpp:26
iterator insert(const Key &key, const T &value)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QMap< QString, KMahjonggBackground * > backgroundMap
Definition: kmahjonggbackgroundselector.h:36
~KMahjonggBackgroundSelector()
Definition: kmahjonggbackgroundselector.cpp:33
const T value(const Key &key) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:58 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:18:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.