2
// Copyright 2007 Jim Bublitz <jbublitz@nwinternet.com>
3
// Earlier copyrights 1998 - 2006 Jim Bublitz also apply
7
// PyKDE4 module kate version KDE 3.92.0
10
// This file is part of PyKDE4.
12
// PyKDE4 is free software; you can redistribute it and/or modify
13
// it under the terms of the GNU Lesser General Public License as
14
// published by the Free Software Foundation; either version 2.1 of
15
// the License, or (at your option) any later version.
17
// PyKDE4 is distributed in the hope that it will be useful,
18
// but WITHOUT ANY WARRANTY; without even the implied warranty of
19
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
// GNU General Public License for more details.
22
// You should have received a copy of the GNU General Public License
23
// along with this program. If not, see <http://www.gnu.org/licenses/>.
26
#include <pluginconfigpageinterface.h>
32
class PluginConfigPage : QWidget
35
#include <pluginconfigpageinterface.h>
40
PluginConfigPage (QWidget* = 0, const char* = 0);
43
virtual void apply () = 0;
44
virtual void reset () = 0;
45
virtual void defaults () = 0;
50
}; // class PluginConfigPage
53
class PluginConfigPageInterface
56
#include <pluginconfigpageinterface.h>
61
PluginConfigPageInterface ();
62
uint pluginConfigPageInterfaceNumber () const;
65
virtual uint configPages () const = 0;
66
virtual Kate::PluginConfigPage* configPage (uint = 0, QWidget* = 0, const char* = 0) = 0;
67
virtual QString configPageName (uint = 0) const = 0;
68
virtual QString configPageFullName (uint = 0) const = 0;
69
virtual KIcon configPageIcon (uint = 0) const = 0;
71
}; // class PluginConfigPageInterface
73
Kate::PluginConfigPageInterface* pluginConfigPageInterface (Kate::Plugin*);