summaryrefslogtreecommitdiffstats
path: root/doc/dnd.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dnd.doc')
-rw-r--r--doc/dnd.doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/dnd.doc b/doc/dnd.doc
index 992557b4..63edc1c5 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",