diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-02 21:37:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-06 11:24:55 +0900 |
commit | 7552c6d73043b1040139033f6864db48ae5446cf (patch) | |
tree | f90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/html/regexptester-example.html | |
parent | c113da2069b66130f67a0f27c699e1cec83588a5 (diff) | |
download | tqt3-7552c6d73043b1040139033f6864db48ae5446cf.tar.gz tqt3-7552c6d73043b1040139033f6864db48ae5446cf.zip |
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/regexptester-example.html')
-rw-r--r-- | doc/html/regexptester-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/regexptester-example.html b/doc/html/regexptester-example.html index 5d1b15aab..17e45e390 100644 --- a/doc/html/regexptester-example.html +++ b/doc/html/regexptester-example.html @@ -76,7 +76,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *executePushButton; <a href="ntqpushbutton.html">TQPushButton</a> *copyPushButton; <a href="ntqpushbutton.html">TQPushButton</a> *quitPushButton; - <a href="ntqstatusbar.html">TQStatusBar</a> *statusBar; + <a href="tqstatusbar.html">TQStatusBar</a> *statusBar; public slots: void copy(); @@ -99,7 +99,7 @@ private: #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> #include <<a href="qregexp-h.html">ntqregexp.h</a>> -#include <<a href="qstatusbar-h.html">ntqstatusbar.h</a>> +#include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="qtable-h.html">ntqtable.h</a>> #include "regexptester.h" @@ -133,7 +133,7 @@ private: <a name="x2484"></a> executePushButton-><a href="ntqpushbutton.html#setDefault">setDefault</a>(true); copyPushButton = new <a href="ntqpushbutton.html">TQPushButton</a>(this); quitPushButton = new <a href="ntqpushbutton.html">TQPushButton</a>(this); - statusBar = new <a href="ntqstatusbar.html">TQStatusBar</a>(this); + statusBar = new <a href="tqstatusbar.html">TQStatusBar</a>(this); <a href="qgridlayout.html">TQGridLayout</a> *gridLayout = new <a href="qgridlayout.html">TQGridLayout</a>(2, 2, 6); gridLayout-><a href="qgridlayout.html#addWidget">addWidget</a>(regexLabel, 0, 0); @@ -181,7 +181,7 @@ void <a name="f557"></a>RegexpTester::execute() bool wildcard = wildcardCheckBox-><a href="ntqcheckbox.html#isChecked">isChecked</a>(); <a name="x2493"></a> re.<a href="ntqregexp.html#setWildcard">setWildcard</a>(wildcard); <a name="x2487"></a> if (!re.<a href="ntqregexp.html#isValid">isValid</a>()) { -<a name="x2494"></a> statusBar-><a href="ntqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Invalid <a href="ntqregexp.html#regular-expression">regular expression</a>: %1") +<a name="x2494"></a> statusBar-><a href="tqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Invalid <a href="ntqregexp.html#regular-expression">regular expression</a>: %1") <a name="x2486"></a> .arg(re.<a href="ntqregexp.html#errorString">errorString</a>())); return; } @@ -234,11 +234,11 @@ void <a name="f557"></a>RegexpTester::execute() <a name="x2498"></a> resultTable-><a href="ntqtable.html#adjustColumn">adjustColumn</a>(0); resultTable-><a href="ntqtable.html#adjustColumn">adjustColumn</a>(1); resultTable-><a href="ntqtable.html#adjustColumn">adjustColumn</a>(2); - statusBar-><a href="ntqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Executed \"%1\" on \"%2\"") + statusBar-><a href="tqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Executed \"%1\" on \"%2\"") .arg(escaped).arg(text)); } else - statusBar-><a href="ntqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("A regular expression and a text must be given")); + statusBar-><a href="tqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("A regular expression and a text must be given")); } void <a name="f558"></a>RegexpTester::copy() @@ -250,7 +250,7 @@ void <a name="f558"></a>RegexpTester::copy() <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); - statusBar-><a href="ntqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Copied \"%1\" to the clipboard") + statusBar-><a href="tqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Copied \"%1\" to the clipboard") .arg(escaped)); } } |