diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-07 13:06:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-07 13:06:00 +0900 |
commit | 628b0bb74c3fc327efff8add9c73ada04b1cbea2 (patch) | |
tree | 16062922d35b5e0153b9f866e440f36603bd4f55 /doc/man/man3/tqmacmime.3qt | |
parent | 7552c6d73043b1040139033f6864db48ae5446cf (diff) | |
download | tqt3-628b0bb74c3fc327efff8add9c73ada04b1cbea2.tar.gz tqt3-628b0bb74c3fc327efff8add9c73ada04b1cbea2.zip |
Rename drag-n-drop nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqmacmime.3qt')
-rw-r--r-- | doc/man/man3/tqmacmime.3qt | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/doc/man/man3/tqmacmime.3qt b/doc/man/man3/tqmacmime.3qt index fd0740e21..3ba9ef959 100644 --- a/doc/man/man3/tqmacmime.3qt +++ b/doc/man/man3/tqmacmime.3qt @@ -1,5 +1,5 @@ '\" t -.TH QMacMime 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQMacMime 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,17 +7,17 @@ .ad l .nh .SH NAME -QMacMime \- Maps open-standard MIME to Mac flavors +TQMacMime \- Maps open-standard MIME to Mac flavors .SH SYNOPSIS -\fC#include <ntqmime.h>\fR +\fC#include <tqmime.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQMacMime\fR ( char t )" +.BI "\fBTQMacMime\fR ( char t )" .br .ti -1c -.BI "virtual \fB~QMacMime\fR ()" +.BI "virtual \fB~TQMacMime\fR ()" .br .ti -1c .BI "virtual const char * \fBconvertorName\fR () = 0" @@ -47,21 +47,21 @@ QMacMime \- Maps open-standard MIME to Mac flavors .SS "Static Public Members" .in +1c .ti -1c -.BI "TQPtrList<QMacMime> \fBall\fR ( QMacMimeType t )" +.BI "TQPtrList<TQMacMime> \fBall\fR ( TQMacMimeType t )" .br .ti -1c -.BI "QMacMime * \fBconvertor\fR ( QMacMimeType t, const char * mime, int flav )" +.BI "TQMacMime * \fBconvertor\fR ( TQMacMimeType t, const char * mime, int flav )" .br .ti -1c -.BI "const char * \fBflavorToMime\fR ( QMacMimeType t, int flav )" +.BI "const char * \fBflavorToMime\fR ( TQMacMimeType t, int flav )" .br .in -1c .SH DESCRIPTION -The QMacMime class maps open-standard MIME to Mac flavors. +The TQMacMime class maps open-standard MIME to Mac flavors. .PP Qt's drag-and-drop and clipboard facilities use the MIME standard. On X11, this maps trivially to the Xdnd protocol, but on Mac although some applications use MIME types to describe clipboard formats, others use arbitrary non-standardized naming conventions, or unnamed built-in Mac formats. .PP -By instantiating subclasses of QMacMime that provide conversions between Mac flavors and MIME formats, you can convert proprietary clipboard formats to MIME formats. +By instantiating subclasses of TQMacMime that provide conversions between Mac flavors and MIME formats, you can convert proprietary clipboard formats to MIME formats. .PP Qt has predefined support for the following Mac flavors: .TP @@ -71,61 +71,61 @@ kScrapFlavorTypeText - converted to "text/plain;charset=system" or "text/plain" .TP kScrapFlavorTypePicture - converted to "image/format", where format is a TQt image format, and supported by TQImageDrag. .TP -kDragFlavorTypeHFS - converted to "text/uri-list", and supported by QUriDrag. +kDragFlavorTypeHFS - converted to "text/uri-list", and supported by TQUriDrag. .PP You can check if a MIME type is convertible using canConvert() and can perform conversions with convertToMime() and convertFromMime(). .PP See also Drag And Drop Classes, Input/Output and Networking, and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QMacMime::QMacMime ( char t )" +.SH "TQMacMime::TQMacMime ( char t )" Constructs a new conversion object of type \fIt\fR, adding it to the globally accessed list of available convertors. -.SH "QMacMime::~QMacMime ()\fC [virtual]\fR" +.SH "TQMacMime::~TQMacMime ()\fC [virtual]\fR" Destroys a conversion object, removing it from the global list of available convertors. -.SH "TQPtrList<QMacMime> QMacMime::all ( QMacMimeType t )\fC [static]\fR" -Returns a list of all currently defined QMacMime objects of type \fIt\fR. -.SH "bool QMacMime::canConvert ( const char * mime, int flav )\fC [pure virtual]\fR" +.SH "TQPtrList<TQMacMime> TQMacMime::all ( TQMacMimeType t )\fC [static]\fR" +Returns a list of all currently defined TQMacMime objects of type \fIt\fR. +.SH "bool TQMacMime::canConvert ( const char * mime, int flav )\fC [pure virtual]\fR" Returns TRUE if the convertor can convert (both ways) between \fImime\fR and \fIflav\fR; otherwise returns FALSE. .PP All subclasses must reimplement this pure virtual function. -.SH "TQValueList<QByteArray> QMacMime::convertFromMime ( QByteArray data, const char * mime, int flav )\fC [pure virtual]\fR" +.SH "TQValueList<QByteArray> TQMacMime::convertFromMime ( QByteArray data, const char * mime, int flav )\fC [pure virtual]\fR" Returns \fIdata\fR converted from MIME type \fImime\fR to Mac flavor \fIflav\fR. .PP Note that Mac flavors must all be self-terminating. The return value may contain trailing data. .PP All subclasses must reimplement this pure virtual function. -.SH "QByteArray QMacMime::convertToMime ( TQValueList<QByteArray> data, const char * mime, int flav )\fC [pure virtual]\fR" +.SH "QByteArray TQMacMime::convertToMime ( TQValueList<QByteArray> data, const char * mime, int flav )\fC [pure virtual]\fR" Returns \fIdata\fR converted from Mac flavor \fIflav\fR to MIME type \fImime\fR. .PP Note that Mac flavors must all be self-terminating. The input \fIdata\fR may contain trailing data. .PP All subclasses must reimplement this pure virtual function. -.SH "QMacMime * QMacMime::convertor ( QMacMimeType t, const char * mime, int flav )\fC [static]\fR" -Returns the most-recently created QMacMime of type \fIt\fR that can convert between the \fImime\fR and \fIflav\fR formats. Returns 0 if no such convertor exists. -.SH "const char * QMacMime::convertorName ()\fC [pure virtual]\fR" +.SH "TQMacMime * TQMacMime::convertor ( TQMacMimeType t, const char * mime, int flav )\fC [static]\fR" +Returns the most-recently created TQMacMime of type \fIt\fR that can convert between the \fImime\fR and \fIflav\fR formats. Returns 0 if no such convertor exists. +.SH "const char * TQMacMime::convertorName ()\fC [pure virtual]\fR" Returns a name for the convertor. .PP All subclasses must reimplement this pure virtual function. -.SH "int QMacMime::countFlavors ()\fC [pure virtual]\fR" +.SH "int TQMacMime::countFlavors ()\fC [pure virtual]\fR" Returns the number of Mac flavors supported by this convertor. .PP All subclasses must reimplement this pure virtual function. -.SH "int QMacMime::flavor ( int index )\fC [pure virtual]\fR" +.SH "int TQMacMime::flavor ( int index )\fC [pure virtual]\fR" Returns the Mac flavor supported by this convertor that is ordinarily at position \fIindex\fR. This means that flavor(0) returns the first Mac flavor supported, and flavor(countFlavors()-1) returns the last. If \fIindex\fR is out of range the return value is undefined. .PP All subclasses must reimplement this pure virtual function. -.SH "int QMacMime::flavorFor ( const char * mime )\fC [pure virtual]\fR" +.SH "int TQMacMime::flavorFor ( const char * mime )\fC [pure virtual]\fR" Returns the Mac flavor used for MIME type \fImime\fR, or 0 if this convertor does not support \fImime\fR. .PP All subclasses must reimplement this pure virtual function. -.SH "const char * QMacMime::flavorToMime ( QMacMimeType t, int flav )\fC [static]\fR" +.SH "const char * TQMacMime::flavorToMime ( TQMacMimeType t, int flav )\fC [static]\fR" Returns a MIME type of type \fIt\fR for \fIflav\fR, or 0 if none exists. -.SH "const char * QMacMime::mimeFor ( int flav )\fC [pure virtual]\fR" +.SH "const char * TQMacMime::mimeFor ( int flav )\fC [pure virtual]\fR" Returns the MIME type used for Mac flavor \fIflav\fR, or 0 if this convertor does not support \fIflav\fR. .PP All subclasses must reimplement this pure virtual function. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qmacmime.html +.BR http://doc.trolltech.com/tqmacmime.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |