diff options
Diffstat (limited to 'doc/man/man3/tqtextdrag.3qt')
-rw-r--r-- | doc/man/man3/tqtextdrag.3qt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/man/man3/tqtextdrag.3qt b/doc/man/man3/tqtextdrag.3qt index 481fa59ee..b4f903450 100644 --- a/doc/man/man3/tqtextdrag.3qt +++ b/doc/man/man3/tqtextdrag.3qt @@ -1,5 +1,5 @@ '\" t -.TH QTextDrag 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQTextDrag 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,7 +7,7 @@ .ad l .nh .SH NAME -QTextDrag \- Drag and drop object for transferring plain and Unicode text +TQTextDrag \- Drag and drop object for transferring plain and Unicode text .SH SYNOPSIS \fC#include <ntqdragobject.h>\fR .PP @@ -16,13 +16,13 @@ Inherits QDragObject. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQTextDrag\fR ( const TQString & text, TQWidget * dragSource = 0, const char * name = 0 )" +.BI "\fBTQTextDrag\fR ( const TQString & text, TQWidget * dragSource = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQTextDrag\fR ( TQWidget * dragSource = 0, const char * name = 0 )" +.BI "\fBTQTextDrag\fR ( TQWidget * dragSource = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QTextDrag\fR ()" +.BI "\fB~TQTextDrag\fR ()" .br .ti -1c .BI "virtual void \fBsetText\fR ( const TQString & text )" @@ -44,7 +44,7 @@ Inherits QDragObject. .br .in -1c .SH DESCRIPTION -The QTextDrag class is a drag and drop object for transferring plain and Unicode text. +The TQTextDrag class is a drag and drop object for transferring plain and Unicode text. .PP Plain text is passed in a TQString which may contain multiple lines (i.e. may contain newline characters). The drag target will receive the newlines according to the runtime environment, e.g. LF on Unix, and CRLF on Windows. .PP @@ -54,38 +54,38 @@ For more information about drag and drop, see the QDragObject class and the drag .PP See also Drag And Drop Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QTextDrag::QTextDrag ( const TQString & text, TQWidget * dragSource = 0, const char * name = 0 )" +.SH "TQTextDrag::TQTextDrag ( const TQString & text, TQWidget * dragSource = 0, const char * name = 0 )" Constructs a text drag object and sets its data to \fItext\fR. \fIdragSource\fR must be the drag source; \fIname\fR is the object name. -.SH "QTextDrag::QTextDrag ( TQWidget * dragSource = 0, const char * name = 0 )" +.SH "TQTextDrag::TQTextDrag ( TQWidget * dragSource = 0, const char * name = 0 )" Constructs a default text drag object. \fIdragSource\fR must be the drag source; \fIname\fR is the object name. -.SH "QTextDrag::~QTextDrag ()" +.SH "TQTextDrag::~TQTextDrag ()" Destroys the text drag object and frees up all allocated resources. -.SH "bool QTextDrag::canDecode ( const QMimeSource * e )\fC [static]\fR" +.SH "bool TQTextDrag::canDecode ( const QMimeSource * e )\fC [static]\fR" Returns TRUE if the information in \fIe\fR can be decoded into a TQString; otherwise returns FALSE. .PP See also decode(). .PP Example: iconview/simple_dd/main.cpp. -.SH "bool QTextDrag::decode ( const QMimeSource * e, TQString & str )\fC [static]\fR" +.SH "bool TQTextDrag::decode ( const QMimeSource * e, TQString & str )\fC [static]\fR" Attempts to decode the dropped information in \fIe\fR into \fIstr\fR. Returns TRUE if successful; otherwise returns FALSE. .PP See also canDecode(). .PP Example: iconview/simple_dd/main.cpp. -.SH "bool QTextDrag::decode ( const QMimeSource * e, TQString & str, QCString & subtype )\fC [static]\fR" +.SH "bool TQTextDrag::decode ( const QMimeSource * e, TQString & str, QCString & subtype )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Attempts to decode the dropped information in \fIe\fR into \fIstr\fR. Returns TRUE if successful; otherwise returns FALSE. If \fIsubtype\fR is null, any text subtype is accepted; otherwise only the specified \fIsubtype\fR is accepted. .PP See also canDecode(). -.SH "void QTextDrag::setSubtype ( const QCString & st )\fC [virtual]\fR" +.SH "void TQTextDrag::setSubtype ( const QCString & st )\fC [virtual]\fR" Sets the MIME subtype of the text being dragged to \fIst\fR. The default subtype is "plain", so the default MIME type of the text is "text/plain". You might use this to declare that the text is" text/html" by calling setSubtype("html"). -.SH "void QTextDrag::setText ( const TQString & text )\fC [virtual]\fR" +.SH "void TQTextDrag::setText ( const TQString & text )\fC [virtual]\fR" Sets the text to be dragged to \fItext\fR. You will need to call this if you did not pass the text during construction. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qtextdrag.html +.BR http://doc.trolltech.com/tqtextdrag.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |