KTextEditor
configpage.h
Go to the documentation of this file.00001 /* This file is part of the KDE project 00002 Copyright (C) 2001-2005 Christoph Cullmann <cullmann@kde.org> 00003 Copyright (C) 2005 Dominik Haumann (dhdev@gmx.de) (documentation) 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License version 2 as published by the Free Software Foundation. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef KDELIBS_KTEXTEDITOR_CONFIGPAGE_H 00021 #define KDELIBS_KTEXTEDITOR_CONFIGPAGE_H 00022 00023 #include <ktexteditor/ktexteditor_export.h> 00024 00025 #include <QtGui/QWidget> 00026 00027 namespace KTextEditor 00028 { 00029 00045 class KTEXTEDITOR_EXPORT ConfigPage : public QWidget 00046 { 00047 Q_OBJECT 00048 00049 public: 00056 ConfigPage ( QWidget *parent ); 00060 virtual ~ConfigPage (); 00061 00062 public Q_SLOTS: 00067 virtual void apply () = 0; 00068 00073 virtual void reset () = 0; 00074 00080 virtual void defaults () = 0; 00081 00082 Q_SIGNALS: 00086 void changed(); 00087 00088 private: 00089 class ConfigPagePrivate* const d; 00090 }; 00091 00092 } 00093 00094 #endif 00095 00096 // kate: space-indent on; indent-width 2; replace-tabs on;