summaryrefslogtreecommitdiffstats
path: root/doc/html/designer-manual-2.html
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-06-06 13:44:12 +0900
committerMichele Calgaro <[email protected]>2024-06-06 13:52:29 +0900
commite6077c30d14e9d662e8843c554db86c0d366d0b6 (patch)
tree672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/designer-manual-2.html
parent8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff)
downloadtqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz
tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/designer-manual-2.html')
-rw-r--r--doc/html/designer-manual-2.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/designer-manual-2.html b/doc/html/designer-manual-2.html
index 54df825f3..059683a0e 100644
--- a/doc/html/designer-manual-2.html
+++ b/doc/html/designer-manual-2.html
@@ -256,8 +256,8 @@ body { background: #ffffff; color: black; }
// set the result
int decimals = decimalsSpinBox-&gt;value();
- resultLineEdit-&gt;setText( TQString::<a href="ntqstring.html#number">number</a>( result, 'f', decimals ) );
- numberLineEdit-&gt;setText( TQString::<a href="ntqstring.html#number">number</a>( input, 'f', decimals ) );
+ resultLineEdit-&gt;setText( TQString::<a href="tqstring.html#number">number</a>( result, 'f', decimals ) );
+ numberLineEdit-&gt;setText( TQString::<a href="tqstring.html#number">number</a>( input, 'f', decimals ) );
}
</pre>
<p>First, we define some enums for the input and output units. Then we retrieve the input from the numberLineEdit. We convert the input to millimeters because this is the most precise metric unit we support. Then we convert it to inches which is the most precise output unit we support. We then scale it to the selected output unit. Finally, we put the result in the resultLineEdit.</p>