summaryrefslogtreecommitdiffstats
path: root/doc/html/tqdropevent.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
commitdcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch)
treed57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqdropevent.html
parent649c4c61a1f1f479f4532b196f68df476cef2680 (diff)
downloadtqt-rename/true-false-4.tar.gz
tqt-rename/true-false-4.zip
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqdropevent.html')
-rw-r--r--doc/html/tqdropevent.html30
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&nbsp;TQPoint&nbsp;&amp;&nbsp;pos, Type&nbsp;typ = Drop )</li>
<li class=fn>const TQPoint &amp; <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&nbsp;y = TRUE )</li>
+<li class=fn>void <a href="#accept"><b>accept</b></a> ( bool&nbsp;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&nbsp;y = TRUE )</li>
+<li class=fn>void <a href="#acceptAction"><b>acceptAction</b></a> ( bool&nbsp;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&nbsp;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&nbsp;y = TRUE )
+<h3 class=fn>void <a name="accept"></a>TQDropEvent::accept ( bool&nbsp;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&nbsp;y = TRUE )
+<h3 class=fn>void <a name="acceptAction"></a>TQDropEvent::acceptAction ( bool&nbsp;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&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp; <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&nbsp;char&nbsp;*&nbsp;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>.