1
/****************************************************************************
2
** - This file is part of the Artistic Comment KTextEditor-Plugin - **
3
** - Copyright 2009-2010 Jonathan Schmidt-Dominé <devel@the-user.org> - **
5
** - This program is free software; you can redistribute it and/or - **
6
** - modify it under the terms of the GNU Library General Public - **
7
** - License version 3, or (at your option) any later version, as - **
8
** - published by the Free Software Foundation. - **
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 - **
16
** - License along with the kdelibs library; see the file COPYING.LIB. - **
17
** - If not, write to the Free Software Foundation, Inc., 51 Franklin - **
18
** - Street, Fifth Floor, Boston, MA 02110-1301, USA. or see - **
19
** - <http://www.gnu.org/licenses/>. - **
20
***************************************************************************/
22
#ifndef ACOMMENTVIEW_H
23
#define ACOMMENTVIEW_H
26
#include <KXMLGUIClient>
32
#include "ui_styledialog.h"
34
class ACommentView : public QObject, public KXMLGUIClient
38
explicit ACommentView(KTextEditor::View *view = 0);
41
void insertAComment(QAction *action);
42
void disableOptions(int type);
43
void loadStyle(QString name);
46
KTextEditor::View *m_view;