diff options
author | Michele Calgaro <[email protected]> | 2024-07-10 18:56:16 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-07-10 18:56:16 +0900 |
commit | 252a2ec8b0f0f9cf20c947737087b24a8185b588 (patch) | |
tree | b48be8863db3bc1c223ac270a258b5c1124cb0e3 /doc/dnd.doc | |
parent | 87d29563e3ccdeb7fea0197e262e667ef323ff9c (diff) | |
download | tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.tar.gz tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.zip |
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/dnd.doc')
-rw-r--r-- | doc/dnd.doc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/dnd.doc b/doc/dnd.doc index 992557b41..63edc1c55 100644 --- a/doc/dnd.doc +++ b/doc/dnd.doc @@ -130,7 +130,7 @@ The TQDragObject, TQDragEnterEvent, TQDragMoveEvent, and TQDropEvent 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 QClipboard has two functions: +traditional cut-and-paste for free. The TQClipboard has two functions: \code setData(TQMimeSource*) TQMimeSource* data()const @@ -158,7 +158,7 @@ be: \code void MyWidget::save() { - QFile out(current_file_name); + TQFile out(current_file_name); if ( out.open(IO_WriteOnly) ) { MyCadDrag tmp(current_design); out.writeBlock( tmp->encodedData( "image/x-dxf" ) ); @@ -167,7 +167,7 @@ void MyWidget::save() void MyWidget::load() { - QFile in(current_file_name); + TQFile in(current_file_name); if ( in.open(IO_ReadOnly) ) { if ( !MyCadDrag::decode(in.readAll(), current_design) ) { QMessageBox::warning( this, "Format error", |