diff options
Diffstat (limited to 'doc/html/tqdropevent.html')
-rw-r--r-- | doc/html/tqdropevent.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/tqdropevent.html b/doc/html/tqdropevent.html index 681430080..943e9f9c3 100644 --- a/doc/html/tqdropevent.html +++ b/doc/html/tqdropevent.html @@ -41,10 +41,10 @@ body { background: #ffffff; color: black; } <li class=fn><a href="#TQDropEvent"><b>TQDropEvent</b></a> ( const TQPoint & pos, Type typ = Drop )</li> <li class=fn>const TQPoint & <a href="#pos"><b>pos</b></a> () const</li> <li class=fn>bool <a href="#isAccepted"><b>isAccepted</b></a> () const</li> -<li class=fn>void <a href="#accept"><b>accept</b></a> ( bool y = TRUE )</li> +<li class=fn>void <a href="#accept"><b>accept</b></a> ( bool y = true )</li> <li class=fn>void <a href="#ignore"><b>ignore</b></a> ()</li> <li class=fn>bool <a href="#isActionAccepted"><b>isActionAccepted</b></a> () const</li> -<li class=fn>void <a href="#acceptAction"><b>acceptAction</b></a> ( bool y = TRUE )</li> +<li class=fn>void <a href="#acceptAction"><b>acceptAction</b></a> ( bool y = true )</li> <li class=fn>enum <a href="#Action-enum"><b>Action</b></a> { Copy, Link, Move, Private, UserAction = 100 }</li> <li class=fn>void <a href="#setAction"><b>setAction</b></a> ( Action a )</li> <li class=fn>Action <a href="#action"><b>action</b></a> () const</li> @@ -96,25 +96,25 @@ reference, for example, text/uri-list file lists (see <a href="tquridrag.html">T <p> Constructs a drop event that drops a drop of type <em>typ</em> on point <em>pos</em>. -<h3 class=fn>void <a name="accept"></a>TQDropEvent::accept ( bool y = TRUE ) +<h3 class=fn>void <a name="accept"></a>TQDropEvent::accept ( bool y = true ) </h3> <p> Call this function to indicate whether the event provided data -which your widget processed. Set <em>y</em> to TRUE (the default) if -your widget could process the data, otherwise set <em>y</em> to FALSE. +which your widget processed. Set <em>y</em> to true (the default) if +your widget could process the data, otherwise set <em>y</em> to false. To get the data, use <a href="#encodedData">encodedData</a>(), or preferably, the decode() methods of existing <a href="tqdragobject.html">TQDragObject</a> subclasses, such as <a href="tqtextdrag.html#decode">TQTextDrag::decode</a>(), or your own subclasses. <p> <p>See also <a href="#acceptAction">acceptAction</a>(). <p>Example: <a href="simple_dd-example.html#x2819">iconview/simple_dd/main.cpp</a>. -<h3 class=fn>void <a name="acceptAction"></a>TQDropEvent::acceptAction ( bool y = TRUE ) +<h3 class=fn>void <a name="acceptAction"></a>TQDropEvent::acceptAction ( bool y = true ) </h3> <p> Call this to indicate that the action described by <a href="#action">action</a>() is -accepted (i.e. if <em>y</em> is TRUE, which is the default), not merely -the default copy action. If you call <a href="#acceptAction">acceptAction</a>(TRUE), there is -no need to also call <a href="#accept">accept</a>(TRUE). +accepted (i.e. if <em>y</em> is true, which is the default), not merely +the default copy action. If you call <a href="#acceptAction">acceptAction</a>(true), there is +no need to also call <a href="#accept">accept</a>(true). <p>Examples: <a href="dirview-example.html#x1671">dirview/dirview.cpp</a> and <a href="fileiconview-example.html#x816">fileiconview/tqfileiconview.cpp</a>. <h3 class=fn><a href="tqdropevent.html#Action-enum">Action</a> <a name="action"></a>TQDropEvent::action () const @@ -164,14 +164,14 @@ will use <a href="#provides">provides</a>(). <h3 class=fn>bool <a name="isAccepted"></a>TQDropEvent::isAccepted () const </h3> -<p> Returns TRUE if the drop target accepts the event; otherwise -returns FALSE. +<p> Returns true if the drop target accepts the event; otherwise +returns false. <h3 class=fn>bool <a name="isActionAccepted"></a>TQDropEvent::isActionAccepted () const </h3> -<p> Returns TRUE if the drop action was accepted by the drop site; -otherwise returns FALSE. +<p> Returns true if the drop action was accepted by the drop site; +otherwise returns false. <h3 class=fn>const <a href="tqpoint.html">TQPoint</a> & <a name="pos"></a>TQDropEvent::pos () const </h3> @@ -181,8 +181,8 @@ otherwise returns FALSE. <p>Example: <a href="dirview-example.html#x1673">dirview/dirview.cpp</a>. <h3 class=fn>bool <a name="provides"></a>TQDropEvent::provides ( const char * mimeType ) const<tt> [virtual]</tt> </h3> -Returns TRUE if this event provides format <em>mimeType</em>; otherwise -returns FALSE. +Returns true if this event provides format <em>mimeType</em>; otherwise +returns false. <p> <p>See also <a href="#data">data</a>(). <p>Example: <a href="fileiconview-example.html#x819">fileiconview/tqfileiconview.cpp</a>. |