summaryrefslogtreecommitdiffstats
path: root/doc/html/mdi-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/mdi-example.html')
-rw-r--r--doc/html/mdi-example.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html
index 118552fd1..f74c89a9f 100644
--- a/doc/html/mdi-example.html
+++ b/doc/html/mdi-example.html
@@ -79,7 +79,7 @@ signals:
void message(const <a href="tqstring.html">TQString</a>&amp;, int );
private:
- <a href="ntqtextedit.html">TQTextEdit</a>* medit;
+ <a href="tqtextedit.html">TQTextEdit</a>* medit;
<a href="ntqmovie.html">TQMovie</a> * mmovie;
<a href="tqstring.html">TQString</a> filename;
};
@@ -151,8 +151,8 @@ private:
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
#include &lt;<a href="qaccel-h.html">ntqaccel.h</a>&gt;
-#include &lt;<a href="qtextstream-h.html">ntqtextstream.h</a>&gt;
-#include &lt;<a href="qtextedit-h.html">ntqtextedit.h</a>&gt;
+#include &lt;<a href="tqtextstream-h.html">tqtextstream.h</a>&gt;
+#include &lt;<a href="tqtextedit-h.html">tqtextedit.h</a>&gt;
#include &lt;<a href="qpainter-h.html">ntqpainter.h</a>&gt;
#include &lt;<a href="qpaintdevicemetrics-h.html">ntqpaintdevicemetrics.h</a>&gt;
#include &lt;<a href="qwhatsthis-h.html">ntqwhatsthis.h</a>&gt;
@@ -412,7 +412,7 @@ void <a name="f546"></a>ApplicationWindow::tileHorizontal()
: <a href="ntqmainwindow.html">TQMainWindow</a>( parent, name, wflags )
{
mmovie = 0;
- medit = new <a href="ntqtextedit.html">TQTextEdit</a>( this );
+ medit = new <a href="tqtextedit.html">TQTextEdit</a>( this );
<a href="tqwidget.html#setFocusProxy">setFocusProxy</a>( medit );
<a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( medit );
}
@@ -424,7 +424,7 @@ MDIWindow::~MDIWindow()
void MDIWindow::<a href="tqwidget.html#closeEvent">closeEvent</a>( <a href="qcloseevent.html">TQCloseEvent</a> *e )
{
-<a name="x2069"></a> if ( medit-&gt;<a href="ntqtextedit.html#isModified">isModified</a>() ) {
+<a name="x2069"></a> if ( medit-&gt;<a href="tqtextedit.html#isModified">isModified</a>() ) {
switch( TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( this, "Save Changes",
<a href="tqobject.html#tr">tr</a>("Save changes to %1?").arg( <a href="tqwidget.html#caption">caption</a>() ),
<a href="tqobject.html#tr">tr</a>("Yes"), tr("No"), tr("Cancel") ) ) {
@@ -472,9 +472,9 @@ void <a name="f548"></a>MDIWindow::load( const <a href="tqstring.html">TQString<
} else {
mmovie = 0;
- <a href="ntqtextstream.html">TQTextStream</a> t(&amp;f);
-<a name="x2074"></a> <a href="tqstring.html">TQString</a> s = t.<a href="ntqtextstream.html#read">read</a>();
- medit-&gt;<a href="ntqtextedit.html#setText">setText</a>( s );
+ <a href="tqtextstream.html">TQTextStream</a> t(&amp;f);
+<a name="x2074"></a> <a href="tqstring.html">TQString</a> s = t.<a href="tqtextstream.html#read">read</a>();
+ medit-&gt;<a href="tqtextedit.html#setText">setText</a>( s );
<a name="x2023"></a> f.<a href="ntqfile.html#close">close</a>();
@@ -490,7 +490,7 @@ void <a name="f549"></a>MDIWindow::save()
return;
}
-<a name="x2073"></a> <a href="tqstring.html">TQString</a> text = medit-&gt;<a href="ntqtextedit.html#text">text</a>();
+<a name="x2073"></a> <a href="tqstring.html">TQString</a> text = medit-&gt;<a href="tqtextedit.html#text">text</a>();
<a href="ntqfile.html">TQFile</a> f( filename );
if ( !f.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> ) ) {
emit message( TQString("Could not write to %1").arg(filename),
@@ -498,7 +498,7 @@ void <a name="f549"></a>MDIWindow::save()
return;
}
- <a href="ntqtextstream.html">TQTextStream</a> t( &amp;f );
+ <a href="tqtextstream.html">TQTextStream</a> t( &amp;f );
t &lt;&lt; text;
f.<a href="ntqfile.html#close">close</a>();
@@ -533,11 +533,11 @@ void <a name="f551"></a>MDIWindow::print( <a href="ntqprinter.html">TQPrinter</a
<a name="x2041"></a> int dpiy = metrics.<a href="ntqpaintdevicemetrics.html#logicalDpiY">logicalDpiY</a>();
int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins
<a name="x2042"></a><a name="x2040"></a> <a href="ntqrect.html">TQRect</a> view( margin, margin, metrics.<a href="ntqpaintdevicemetrics.html#width">width</a>() - 2*margin, metrics.<a href="ntqpaintdevicemetrics.html#height">height</a>() - 2*margin );
-<a name="x2067"></a> <a href="ntqsimplerichtext.html">TQSimpleRichText</a> richText( TQStyleSheet::<a href="ntqstylesheet.html#convertFromPlainText">convertFromPlainText</a>(medit-&gt;<a href="ntqtextedit.html#text">text</a>()),
+<a name="x2067"></a> <a href="ntqsimplerichtext.html">TQSimpleRichText</a> richText( TQStyleSheet::<a href="ntqstylesheet.html#convertFromPlainText">convertFromPlainText</a>(medit-&gt;<a href="tqtextedit.html#text">text</a>()),
TQFont(),
-<a name="x2068"></a> medit-&gt;<a href="ntqtextedit.html#context">context</a>(),
-<a name="x2072"></a> medit-&gt;<a href="ntqtextedit.html#styleSheet">styleSheet</a>(),
-<a name="x2070"></a> medit-&gt;<a href="ntqtextedit.html#mimeSourceFactory">mimeSourceFactory</a>(),
+<a name="x2068"></a> medit-&gt;<a href="tqtextedit.html#context">context</a>(),
+<a name="x2072"></a> medit-&gt;<a href="tqtextedit.html#styleSheet">styleSheet</a>(),
+<a name="x2070"></a> medit-&gt;<a href="tqtextedit.html#mimeSourceFactory">mimeSourceFactory</a>(),
view.<a href="ntqrect.html#height">height</a>() );
<a name="x2063"></a> richText.<a href="ntqsimplerichtext.html#setWidth">setWidth</a>( &amp;p, view.<a href="ntqrect.html#width">width</a>() );
int page = 1;