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

KDEUI

  • kdeui
  • sonnet
configwidget.h
Go to the documentation of this file.
1/*
2 *
3 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301 USA
19 */
20#ifndef SONNET_CONFIGWIDGET_H
21#define SONNET_CONFIGWIDGET_H
22
23#include <QtGui/QWidget>
24#include <kdeui_export.h>
25
26class KConfig;
27
28namespace Sonnet
29{
31 class KDEUI_EXPORT ConfigWidget : public QWidget
32 {
33 Q_OBJECT
34 public:
35 ConfigWidget(KConfig *config, QWidget *parent);
36 ~ConfigWidget();
37
38 bool backgroundCheckingButtonShown() const;
39
48 void setLanguage( const QString &language );
49
56 QString language() const;
57
58 public Q_SLOTS:
59 void save();
60 void setBackgroundCheckingButtonShown( bool );
61 void slotDefault();
62 protected Q_SLOTS:
63 void slotChanged();
64
65 Q_SIGNALS:
70 void configChanged();
71
72 private:
73 void init(KConfig *config);
74 void setFromGui();
75 void setCorrectLanguage( const QStringList& langs ); // remove in KDE5, no implementation anymore
76
77 private:
78 class Private;
79 friend class Private;
80 Private* const d;
81 };
82}
83
84#endif
KConfig
QWidget
Sonnet::ConfigWidget
The sonnet ConfigWidget.
Definition: configwidget.h:32
Sonnet::ConfigWidget::configChanged
void configChanged()
Signal sends when config was changed.
kdeui_export.h
config
KSharedConfigPtr config()
Sonnet
dialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
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