📄 qsqldriverplugin.3qt
字号:
'\" t.TH QSqlDriverPlugin 3qt "11 October 2001" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS. All rights reserved. See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQSqlDriverPlugin \- Abstract base for custom QSqlDriver plugins.PP\fC#include <qsqldriverplugin.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "\fBQSqlDriverPlugin\fR ()".br.ti -1c.BI "\fB~QSqlDriverPlugin\fR ()".br.ti -1c.BI "virtual QStringList \fBkeys\fR () const".br.ti -1c.BI "virtual QSqlDriver * \fBcreate\fR ( const QString & key )".br.in -1c.SH DESCRIPTIONThe QSqlDriverPlugin class provides an abstract base for custom QSqlDriver plugins..PPThe SQL driver plugin is a simple plugin interface that makes it easy to create your own SQL driver plugins that can be loaded dynamically by Qt..PPWriting a SQL 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. See the SQL plugins that comes with Qt for example implementations (in \fC$QTDIR/plugins/src/sqldrivers\fR). Read the plugins documentation for more information on plugins..PPSee also Plugins..SH MEMBER FUNCTION DOCUMENTATION.SH "QSqlDriverPlugin::QSqlDriverPlugin ()"Constructs a SQL driver plugin. This is invoked automatically by the Q_EXPORT_PLUGIN macro..SH "QSqlDriverPlugin::~QSqlDriverPlugin ()"Destroys the SQL driver plugin..PPYou never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used..SH "QSqlDriver * QSqlDriverPlugin::create ( const QString & key )\fC [virtual]\fR"Creates and returns a QSqlDriver object for the driver key \fIkey\fR. The driver key is usually the class name of the required driver..PPSee also keys()..SH "QStringList QSqlDriverPlugin::keys () const\fC [virtual]\fR"Returns the list of driver keys this plugin supports..PPThese keys are usually the class names of the custom drivers that are implemented in the plugin..PPSee also create()..SH "SEE ALSO".BR http://doc.trolltech.com/qsqldriverplugin.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com. See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports help us to help you. Thank you..PThe definitive Qt documentation is provided in HTML format; it islocated at $QTDIR/doc/html and can be read using Qt Assistant or witha web browser. This man page is provided as a convenience for thoseusers who prefer man pages, although this format is not officiallysupported by Trolltech. .PIf you find errors in this manual page, please report them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qsqldriverplugin.3qt) and the Qtversion (3.0.0).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -