diff options
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) |