diff options
Diffstat (limited to 'doc/html/qwerty-example.html')
-rw-r--r-- | doc/html/qwerty-example.html | 20 |
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-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Sa&ve As", save_as ); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Add &Encoding", this, SLOT(addEncoding()) ); -#ifndef QT_NO_PRINTER +#ifndef TQT_NO_PRINTER file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&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-><a href="ntqmenudata.html#insertItem">insertItem</a>( "To &Uppercase", this, SLOT(toUpper()), ALT+Key_U ); edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "To &Lowercase", this, SLOT(toLower()), ALT+Key_L ); -#ifndef QT_NO_FONTDIALOG +#ifndef TQT_NO_FONTDIALOG edit-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&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>( &ok, e-><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>& 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; |