LibKmahjongg

kmahjonggconfigdialog.h
1/*
2 SPDX-FileCopyrightText: 2006 Mauricio Piacentini <mauricio@tabuleiro.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#ifndef KMAHJONGGCONFIGDIALOG_H
8#define KMAHJONGGCONFIGDIALOG_H
9
10// Std
11#include <memory>
12
13// Qt
14#include <QtClassHelperMacros> // Q_DECLARE_PRIVATE
15
16// KF
17#include <KConfigDialog>
18#include <KConfigSkeleton>
19
20// LibKMahjongg
21#include <libkmahjongg_export.h>
22
23class KMahjonggConfigDialogPrivate;
24
25/**
26 * @class KMahjonggConfigDialog kmahjonggconfigdialog.h <KMahjonggConfigDialog>
27 *
28 * An extended config dialog with convenience methods to add pages for managing tilesets & backgrounds
29 */
30class LIBKMAHJONGG_EXPORT KMahjonggConfigDialog : public KConfigDialog
31{
32 Q_OBJECT
33
34public:
35 KMahjonggConfigDialog(QWidget *parent, const QString &name, KConfigSkeleton *config);
36 ~KMahjonggConfigDialog() override;
37
38 void addTilesetPage();
39 void addBackgroundPage();
40
41protected Q_SLOTS:
42 void updateWidgetsDefault() override;
43
44private:
45 friend class KMahjonggConfigDialogPrivate;
46 std::unique_ptr<KMahjonggConfigDialogPrivate> const d_ptr;
47 Q_DECLARE_PRIVATE(KMahjonggConfigDialog)
48 Q_DISABLE_COPY(KMahjonggConfigDialog)
49};
50
51#endif // KMAHJONGGCONFIGDIALOG_H
virtual void updateWidgetsDefault()
An extended config dialog with convenience methods to add pages for managing tilesets & backgrounds.
Q_SLOTSQ_SLOTS
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

KDE's Doxygen guidelines are available online.