summaryrefslogtreecommitdiffstats
path: root/doc/html/scribble-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/scribble-example.html')
-rw-r--r--doc/html/scribble-example.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/scribble-example.html b/doc/html/scribble-example.html
index 0d39f4c04..aef0d91b5 100644
--- a/doc/html/scribble-example.html
+++ b/doc/html/scribble-example.html
@@ -55,7 +55,7 @@ in the canvas with different pens and save the result as picture.
#include &lt;<a href="qpoint-h.html">ntqpoint.h</a>&gt;
#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
#include &lt;<a href="tqwidget-h.html">tqwidget.h</a>&gt;
-#include &lt;<a href="qstring-h.html">ntqstring.h</a>&gt;
+#include &lt;<a href="tqstring-h.html">tqstring.h</a>&gt;
#include &lt;<a href="qpointarray-h.html">ntqpointarray.h</a>&gt;
class TQMouseEvent;
@@ -83,7 +83,7 @@ public:
int penWidth()
<a name="x905"></a> { return pen.<a href="ntqpen.html#width">width</a>(); }
- void save( const <a href="ntqstring.html">TQString</a> &amp;filename, const <a href="ntqstring.html">TQString</a> &amp;format );
+ void save( const <a href="tqstring.html">TQString</a> &amp;filename, const <a href="tqstring.html">TQString</a> &amp;format );
void clearScreen();
@@ -154,7 +154,7 @@ protected slots:
#include &lt;<a href="qfiledialog-h.html">ntqfiledialog.h</a>&gt;
#include &lt;<a href="qcursor-h.html">ntqcursor.h</a>&gt;
#include &lt;<a href="tqimage-h.html">tqimage.h</a>&gt;
-#include &lt;<a href="qstrlist-h.html">ntqstrlist.h</a>&gt;
+#include &lt;<a href="tqstrlist-h.html">tqstrlist.h</a>&gt;
#include &lt;<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>&gt;
#include &lt;<a href="qintdict-h.html">ntqintdict.h</a>&gt;
@@ -173,10 +173,10 @@ const bool no_writing = FALSE;
#endif
}
-void <a name="f339"></a>Canvas::save( const <a href="ntqstring.html">TQString</a> &amp;filename, const <a href="ntqstring.html">TQString</a> &amp;format )
+void <a name="f339"></a>Canvas::save( const <a href="tqstring.html">TQString</a> &amp;filename, const <a href="tqstring.html">TQString</a> &amp;format )
{
if ( !no_writing )
-<a name="x942"></a> buffer.save( filename, format.<a href="ntqstring.html#upper">upper</a>() );
+<a name="x942"></a> buffer.save( filename, format.<a href="tqstring.html#upper">upper</a>() );
}
void <a name="f340"></a>Canvas::clearScreen()
@@ -283,18 +283,18 @@ void <a name="f342"></a>Scribble::slotSave()
<a name="x924"></a> formats.<a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>( TRUE );
for ( unsigned int i = 0; i &lt; TQImageIO::<a href="tqimageio.html#outputFormats">outputFormats</a>().count(); i++ ) {
-<a name="x911"></a> <a href="ntqstring.html">TQString</a> str = TQString( TQImageIO::<a href="tqimageio.html#outputFormats">outputFormats</a>().at( i ) );
-<a name="x912"></a> formats.<a href="ntqintdict.html#insert">insert</a>( menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( TQString( "%1..." ).arg( str ) ), new <a href="ntqstring.html">TQString</a>( str ) );
+<a name="x911"></a> <a href="tqstring.html">TQString</a> str = TQString( TQImageIO::<a href="tqimageio.html#outputFormats">outputFormats</a>().at( i ) );
+<a name="x912"></a> formats.<a href="ntqintdict.html#insert">insert</a>( menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( TQString( "%1..." ).arg( str ) ), new <a href="tqstring.html">TQString</a>( str ) );
}
<a name="x953"></a> menu-&gt;<a href="tqwidget.html#setMouseTracking">setMouseTracking</a>( TRUE );
<a name="x947"></a><a name="x946"></a><a name="x923"></a> int id = menu-&gt;<a href="ntqpopupmenu.html#exec">exec</a>( bSave-&gt;<a href="tqwidget.html#mapToGlobal">mapToGlobal</a>( TQPoint( 0, bSave-&gt;<a href="tqwidget.html#height">height</a>() + 1 ) ) );
if ( id != -1 ) {
- <a href="ntqstring.html">TQString</a> format = *formats[ id ];
+ <a href="tqstring.html">TQString</a> format = *formats[ id ];
-<a name="x941"></a> <a href="ntqstring.html">TQString</a> filename = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>( <a href="ntqstring.html#TQString-null">TQString::null</a>, TQString( "*.%1" ).arg( format.<a href="ntqstring.html#lower">lower</a>() ), this );
- if ( !filename.<a href="ntqstring.html#isEmpty">isEmpty</a>() )
+<a name="x941"></a> <a href="tqstring.html">TQString</a> filename = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>( <a href="tqstring.html#TQString-null">TQString::null</a>, TQString( "*.%1" ).arg( format.<a href="tqstring.html#lower">lower</a>() ), this );
+ if ( !filename.<a href="tqstring.html#isEmpty">isEmpty</a>() )
canvas-&gt;save( filename, format );
}