diff options
Diffstat (limited to 'doc/html/regexptester-example.html')
-rw-r--r-- | doc/html/regexptester-example.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/regexptester-example.html b/doc/html/regexptester-example.html index 4f2f1d463..794c8857b 100644 --- a/doc/html/regexptester-example.html +++ b/doc/html/regexptester-example.html @@ -93,7 +93,7 @@ private: <p> Implementation: <p> <pre>#include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qcheckbox-h.html">ntqcheckbox.h</a>> -#include <<a href="qclipboard-h.html">ntqclipboard.h</a>> +#include <<a href="tqclipboard-h.html">tqclipboard.h</a>> #include <<a href="qcombobox-h.html">ntqcombobox.h</a>> #include <<a href="qlabel-h.html">ntqlabel.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> @@ -246,10 +246,10 @@ void <a name="f558"></a>RegexpTester::copy() <a href="tqstring.html">TQString</a> escaped = regexComboBox-><a href="ntqcombobox.html#currentText">currentText</a>(); if (!escaped.<a href="tqstring.html#isEmpty">isEmpty</a>()) { escaped = escaped.<a href="tqstring.html#replace">replace</a>("\\", "\\\\"); -<a name="x2468"></a> <a href="ntqclipboard.html">TQClipboard</a> *cb = TQApplication::<a href="ntqapplication.html#clipboard">clipboard</a>(); -<a name="x2476"></a> cb-><a href="ntqclipboard.html#setText">setText</a>(escaped, TQClipboard::Clipboard); -<a name="x2477"></a> if (cb-><a href="ntqclipboard.html#supportsSelection">supportsSelection</a>()) - cb-><a href="ntqclipboard.html#setText">setText</a>(escaped, TQClipboard::Selection); +<a name="x2468"></a> <a href="tqclipboard.html">TQClipboard</a> *cb = TQApplication::<a href="ntqapplication.html#clipboard">clipboard</a>(); +<a name="x2476"></a> cb-><a href="tqclipboard.html#setText">setText</a>(escaped, TQClipboard::Clipboard); +<a name="x2477"></a> if (cb-><a href="tqclipboard.html#supportsSelection">supportsSelection</a>()) + cb-><a href="tqclipboard.html#setText">setText</a>(escaped, TQClipboard::Selection); statusBar-><a href="tqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Copied \"%1\" to the clipboard") .arg(escaped)); } |