SVN_SILENT made messages (.desktop file)
[kdeaccessibility.git] / kttsd / app-plugins / kate / katekttsd.h
blob33b617aa644cff0537c1ea4be5e2ec5635252bac
1 /***************************************************************************
2 A KTextEditor (Kate Part) plugin for speaking text.
4 Copyright:
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 /***************************************************************************
12 * *
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. *
17 * *
18 ***************************************************************************/
20 #ifndef _KATEKTTSD_H_
21 #define _KATEKTTSD_H_
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
31 Q_OBJECT
33 public:
34 explicit KateKttsdPlugin( QObject *parent = 0,
35 const char* name = 0,
36 const QStringList &args = QStringList() );
37 virtual ~KateKttsdPlugin();
39 void addView (KTextEditor::View *view);
40 void removeView (KTextEditor::View *view);
42 private:
43 QPtrList<class KateKttsdPluginView> m_views;
46 class KateKttsdPluginView : public QObject, public KXMLGUIClient
48 Q_OBJECT
50 public:
51 explicit KateKttsdPluginView( KTextEditor::View *view, const char *name=0 );
52 ~KateKttsdPluginView() {};
54 public slots:
55 void slotReadOut();
58 #endif // _KATEKTTSD_H_