LibKmahjongg
8#ifndef KMAHJONGGTILESET_H
9#define KMAHJONGGTILESET_H
12#include <QtClassHelperMacros>
19#include <libkmahjongg_export.h>
21class KMahjonggTilesetPrivate;
28class LIBKMAHJONGG_EXPORT KMahjonggTileset
35 bool loadTileset(
const QString &tilesetPath);
37 bool reloadTileset(
QSize newTilesize);
38 QSize preferredTileSize(
QSize boardsize,
int horizontalCells,
int verticalCells)
const;
48 QString authorEmailAddress()
const;
52 short levelOffsetX()
const;
53 short levelOffsetY()
const;
55 short qHeight()
const;
58 QPixmap selectedTile(
int num)
const;
59 QPixmap unselectedTile(
int num)
const;
60 QPixmap tileface(
int num)
const;
63 friend class KMahjonggTilesetPrivate;
64 std::unique_ptr<KMahjonggTilesetPrivate>
const d_ptr;
65 Q_DECLARE_PRIVATE(KMahjonggTileset)
66 Q_DISABLE_COPY(KMahjonggTileset)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:41 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.