LibKmahjongg

kmahjonggconfigdialog.h
1 /*
2  SPDX-FileCopyrightText: 2006 Mauricio Piacentini <[email protected]>
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 // KF
14 #include <KConfigDialog>
15 #include <KConfigSkeleton>
16 
17 // LibKMahjongg
18 #include <libkmahjongg_export.h>
19 
20 class KMahjonggConfigDialogPrivate;
21 
22 /**
23  * @class KMahjonggConfigDialog kmahjonggconfigdialog.h <KMahjonggConfigDialog>
24  *
25  * An extended config dialog with convenience methods to add pages for managing tilesets & backgrounds
26  */
27 class LIBKMAHJONGG_EXPORT KMahjonggConfigDialog : public KConfigDialog
28 {
29 Q_OBJECT
30  public:
31  KMahjonggConfigDialog( QWidget *parent, const QString& name,
32  KConfigSkeleton *config);
33  ~KMahjonggConfigDialog() override;
34  void addTilesetPage();
35  void addBackgroundPage();
36 
37  protected Q_SLOTS:
38  void updateWidgetsDefault() override;
39 
40  private:
41  friend class KMahjonggConfigDialogPrivate;
42  std::unique_ptr<KMahjonggConfigDialogPrivate> const d;
43 
45 };
46 
47 #endif // KMAHJONGGCONFIGDIALOG_H
Q_SLOTSQ_SLOTS
virtual void updateWidgetsDefault()
Q_DISABLE_COPY(Class)
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

KDE's Doxygen guidelines are available online.