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

kanagram

  • sources
  • kde-4.12
  • kdeedu
  • kanagram
  • src
  • desktop
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 
51  signals:
52 
54  void settingsChanged();
55 
56  private:
57 
62  void populateLanguageBox();
63 
65  KConfigDialog *m_parent;
66 };
67 
68 #endif
69 
MainSettings::slotSetDirty
void slotSetDirty()
enable the apply button on the config dialog because something has been changed
Definition: mainsettings.cpp:56
QWidget
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:81
MainSettings
user preferences page of the config dialog allows choosing a hint hide time, the language, and the sound settings
Definition: mainsettings.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:35 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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