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

kanagram

  • sources
  • kde-4.14
  • kdeedu
  • kanagram
  • src
mainsettings.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Joshua Keel *
3  * joshuakeel@gmail.com *
4  * *
5  * *
6  * This program is free software; you can redistribute it and/or modify *
7  * it under the terms of the GNU General Public License as published by *
8  * the Free Software Foundation; either version 2 of the License, or *
9  * (at your option) any later version. *
10  * *
11  * This program 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 *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with this program; if not, write to the *
18  * Free Software Foundation, Inc., *
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
20  ***************************************************************************/
21 
22 
23 #ifndef MAINSETTINGS_H
24 #define MAINSETTINGS_H
25 
26 #include "ui_mainsettingswidget.h"
27 
28 class KConfigDialog;
29 
33 class MainSettings : public QWidget, Ui::MainSettingsWidget
34 {
35 Q_OBJECT
36  public:
38  explicit MainSettings(QWidget *parent);
39 
41  ~MainSettings();
42 
43  public slots:
44 
46  void slotUpdateLanguage();
47 
49  void slotSetDirty();
50 
52  void slotToggleAdvancedSettings();
53 
54  signals:
55 
57  void settingsChanged();
58 
59  private:
60 
65  void populateLanguageBox();
66 
68  KConfigDialog *m_parent;
69 };
70 
71 #endif
72 
QWidget
MainSettings::slotSetDirty
void slotSetDirty()
enable the apply button on the config dialog because something has been changed
Definition: mainsettings.cpp:56
MainSettings::~MainSettings
~MainSettings()
default destructor
Definition: mainsettings.cpp:52
MainSettings::MainSettings
MainSettings(QWidget *parent)
default constructor
Definition: mainsettings.cpp:33
MainSettings::settingsChanged
void settingsChanged()
signifies slotUpdateLanguage has completed, so language setting has been saved
MainSettings::slotUpdateLanguage
void slotUpdateLanguage()
save the language setting that has been chosen
Definition: mainsettings.cpp:93
MainSettings
user preferences page of the config dialog allows choosing a hint hide time, the language, and the sound settings
Definition: mainsettings.h:33
QObject::parent
QObject * parent() const
MainSettings::slotToggleAdvancedSettings
void slotToggleAdvancedSettings()
toggle advanced settings
Definition: mainsettings.cpp:61
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kanagram

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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