summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqwindowsmime.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqwindowsmime.3qt')
-rw-r--r--doc/man/man3/tqwindowsmime.3qt54
1 files changed, 27 insertions, 27 deletions
diff --git a/doc/man/man3/tqwindowsmime.3qt b/doc/man/man3/tqwindowsmime.3qt
index a8d6181a6..8c10624b3 100644
--- a/doc/man/man3/tqwindowsmime.3qt
+++ b/doc/man/man3/tqwindowsmime.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QWindowsMime 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQWindowsMime 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
-QWindowsMime \- Maps open-standard MIME to Window Clipboard formats
+TQWindowsMime \- Maps open-standard MIME to Window Clipboard formats
.SH SYNOPSIS
-\fC#include <ntqmime.h>\fR
+\fC#include <tqmime.h>\fR
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQWindowsMime\fR ()"
+.BI "\fBTQWindowsMime\fR ()"
.br
.ti -1c
-.BI "virtual \fB~QWindowsMime\fR ()"
+.BI "virtual \fB~TQWindowsMime\fR ()"
.br
.ti -1c
.BI "virtual const char * \fBconvertorName\fR () = 0"
@@ -50,21 +50,21 @@ QWindowsMime \- Maps open-standard MIME to Window Clipboard formats
.BI "void \fBinitialize\fR ()"
.br
.ti -1c
-.BI "TQPtrList<QWindowsMime> \fBall\fR ()"
+.BI "TQPtrList<TQWindowsMime> \fBall\fR ()"
.br
.ti -1c
-.BI "QWindowsMime * \fBconvertor\fR ( const char * mime, int cf )"
+.BI "TQWindowsMime * \fBconvertor\fR ( const char * mime, int cf )"
.br
.ti -1c
.BI "const char * \fBcfToMime\fR ( int cf )"
.br
.in -1c
.SH DESCRIPTION
-The QWindowsMime class maps open-standard MIME to Window Clipboard formats.
+The TQWindowsMime class maps open-standard MIME to Window Clipboard formats.
.PP
Qt's drag-and-drop and clipboard facilities use the MIME standard. On X11, this maps trivially to the Xdnd protocol, but on Windows although some applications use MIME types to describe clipboard formats, others use arbitrary non-standardized naming conventions, or unnamed built-in formats of Windows.
.PP
-By instantiating subclasses of QWindowsMime that provide conversions between Windows Clipboard and MIME formats, you can convert proprietary clipboard formats to MIME formats.
+By instantiating subclasses of TQWindowsMime that provide conversions between Windows Clipboard and MIME formats, you can convert proprietary clipboard formats to MIME formats.
.PP
Qt has predefined support for the following Windows Clipboard formats:
.TP
@@ -74,7 +74,7 @@ CF_TEXT - converted to "text/plain;charset=system" or "text/plain" and supported
.TP
CF_DIB - converted to "image/*", where * is a TQt image format, and supported by TQImageDrag.
.TP
-CF_HDROP - converted to "text/uri-list", and supported by QUriDrag.
+CF_HDROP - converted to "text/uri-list", and supported by TQUriDrag.
.PP
An example use of this class would be to map the Windows Metafile clipboard format (CF_METAFILEPICT) to and from the MIME type "image/x-wmf". This conversion might simply be adding or removing a header, or even just passing on the data. See the Drag-and-Drop documentation for more information on choosing and definition MIME types.
.PP
@@ -82,57 +82,57 @@ You can check if a MIME type is convertible using canConvert() and can perform c
.PP
See also Drag And Drop Classes, Input/Output and Networking, and Miscellaneous Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QWindowsMime::QWindowsMime ()"
+.SH "TQWindowsMime::TQWindowsMime ()"
Constructs a new conversion object, adding it to the globally accessed list of available convertors.
-.SH "QWindowsMime::~QWindowsMime ()\fC [virtual]\fR"
+.SH "TQWindowsMime::~TQWindowsMime ()\fC [virtual]\fR"
Destroys a conversion object, removing it from the global list of available convertors.
-.SH "TQPtrList<QWindowsMime> QWindowsMime::all ()\fC [static]\fR"
-Returns a list of all currently defined QWindowsMime objects.
-.SH "bool QWindowsMime::canConvert ( const char * mime, int cf )\fC [pure virtual]\fR"
+.SH "TQPtrList<TQWindowsMime> TQWindowsMime::all ()\fC [static]\fR"
+Returns a list of all currently defined TQWindowsMime objects.
+.SH "bool TQWindowsMime::canConvert ( const char * mime, int cf )\fC [pure virtual]\fR"
Returns TRUE if the convertor can convert (both ways) between \fImime\fR and \fIcf\fR; otherwise returns FALSE.
.PP
All subclasses must reimplement this pure virtual function.
-.SH "int QWindowsMime::cf ( int index )\fC [pure virtual]\fR"
+.SH "int TQWindowsMime::cf ( int index )\fC [pure virtual]\fR"
Returns the Windows Clipboard format supported by this convertor that is ordinarily at position \fIindex\fR. This means that cf(0) returns the first Windows Clipboard format supported, and cf(countCf()-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 QWindowsMime::cfFor ( const char * mime )\fC [pure virtual]\fR"
+.SH "int TQWindowsMime::cfFor ( const char * mime )\fC [pure virtual]\fR"
Returns the Windows Clipboard type 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 * QWindowsMime::cfToMime ( int cf )\fC [static]\fR"
+.SH "const char * TQWindowsMime::cfToMime ( int cf )\fC [static]\fR"
Returns a MIME type for \fIcf\fR, or 0 if none exists.
-.SH "QByteArray QWindowsMime::convertFromMime ( QByteArray data, const char * mime, int cf )\fC [pure virtual]\fR"
+.SH "QByteArray TQWindowsMime::convertFromMime ( QByteArray data, const char * mime, int cf )\fC [pure virtual]\fR"
Returns \fIdata\fR converted from MIME type \fImime\fR to Windows Clipboard format \fIcf\fR.
.PP
Note that Windows Clipboard formats must all be self-terminating. The return value may contain trailing data.
.PP
All subclasses must reimplement this pure virtual function.
-.SH "QByteArray QWindowsMime::convertToMime ( QByteArray data, const char * mime, int cf )\fC [pure virtual]\fR"
+.SH "QByteArray TQWindowsMime::convertToMime ( QByteArray data, const char * mime, int cf )\fC [pure virtual]\fR"
Returns \fIdata\fR converted from Windows Clipboard format \fIcf\fR to MIME type \fImime\fR.
.PP
Note that Windows Clipboard formats must all be self-terminating. The input \fIdata\fR may contain trailing data.
.PP
All subclasses must reimplement this pure virtual function.
-.SH "QWindowsMime * QWindowsMime::convertor ( const char * mime, int cf )\fC [static]\fR"
-Returns the most-recently created QWindowsMime that can convert between the \fImime\fR and \fIcf\fR formats. Returns 0 if no such convertor exists.
-.SH "const char * QWindowsMime::convertorName ()\fC [pure virtual]\fR"
+.SH "TQWindowsMime * TQWindowsMime::convertor ( const char * mime, int cf )\fC [static]\fR"
+Returns the most-recently created TQWindowsMime that can convert between the \fImime\fR and \fIcf\fR formats. Returns 0 if no such convertor exists.
+.SH "const char * TQWindowsMime::convertorName ()\fC [pure virtual]\fR"
Returns a name for the convertor.
.PP
All subclasses must reimplement this pure virtual function.
-.SH "int QWindowsMime::countCf ()\fC [pure virtual]\fR"
+.SH "int TQWindowsMime::countCf ()\fC [pure virtual]\fR"
Returns the number of Windows Clipboard formats supported by this convertor.
.PP
All subclasses must reimplement this pure virtual function.
-.SH "void QWindowsMime::initialize ()\fC [static]\fR"
+.SH "void TQWindowsMime::initialize ()\fC [static]\fR"
This is an internal function.
-.SH "const char * QWindowsMime::mimeFor ( int cf )\fC [pure virtual]\fR"
+.SH "const char * TQWindowsMime::mimeFor ( int cf )\fC [pure virtual]\fR"
Returns the MIME type used for Windows Clipboard format \fIcf\fR, or 0 if this convertor does not support \fIcf\fR.
.PP
All subclasses must reimplement this pure virtual function.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qwindowsmime.html
+.BR http://doc.trolltech.com/tqwindowsmime.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the