diff options
Diffstat (limited to 'doc/html/qwerty-example.html')
-rw-r--r-- | doc/html/qwerty-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html index c516945c4..e2319aedf 100644 --- a/doc/html/qwerty-example.html +++ b/doc/html/qwerty-example.html @@ -72,7 +72,7 @@ public slots: void toLower(); void font(); protected: - void resizeEvent( <a href="qresizeevent.html">TQResizeEvent</a> * ); + void resizeEvent( <a href="tqresizeevent.html">TQResizeEvent</a> * ); void closeEvent( <a href="tqcloseevent.html">TQCloseEvent</a> * ); private slots: @@ -115,7 +115,7 @@ private: #include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> #include <<a href="tqtextstream-h.html">tqtextstream.h</a>> #include <<a href="tqpainter-h.html">tqpainter.h</a>> -#include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> +#include <<a href="tqmessagebox-h.html">tqmessagebox.h</a>> #include <<a href="tqpaintdevicemetrics-h.html">tqpaintdevicemetrics.h</a>> #include <<a href="tqptrlist-h.html">tqptrlist.h</a>> #include <<a href="tqfontdialog-h.html">tqfontdialog.h</a>> @@ -275,7 +275,7 @@ void Editor::load( const <a href="tqstring.html">TQString</a>& fileName, int <a name="x364"></a> l=f.<a href="tqiodevice.html#readBlock">readBlock</a>(buffer,l); <a name="x391"></a> <a href="tqtextcodec.html">TQTextCodec</a>* codec = TQTextCodec::<a href="tqtextcodec.html#codecForContent">codecForContent</a>(buffer, l); if ( codec ) { -<a name="x395"></a><a name="x373"></a> TQMessageBox::<a href="ntqmessagebox.html#information">information</a>(this,"Encoding",TQString("Codec: ")+codec-><a href="tqtextcodec.html#name">name</a>()); +<a name="x395"></a><a name="x373"></a> TQMessageBox::<a href="tqmessagebox.html#information">information</a>(this,"Encoding",TQString("Codec: ")+codec-><a href="tqtextcodec.html#name">name</a>()); t.<a href="tqtextstream.html#setCodec">setCodec</a>( codec ); } } @@ -330,7 +330,7 @@ void <a name="f242"></a>Editor::addEncoding() <a name="x394"></a> if (TQTextCodec::<a href="tqtextcodec.html#loadCharmap">loadCharmap</a>(&f)) { rebuildCodecList(); } else { -<a name="x374"></a> TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>(0,"Charmap error", +<a name="x374"></a> TQMessageBox::<a href="tqmessagebox.html#warning">warning</a>(0,"Charmap error", "The file did not contain a valid charmap.\n\n" "A charmap file should look like this:\n" " <code_set_name> thename\n" @@ -353,7 +353,7 @@ bool <a name="f243"></a>Editor::saveAs( const <a href="tqstring.html">TQString</ { <a href="tqfile.html">TQFile</a> f( fileName ); if ( no_writing || !f.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_WriteOnly</a> ) ) { - TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>(this,"I/O Error", + TQMessageBox::<a href="tqmessagebox.html#warning">warning</a>(this,"I/O Error", TQString("The file could not be opened.\n\n") +fileName); return FALSE; @@ -406,7 +406,7 @@ void <a name="f244"></a>Editor::print() #endif } -void Editor::<a href="tqwidget.html#resizeEvent">resizeEvent</a>( <a href="qresizeevent.html">TQResizeEvent</a> * ) +void Editor::<a href="tqwidget.html#resizeEvent">resizeEvent</a>( <a href="tqresizeevent.html">TQResizeEvent</a> * ) { if ( e && m ) e-><a href="tqwidget.html#setGeometry">setGeometry</a>( 0, m-><a href="tqwidget.html#height">height</a>(), width(), height() - m-><a href="tqwidget.html#height">height</a>() ); @@ -417,7 +417,7 @@ void Editor::<a href="tqwidget.html#resizeEvent">resizeEvent</a>( <a href="qresi <a name="x360"></a> event-><a href="tqcloseevent.html#accept">accept</a>(); if ( changed ) { // the text has been changed - switch ( TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( this, "Qwerty", + switch ( TQMessageBox::<a href="tqmessagebox.html#warning">warning</a>( this, "Qwerty", "Save changes to Document?", <a href="tqobject.html#tr">tr</a>("&Yes"), <a href="tqobject.html#tr">tr</a>("&No"), |