diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-10 18:56:16 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-10 18:56:16 +0900 |
commit | 252a2ec8b0f0f9cf20c947737087b24a8185b588 (patch) | |
tree | b48be8863db3bc1c223ac270a258b5c1124cb0e3 /doc/html/dnd.html | |
parent | 87d29563e3ccdeb7fea0197e262e667ef323ff9c (diff) | |
download | tqt-252a2ec8.tar.gz tqt-252a2ec8.zip |
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/dnd.html')
-rw-r--r-- | doc/html/dnd.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/dnd.html b/doc/html/dnd.html index abd016e8b..bdd86f4c0 100644 --- a/doc/html/dnd.html +++ b/doc/html/dnd.html @@ -131,7 +131,7 @@ void MyWidget::dropEvent(TQDropEvent* event) classes are all subclasses of TQMimeSource: the class of objects which provide typed information. If you base your data transfers on TQDragObject, you not only get drag-and-drop, but you also get -traditional cut-and-paste for free. The <a href="ntqclipboard.html">TQClipboard</a> has two functions: +traditional cut-and-paste for free. The <a href="tqclipboard.html">TQClipboard</a> has two functions: <pre> setData(TQMimeSource*) <a href="tqmimesource.html">TQMimeSource</a>* data()const @@ -161,18 +161,18 @@ be: <pre> void MyWidget::save() { - <a href="ntqfile.html">TQFile</a> out(current_file_name); - if ( out.<a href="ntqfile.html#open">open</a>(IO_WriteOnly) ) { + <a href="tqfile.html">TQFile</a> out(current_file_name); + if ( out.<a href="tqfile.html#open">open</a>(IO_WriteOnly) ) { MyCadDrag tmp(current_design); - out.<a href="ntqiodevice.html#writeBlock">writeBlock</a>( tmp->encodedData( "image/x-dxf" ) ); + out.<a href="tqiodevice.html#writeBlock">writeBlock</a>( tmp->encodedData( "image/x-dxf" ) ); } } void MyWidget::load() { - <a href="ntqfile.html">TQFile</a> in(current_file_name); - if ( in.<a href="ntqfile.html#open">open</a>(IO_ReadOnly) ) { - if ( !MyCadDrag::decode(in.<a href="ntqiodevice.html#readAll">readAll</a>(), current_design) ) { + <a href="tqfile.html">TQFile</a> in(current_file_name); + if ( in.<a href="tqfile.html#open">open</a>(IO_ReadOnly) ) { + if ( !MyCadDrag::decode(in.<a href="tqiodevice.html#readAll">readAll</a>(), current_design) ) { TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( this, "Format error", tr("The file \"%1\" is not in any supported format") .arg(current_file_name) |