kanagram
mainsettings.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2005 by Joshua Keel * 00003 * joshuakeel@gmail.com * 00004 * * 00005 * * 00006 * This program is free software; you can redistribute it and/or modify * 00007 * it under the terms of the GNU General Public License as published by * 00008 * the Free Software Foundation; either version 2 of the License, or * 00009 * (at your option) any later version. * 00010 * * 00011 * This program is distributed in the hope that it will be useful, * 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00014 * GNU General Public License for more details. * 00015 * * 00016 * You should have received a copy of the GNU General Public License * 00017 * along with this program; if not, write to the * 00018 * Free Software Foundation, Inc., * 00019 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * 00020 ***************************************************************************/ 00021 00022 00023 #ifndef MAINSETTINGS_H 00024 #define MAINSETTINGS_H 00025 00026 #include "ui_mainsettingswidget.h" 00027 00028 class KConfigDialog; 00029 00033 class MainSettings : public QWidget, Ui::MainSettingsWidget 00034 { 00035 Q_OBJECT 00036 public: 00038 explicit MainSettings(QWidget *parent); 00039 00041 ~MainSettings(); 00042 00043 public slots: 00044 00046 void slotUpdateLanguage(); 00047 00049 void slotSetDirty(); 00050 00051 signals: 00052 00054 void settingsChanged(); 00055 00056 private: 00057 00062 void populateLanguageBox(); 00063 00065 KConfigDialog *m_parent; 00066 }; 00067 00068 #endif 00069
KDE 4.2 API Reference