1 /***************************************************************************
2 A KTextEditor (Kate Part) plugin for speaking text.
5 (C) 2003-2004 by Olaf Schmidt <ojschmidt@kde.org>
6 (C) 2005 by Gary Cramblitt <garycramblitt@comcast.net>
8 Original Author: Olaf Schmidt <ojschmidt@kde.org>
9 ***************************************************************************/
11 /***************************************************************************
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
18 ***************************************************************************/
23 #include <ktexteditor/plugin.h>
24 #include <ktexteditor/view.h>
25 #include <kxmlguiclient.h>
27 #include <QtCore/QObject>
29 class KateKttsdPlugin
: public KTextEditor::Plugin
, public KTextEditor::PluginViewInterface
34 explicit KateKttsdPlugin( QObject
*parent
= 0,
36 const QStringList
&args
= QStringList() );
37 virtual ~KateKttsdPlugin();
39 void addView (KTextEditor::View
*view
);
40 void removeView (KTextEditor::View
*view
);
43 QPtrList
<class KateKttsdPluginView
> m_views
;
46 class KateKttsdPluginView
: public QObject
, public KXMLGUIClient
51 explicit KateKttsdPluginView( KTextEditor::View
*view
, const char *name
=0 );
52 ~KateKttsdPluginView() {};
58 #endif // _KATEKTTSD_H_