summaryrefslogtreecommitdiffstats
path: root/doc/html/qwerty-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
committerMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /doc/html/qwerty-example.html
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/qwerty-example.html')
-rw-r--r--doc/html/qwerty-example.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html
index 6f356d8ce..5f6350856 100644
--- a/doc/html/qwerty-example.html
+++ b/doc/html/qwerty-example.html
@@ -85,7 +85,7 @@ private:
void rebuildCodecList();
<a href="ntqmenubar.html">TQMenuBar</a> *m;
<a href="ntqmultilineedit.html">TQMultiLineEdit</a> *e;
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
<a href="ntqprinter.html">TQPrinter</a> printer;
#endif
<a href="ntqpopupmenu.html">TQPopupMenu</a> *save_as;
@@ -147,7 +147,7 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 };
save_as = new <a href="ntqpopupmenu.html">TQPopupMenu</a>();
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Sa&amp;ve As", save_as );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Add &amp;Encoding", this, SLOT(addEncoding()) );
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Print...", this, SLOT(print()), ALT+Key_P );
#endif
@@ -165,7 +165,7 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 };
edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "To &amp;Uppercase", this, SLOT(toUpper()), ALT+Key_U );
edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "To &amp;Lowercase", this, SLOT(toLower()), ALT+Key_L );
-#ifndef QT_NO_FONTDIALOG
+#ifndef TQT_NO_FONTDIALOG
edit-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Select Font" , this, SLOT(<a href="ntqwidget.html#font">font</a>()), ALT+Key_T );
#endif
@@ -191,7 +191,7 @@ Editor::~Editor()
<a name="x405"></a>void Editor::<a href="ntqwidget.html#font">font</a>()
{
-#ifndef QT_NO_FONTDIALOG
+#ifndef TQT_NO_FONTDIALOG
bool ok;
<a name="x396"></a><a name="x368"></a> <a href="ntqfont.html">TQFont</a> f = TQFontDialog::<a href="ntqfontdialog.html#getFont">getFont</a>( &amp;ok, e-&gt;<a href="ntqtextedit.html#font">font</a>() );
if ( ok ) {
@@ -243,7 +243,7 @@ void <a name="f237"></a>Editor::newDoc()
void <a name="f238"></a>Editor::load()
{
-#ifndef QT_NO_FILEDIALOG
+#ifndef TQT_NO_FILEDIALOG
<a name="x365"></a> <a href="ntqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>( <a href="ntqstring.html#TQString-null">TQString::null</a>, TQString::null, this );
<a name="x390"></a> if ( !fn.<a href="ntqstring.html#isEmpty">isEmpty</a>() )
load( fn, -1 );
@@ -291,7 +291,7 @@ void Editor::load( const <a href="ntqstring.html">TQString</a>&amp; fileName, in
void <a name="f239"></a>Editor::openAsEncoding( int code )
{
-#ifndef QT_NO_FILEDIALOG
+#ifndef TQT_NO_FILEDIALOG
//storing filename (proper save) is left as an exercise...
<a href="ntqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>( TQString::null, TQString::null, this );
if ( !fn.<a href="ntqstring.html#isEmpty">isEmpty</a>() )
@@ -301,7 +301,7 @@ void <a name="f239"></a>Editor::openAsEncoding( int code )
bool <a name="f240"></a>Editor::save()
{
-#ifndef QT_NO_FILEDIALOG
+#ifndef TQT_NO_FILEDIALOG
//storing filename (proper save) is left as an exercise...
<a name="x366"></a> <a href="ntqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>( TQString::null, TQString::null, this );
if ( !fn.<a href="ntqstring.html#isEmpty">isEmpty</a>() )
@@ -312,7 +312,7 @@ bool <a name="f240"></a>Editor::save()
void <a name="f241"></a>Editor::saveAsEncoding( int code )
{
-#ifndef QT_NO_FILEDIALOG
+#ifndef TQT_NO_FILEDIALOG
//storing filename (proper save) is left as an exercise...
<a href="ntqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>( TQString::null, TQString::null, this );
if ( !fn.<a href="ntqstring.html#isEmpty">isEmpty</a>() )
@@ -322,7 +322,7 @@ void <a name="f241"></a>Editor::saveAsEncoding( int code )
void <a name="f242"></a>Editor::addEncoding()
{
-#ifndef QT_NO_FILEDIALOG
+#ifndef TQT_NO_FILEDIALOG
<a href="ntqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>( TQString::null, "*.map", this );
if ( !fn.<a href="ntqstring.html#isEmpty">isEmpty</a>() ) {
<a href="ntqfile.html">TQFile</a> f(fn);
@@ -376,7 +376,7 @@ bool <a name="f243"></a>Editor::saveAs( const <a href="ntqstring.html">TQString<
void <a name="f244"></a>Editor::print()
{
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
if ( printer.setup(this) ) { // opens printer dialog
printer.setFullPage(TRUE); // we'll set our own margins
<a href="ntqpainter.html">TQPainter</a> p;