kate
kateconfigplugindialogpage.h
Go to the documentation of this file.00001 /* This file is part of the KDE project 00002 Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org> 00003 Copyright (C) 2002 Joseph Wenninger <jowenn@kde.org> 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 __KATE_CONFIGPLUGINDIALOGPAGE_H__ 00021 #define __KATE_CONFIGPLUGINDIALOGPAGE_H__ 00022 00023 #include "katemain.h" 00024 #include "katepluginmanager.h" 00025 00026 #include <klistview.h> 00027 00028 #include <qvbox.h> 00029 00030 class KatePluginListItem; 00031 00032 class KatePluginListView : public KListView 00033 { 00034 Q_OBJECT 00035 00036 friend class KatePluginListItem; 00037 00038 public: 00039 KatePluginListView (QWidget *parent = 0, const char *name = 0); 00040 00041 signals: 00042 void stateChange(KatePluginListItem *, bool); 00043 00044 private: 00045 void stateChanged(KatePluginListItem *, bool); 00046 }; 00047 00048 class KateConfigPluginPage: public QVBox 00049 { 00050 Q_OBJECT 00051 00052 public: 00053 KateConfigPluginPage(QWidget *parent, class KateConfigDialog *dialog); 00054 ~KateConfigPluginPage(){;}; 00055 00056 private: 00057 class KateConfigDialog *myDialog; 00058 00059 signals: 00060 void changed(); 00061 00062 private slots: 00063 void stateChange(KatePluginListItem *, bool); 00064 00065 void loadPlugin (KatePluginListItem *); 00066 void unloadPlugin (KatePluginListItem *); 00067 }; 00068 00069 #endif