QKbdDriverPlugin(3qt)

πŸ“¦ version 3.3.8b, in fedora 43, fedora 44

πŸ’– QKbdDriverPlugin β€” the Qt/Embedded keyboard driver plugin glow-up πŸ’–

okay bestie, welcome to the QKbdDriverPlugin(3qt) page, straight out of the Qt 3qt manual section. this is the abstract base situation for Qt/Embedded keyboard driver plugins, and honestly? it's giving blueprint energy. let's get into it ✨


🌸 NAME 🌸

QKbdDriverPlugin β€” the abstract base for Qt/Embedded keyboard driver plugins. yes, it's the parent class. it's the momager. everything else is a subclass trying to make it proud πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <qkbddriverplugin_qws.h>

✨ Public Members ✨

QKbdDriverPlugin ()
~QKbdDriverPlugin ()
virtual QStringList keys () const = 0
virtual QWSKeyboardHandler * create ( const QString & driver, const
    QString & device ) = 0

two of those are pure virtual, meaning they're marked = 0, meaning you literally cannot skip them. the compiler will simply not let you be lazy. periodt πŸ’€


πŸ¦‹ DESCRIPTION πŸ¦‹

so the QKbdDriverPlugin class provides an abstract base for Qt/Embedded keyboard driver plugins. it's the whole foundation, the vibe-setter, the main character 🫢

the keyboard driver plugin is a simple plugin interface that makes it easy to create custom keyboard drivers. simple! friendly! lowkey iconic!

writing a keyboard driver plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and exporting the class with the Q_EXPORT_PLUGIN macro. that's the recipe, no cap β€” three steps and you're slaying 🧚

see the Plugins documentation for details, because there are details and you should read them.

πŸ’œ this class is only available in Qt/Embedded. if you're not in Qt/Embedded, this is not your moment, bestie.

See also: Plugins.


πŸ‘‘ MEMBER FUNCTION DOCUMENTATION πŸ‘‘

QKbdDriverPlugin::QKbdDriverPlugin ()

Constructs a keyboard driver plugin. and like… you don't call this yourself, okay? this is invoked automatically by the Q_EXPORT_PLUGIN macro. the macro handles it. let it cook πŸ™ˆ

QKbdDriverPlugin::~QKbdDriverPlugin ()

Destroys the keyboard driver plugin. bye bestie, it was real 🌈

you never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used. so like, don't try to manage it yourself, that's not the assignment πŸ’…

QWSKeyboardHandler * QKbdDriverPlugin::create ( const QString & driver, const QString & device ) [pure virtual]

Creates a driver matching the type specified by driver and device.

See also: keys().

QStringList QKbdDriverPlugin::keys () const [pure virtual]

Returns the list of keyboard drivers this plugin supports. it's the plugin's little resumé, fr fr ✨

See also: create().


🌟 SEE ALSO 🌟

go read them, they're right there πŸŽ€


Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.

(legally required, spiritually iconic πŸ‘‘)


🌸 AUTHOR 🌸

Generated automatically from the source code.

no human wrote this one, it just materialized. honestly? relatable πŸ¦‹


😭 BUGS 😭

If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you.

like genuinely, thank you β€” good bug reports are a love language πŸ’œ

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

πŸ’€ so if you're a man-page purist, this is the "unofficial remix" β€” the HTML is the canon version. keep that in mind.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qkbddriverplugin.3qt) and the Qt version (3.3.8).


and that's the whole page, bestie!! πŸ’–βœ¨πŸŽ€ written by Trolltech AS, dated 2 February 2007, and it's the QKbdDriverPlugin(3qt) man page, so now you know everything this page has to say. go forth and write a keyboard driver plugin, you absolute queen πŸ‘‘πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from