QCodeEdit
2.2
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
lib
snippets
qsnippetbinding.h
Go to the documentation of this file.
1
/****************************************************************************
2
**
3
** Copyright (C) 2006-2009 fullmetalcoder <fullmetalcoder@hotmail.fr>
4
**
5
** This file is part of the Edyuk project <http://edyuk.org>
6
**
7
** This file may be used under the terms of the GNU General Public License
8
** version 3 as published by the Free Software Foundation and appearing in the
9
** file GPL.txt included in the packaging of this file.
10
**
11
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13
**
14
****************************************************************************/
15
16
#ifndef _QSNIPPET_BINDING_H_
17
#define _QSNIPPET_BINDING_H_
18
19
#include "
qce-config.h
"
20
26
#include "qeditorinputbinding.h"
27
28
class
QSnippetManager
;
29
30
class
QCE_EXPORT
QSnippetBinding
:
public
QEditorInputBinding
31
{
32
public
:
33
QSnippetBinding
(
QSnippetManager
*manager);
34
35
virtual
QString id()
const
;
36
virtual
QString name()
const
;
37
38
virtual
bool
keyPressEvent(QKeyEvent *event,
QEditor
*editor);
39
40
private
:
41
QSnippetManager
*m_manager;
42
};
43
44
#endif
Generated by
1.8.1.1