summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-07 21:58:34 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-07 21:58:34 -0500
commitc740211ffba3330d951f4c3ddefea8edf23a01cd (patch)
tree0a8b7641d3c5b576d18a2f7912c75fc600f494e2 /examples
parent8a4eacb6185de3653f6ae401c352aef833a9e72a (diff)
downloadtqt3-c740211ffba3330d951f4c3ddefea8edf23a01cd.tar.gz
tqt3-c740211ffba3330d951f4c3ddefea8edf23a01cd.zip
Automated update from Qt3
Diffstat (limited to 'examples')
-rw-r--r--examples/network/mail/smtp.cpp2
-rw-r--r--examples/opengl/overlay/glteapots.cpp2
-rw-r--r--examples/textedit/example.html2
-rw-r--r--examples/widgets/widgets.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/network/mail/smtp.cpp b/examples/network/mail/smtp.cpp
index 43a2cf249..3a288fc0d 100644
--- a/examples/network/mail/smtp.cpp
+++ b/examples/network/mail/smtp.cpp
@@ -107,7 +107,7 @@ void Smtp::readyRead()
*t << message << ".\r\n";
state = Quit;
} else if ( state == Quit && responseLine[0] == '2' ) {
- *t << "TQUIT\r\n";
+ *t << "QUIT\r\n";
// here, we just close.
state = Close;
emit status( tr( "Message sent" ) );
diff --git a/examples/opengl/overlay/glteapots.cpp b/examples/opengl/overlay/glteapots.cpp
index 2afc1ad03..6d0d5b568 100644
--- a/examples/opengl/overlay/glteapots.cpp
+++ b/examples/opengl/overlay/glteapots.cpp
@@ -25,7 +25,7 @@
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
* GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
- * SPECIAL, INCIDENTAL, INDIRECT OR CONSETQUENTIAL DAMAGES OF ANY
+ * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
* KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
* LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
* THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
diff --git a/examples/textedit/example.html b/examples/textedit/example.html
index 39b60ff76..9db97cc40 100644
--- a/examples/textedit/example.html
+++ b/examples/textedit/example.html
@@ -1,6 +1,6 @@
<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:helvetica">
<p align="center"><span style="font-size:24pt;font-weight:600">TQTextEdit</span></p>
-<p align="justify">TQTextEdit is an advanced WYSIWYG editor supporting richtext formatting. It is optimized to handle large documents and to respond tquickly to user input.</p>
+<p align="justify">TQTextEdit is an advanced WYSIWYG editor supporting richtext formatting. It is optimized to handle large documents and to respond quickly to user input.</p>
<p align="justify">TQTextEdit supports font styles such as <span style="font-weight:600">bold</span>, <span style="font-style:italic">italic, </span><span style="text-decoration:underline">underlined</span> as well as various <span style="font-weight:600;color:#00007f">c</span><span style="font-weight:600;color:#aa0000">o</span><span style="font-weight:600;color:#005500">l</span><span style="font-weight:600;color:#aa5500">o</span><span style="font-weight:600;color:#00aa00">r</span><span style="font-weight:600;color:#ff0000">s </span>and <span style="font-size:16pt">s</span><span style="font-size:18pt">i</span><span style="font-size:20pt">z</span><span style="font-size:22pt">e</span><span style="font-size:28pt">s</span>. You can select different font families, for example <span style="font-family:Times;font-weight:600">Times New Roman</span> or <span style="font-family:Courier;font-weight:600">Courier</span>. Futhermore the widget supports different paragraph alignments such as justified,</p>
<p>left aligned,</p>
<p align="center">centered,</p>
diff --git a/examples/widgets/widgets.cpp b/examples/widgets/widgets.cpp
index 6ef91f65c..d012f1c14 100644
--- a/examples/widgets/widgets.cpp
+++ b/examples/widgets/widgets.cpp
@@ -418,7 +418,7 @@ WidgetView::WidgetView( TQWidget *parent, const char *name )
mleText += TQChar((ushort)0x00d8); // Norwegian
mleText += "\n";
mleText += "Unicode (black square): ";
- mleText += TQChar((ushort)0x25A0); // BLACK STQUARE
+ mleText += TQChar((ushort)0x25A0); // BLACK SQUARE
mleText += "\n";
#endif
mle->setText( mleText );