⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qmimesource.3qt

📁 Trolltech公司发布的基于C++图形开发环境
💻 3QT
字号:
'\" t.TH QMimeSource 3qt "24 January 2005" "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 NAMEQMimeSource \- An abstract piece of formatted data.br.PP\fC#include <qmime.h>\fR.PPInherited by QDragObject and QDropEvent..PP.SS "Public Members".in +1c.ti -1c.BI "virtual \fB~QMimeSource\fR () ".br.ti -1c.BI "virtual const char* \fBformat\fR ( int " "n" " = 0 ) const".br.ti -1c.BI "virtual bool \fBprovides\fR ( const char * ) const".br.ti -1c.BI "virtual QByteArray \fBencodedData\fR ( const char * ) const".br.in -1c.SH DESCRIPTIONAn abstract piece of formatted data..PPDrag-and-drop and clipboard use this abstraction..PPSee also IANA list of MIME media types.SH MEMBER FUNCTION DOCUMENTATION.SH "QMimeSource::~QMimeSource () \fC[virtual]\fR"Provided to ensure subclasses destruct correctly..SH "QByteArray QMimeSource::encodedData ( const char * ) const \fC[virtual]\fR"Returns the encoded payload of this object, in the specified MIME format..PPSubclasses must reimplement this function..PPReimplemented in QDropEvent..SH "const char * QMimeSource::format ( int i = 0 ) const \fC[virtual]\fR"Returns the \fIith\fR format, or NULL..PPReimplemented in QImageDrag, QTextDrag, QStoredDrag and QDropEvent..SH "bool QMimeSource::provides ( const char * mimeType ) const \fC[virtual]\fR"Returns TRUE if the object can provide the data in format \fImimeType.\fR The default implementation iterates over format()..PPNote that it is often better to use the more-abstract canDecode() functions such as QTextDrag::canDecode() and QImageDrag::canDecode()..PPReimplemented in QDropEvent..SH "SEE ALSO".BR http://doc.trolltech.com/qmimesource.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 make our job much simpler. Thank you..PIn case of content or formattting problems with this manual page, pleasereport them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qmimesource.3qt) and the Qtversion (2.3.10).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -