1QKbdDriverPlugin(3qt) QKbdDriverPlugin(3qt)
2
3
4
6 QKbdDriverPlugin - Abstract base for Qt/Embedded keyboard driver
7 plugins
8
10 #include <qkbddriverplugin_qws.h>
11
12 Public Members
13 QKbdDriverPlugin ()
14 ~QKbdDriverPlugin ()
15 virtual QStringList keys () const = 0
16 virtual QWSKeyboardHandler * create ( const QString & driver, const
17 QString & device ) = 0
18
20 The QKbdDriverPlugin class provides an abstract base for Qt/Embedded
21 keyboard driver plugins.
22
23 The keyboard driver plugin is a simple plugin interface that makes it
24 easy to create custom keyboard drivers.
25
26 Writing a keyboard driver plugin is achieved by subclassing this base
27 class, reimplementing the pure virtual functions keys() and create(),
28 and exporting the class with the Q_EXPORT_PLUGIN macro. See the Plugins
29 documentation for details.
30
31 This class is only available in Qt/Embedded.
32
33 See also Plugins.
34
37 Constructs a keyboard driver plugin. This is invoked automatically by
38 the Q_EXPORT_PLUGIN macro.
39
41 Destroys the keyboard driver plugin.
42
43 You never have to call this explicitly. Qt destroys a plugin
44 automatically when it is no longer used.
45
47 QString & device ) [pure virtual]
48 Creates a driver matching the type specified by driver and device.
49
50 See also keys().
51
53 Returns the list of keyboard drivers this plugin supports.
54
55 See also create().
56
57
59 http://doc.trolltech.com/qkbddriverplugin.html
60 http://www.trolltech.com/faq/tech.html
61
63 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
64 license file included in the distribution for a complete license
65 statement.
66
68 Generated automatically from the source code.
69
71 If you find a bug in Qt, please report it as described in
72 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
73 help you. Thank you.
74
75 The definitive Qt documentation is provided in HTML format; it is
76 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
77 web browser. This man page is provided as a convenience for those users
78 who prefer man pages, although this format is not officially supported
79 by Trolltech.
80
81 If you find errors in this manual page, please report them to qt-
82 bugs@trolltech.com. Please include the name of the manual page
83 (qkbddriverplugin.3qt) and the Qt version (3.3.8).
84
85
86
87Trolltech AS 2 February 2007 QKbdDriverPlugin(3qt)