• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • sources
  • kde-4.14
  • kdelibs
  • kdeui
  • sonnet
configdialog.h
Go to the documentation of this file.
1 /*
2  * configdialog.h
3  *
4  * Copyright (C) 2004 Zack Rusin <zack@kde.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  * 02110-1301 USA
20  */
21 #ifndef SONNET_CONFIGDIALOG_H
22 #define SONNET_CONFIGDIALOG_H
23 
24 #include <kdialog.h>
25 #include <kconfig.h>
26 
27 namespace Sonnet
28 {
30  class KDEUI_EXPORT ConfigDialog : public KDialog
31  {
32  Q_OBJECT
33  public:
34  ConfigDialog(KConfig *config,
35  QWidget *parent);
36  ~ConfigDialog();
37 
46  void setLanguage( const QString &language );
51  QString language() const;
52 
53  protected Q_SLOTS:
54  virtual void slotOk();
55  virtual void slotApply();
56 
57  Q_SIGNALS:
58 
66  void languageChanged( const QString &language );
67 
72  void configChanged();
73 
74  private:
75  void init(KConfig *config);
76  private:
77  class Private;
78  friend class Private;
79  Private *const d;
80  Q_DISABLE_COPY(ConfigDialog)
81  Q_PRIVATE_SLOT(d, void slotConfigChanged())
82  };
83 }
84 
85 #endif
kdialog.h
QWidget
kconfig.h
KDialog
A dialog base class with standard buttons and predefined layouts.
Definition: kdialog.h:128
config
KSharedConfigPtr config()
QString
KConfig
Sonnet::ConfigDialog
The sonnet ConfigDialog.
Definition: configdialog.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal