1 //******************************************************************************
2 //  Copyright (c) 2005-2013 by Jan Van hijfte
3 //
4 //  See the included file COPYING.TXT for details about the copyright.
5 //
6 //  This program is distributed in the hope that it will be useful,
7 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 //******************************************************************************
10 
11 
12 #include "qlineedit_hook_c.h"
13 
QLineEdit_hook_Create(QObjectH handle)14 QLineEdit_hookH QLineEdit_hook_Create(QObjectH handle)
15 {
16 	return (QLineEdit_hookH) new QLineEdit_hook((QObject*)handle);
17 }
18 
QLineEdit_hook_Destroy(QLineEdit_hookH handle)19 void QLineEdit_hook_Destroy(QLineEdit_hookH handle)
20 {
21 	delete (QLineEdit_hook *)handle;
22 }
23 
QLineEdit_hook_hook_textChanged(QLineEdit_hookH handle,QHookH hook)24 void QLineEdit_hook_hook_textChanged(QLineEdit_hookH handle, QHookH hook)
25 {
26 	((QLineEdit_hook *)handle)->hook_textChanged(hook);
27 }
28 
QLineEdit_hook_hook_textEdited(QLineEdit_hookH handle,QHookH hook)29 void QLineEdit_hook_hook_textEdited(QLineEdit_hookH handle, QHookH hook)
30 {
31 	((QLineEdit_hook *)handle)->hook_textEdited(hook);
32 }
33 
QLineEdit_hook_hook_cursorPositionChanged(QLineEdit_hookH handle,QHookH hook)34 void QLineEdit_hook_hook_cursorPositionChanged(QLineEdit_hookH handle, QHookH hook)
35 {
36 	((QLineEdit_hook *)handle)->hook_cursorPositionChanged(hook);
37 }
38 
QLineEdit_hook_hook_returnPressed(QLineEdit_hookH handle,QHookH hook)39 void QLineEdit_hook_hook_returnPressed(QLineEdit_hookH handle, QHookH hook)
40 {
41 	((QLineEdit_hook *)handle)->hook_returnPressed(hook);
42 }
43 
QLineEdit_hook_hook_editingFinished(QLineEdit_hookH handle,QHookH hook)44 void QLineEdit_hook_hook_editingFinished(QLineEdit_hookH handle, QHookH hook)
45 {
46 	((QLineEdit_hook *)handle)->hook_editingFinished(hook);
47 }
48 
QLineEdit_hook_hook_selectionChanged(QLineEdit_hookH handle,QHookH hook)49 void QLineEdit_hook_hook_selectionChanged(QLineEdit_hookH handle, QHookH hook)
50 {
51 	((QLineEdit_hook *)handle)->hook_selectionChanged(hook);
52 }
53 
54