KDEUI
configdialog.h
Go to the documentation of this file.
00001 /* 00002 * configdialog.h 00003 * 00004 * Copyright (C) 2004 Zack Rusin <zack@kde.org> 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library 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 GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00019 * 02110-1301 USA 00020 */ 00021 #ifndef SONNET_CONFIGDIALOG_H 00022 #define SONNET_CONFIGDIALOG_H 00023 00024 #include <kdialog.h> 00025 #include <kconfig.h> 00026 00027 namespace Sonnet 00028 { 00030 class KDEUI_EXPORT ConfigDialog : public KDialog 00031 { 00032 Q_OBJECT 00033 public: 00034 ConfigDialog(KConfig *config, 00035 QWidget *parent); 00036 ~ConfigDialog(); 00037 00046 void setLanguage( const QString &language ); 00051 QString language() const; 00052 00053 protected Q_SLOTS: 00054 virtual void slotOk(); 00055 virtual void slotApply(); 00056 00057 Q_SIGNALS: 00058 00066 void languageChanged( const QString &language ); 00067 00072 void configChanged(); 00073 00074 private: 00075 void init(KConfig *config); 00076 private: 00077 class Private; 00078 friend class Private; 00079 Private *const d; 00080 Q_DISABLE_COPY(ConfigDialog) 00081 Q_PRIVATE_SLOT(d, void slotConfigChanged()) 00082 }; 00083 } 00084 00085 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 17:56:37 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 17:56:37 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.