2 Copyright (c) 2003 Thiago Macieira <thiago.macieira@kdemail.net>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License (LGPL) as published by the Free Software Foundation;
7 either version 2 of the License, or (at your option) any later
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
21 #ifndef REMOTEENCODING_PLUGIN_H
22 #define REMOTEENCODING_PLUGIN_H
24 #include <QtCore/QStringList>
26 #include <klibloader.h>
27 #include <kparts/plugin.h>
30 namespace KParts
{ class ReadOnlyPart
; }
32 class KRemoteEncodingPlugin
: public KParts::Plugin
36 KRemoteEncodingPlugin(QObject
* parent
, const QStringList
&);
37 ~KRemoteEncodingPlugin();
40 void slotAboutToOpenURL();
41 void slotAboutToShow();
42 void slotItemSelected(int);
47 virtual bool eventFilter(QObject
*obj
, QEvent
*ev
);
55 KParts::ReadOnlyPart
*m_part
;
57 QStringList m_encodingDescriptions
;