diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /doc/html | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'doc/html')
61 files changed, 131 insertions, 131 deletions
diff --git a/doc/html/addressbook-example.html b/doc/html/addressbook-example.html index 54a26fcd9..a1bcc8ef9 100644 --- a/doc/html/addressbook-example.html +++ b/doc/html/addressbook-example.html @@ -141,7 +141,7 @@ void <a name="f264"></a>ABMainWindow::setupMenuBar() file-><a href="ntqmenudata.html#insertItem">insertItem</a>( TQPixmap( "fileprint.xpm" ), "Print...", this, SLOT( filePrint() ), CTRL + Key_P ); file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Close", this, SLOT( closeWindow() ), CTRL + Key_W ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Quit", qApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL + Key_Q ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Quit", tqApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL + Key_Q ); } void <a name="f265"></a>ABMainWindow::setupFileTools() diff --git a/doc/html/canvas-chart-example.html b/doc/html/canvas-chart-example.html index 6142313ac..fb33afb32 100644 --- a/doc/html/canvas-chart-example.html +++ b/doc/html/canvas-chart-example.html @@ -614,7 +614,7 @@ void <a name="f604"></a>ChartForm::fileQuit() { if ( okToClear() ) { saveOptions(); -<a name="x2875"></a> qApp-><a href="ntqapplication.html#exit">exit</a>( 0 ); +<a name="x2875"></a> tqApp-><a href="ntqapplication.html#exit">exit</a>( 0 ); } } diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html index 40f6d9c8d..c9a0b0c0d 100644 --- a/doc/html/canvas-example.html +++ b/doc/html/canvas-example.html @@ -214,7 +214,7 @@ bool <a name="f624"></a>ImageItem::hit( const <a href="ntqpoint.html">TQPoint</a <a name="x2934"></a> if ( !image.<a href="ntqimage.html#valid">valid</a>( ix , iy ) ) return FALSE; <a name="x2933"></a> TQRgb pixel = image.<a href="ntqimage.html#pixel">pixel</a>( ix, iy ); - return qAlpha( pixel ) != 0; + return tqAlpha( pixel ) != 0; } class NodeItem: public <a href="qcanvasellipse.html">TQCanvasEllipse</a> @@ -454,7 +454,7 @@ static TQImage *logoimg; file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Print...", this, SLOT(print()), CTRL+Key_P); file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("E&xit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>("E&xit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q); menu-><a href="ntqmenudata.html#insertItem">insertItem</a>("&File", file); <a href="ntqpopupmenu.html">TQPopupMenu</a>* edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menu ); @@ -544,9 +544,9 @@ void <a name="f627"></a>Main::newView() { // Open a new view... have it delete when closed. Main *m = new Main(canvas, 0, 0, WDestructiveClose); - qApp-><a href="ntqapplication.html#setMainWidget">setMainWidget</a>(m); + tqApp-><a href="ntqapplication.html#setMainWidget">setMainWidget</a>(m); m-><a href="ntqwidget.html#show">show</a>(); - qApp-><a href="ntqapplication.html#setMainWidget">setMainWidget</a>(0); + tqApp-><a href="ntqapplication.html#setMainWidget">setMainWidget</a>(0); } void <a name="f628"></a>Main::clear() @@ -922,7 +922,7 @@ int main(int argc, char** argv) else <a name="x2968"></a> m.<a href="ntqwidget.html#showMaximized">showMaximized</a>(); - TQObject::<a href="ntqobject.html#connect">connect</a>( qApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + TQObject::<a href="ntqobject.html#connect">connect</a>( tqApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); return app.<a href="ntqapplication.html#exec">exec</a>(); } diff --git a/doc/html/chart-chartform-cpp.html b/doc/html/chart-chartform-cpp.html index 22b65df74..e106621f9 100644 --- a/doc/html/chart-chartform-cpp.html +++ b/doc/html/chart-chartform-cpp.html @@ -402,7 +402,7 @@ void <a name="f156"></a>ChartForm::fileQuit() { if ( okToClear() ) { saveOptions(); -<a name="x2875"></a> qApp-><a href="ntqapplication.html#exit">exit</a>( 0 ); +<a name="x2875"></a> tqApp-><a href="ntqapplication.html#exit">exit</a>( 0 ); } } diff --git a/doc/html/clientserver-example.html b/doc/html/clientserver-example.html index 5753ac9a2..93a9f3009 100644 --- a/doc/html/clientserver-example.html +++ b/doc/html/clientserver-example.html @@ -170,7 +170,7 @@ public: connect( server, SIGNAL(newConnect(ClientSocket*)), SLOT(newConnect(ClientSocket*)) ); - connect( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, + connect( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); } @@ -249,7 +249,7 @@ public: <a name="x792"></a> connect( send, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), SLOT(sendToServer()) ); connect( close, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), SLOT(closeConnection()) ); - connect( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + connect( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); // create the socket and connect various of its signals socket = new <a href="ntqsocket.html">TQSocket</a>( this ); diff --git a/doc/html/desktop-example.html b/doc/html/desktop-example.html index 1d778ace4..8f2458094 100644 --- a/doc/html/desktop-example.html +++ b/doc/html/desktop-example.html @@ -163,7 +163,7 @@ void rotate() const int h = 64; <a href="ntqimage.html">TQImage</a> image( w, h, 8, 128 ); // create image for ( i=0; i<128; i++ ) // build color table -<a name="x1730"></a> image.<a href="ntqimage.html#setColor">setColor</a>( i, qRgb(i,0,0) ); +<a name="x1730"></a> image.<a href="ntqimage.html#setColor">setColor</a>( i, tqRgb(i,0,0) ); for ( int y=0; y<h; y++ ) { // set image pixels <a name="x1729"></a> uchar *p = image.<a href="ntqimage.html#scanLine">scanLine</a>(y); for ( int x=0; x<w; x++ ) @@ -303,7 +303,7 @@ void desktopWidget( const char *s = "Trolltech" ) { DesktopWidget *t = new DesktopWidget(s); t-><a href="ntqwidget.html#update">update</a>(); - qApp-><a href="ntqapplication.html#exec">exec</a>(); + tqApp-><a href="ntqapplication.html#exec">exec</a>(); delete t; } @@ -311,7 +311,7 @@ void desktopText( const char *s = "Trolltech" ) { const int border = 20; -<a name="x1723"></a> <a href="ntqcolor.html">TQColor</a> c1 = qApp-><a href="ntqapplication.html#palette">palette</a>().inactive().background(); +<a name="x1723"></a> <a href="ntqcolor.html">TQColor</a> c1 = tqApp-><a href="ntqapplication.html#palette">palette</a>().inactive().background(); <a href="ntqcolor.html">TQColor</a> c2 = c1.<a href="ntqcolor.html#light">light</a>(104); <a href="ntqcolor.html">TQColor</a> c3 = c1.<a href="ntqcolor.html#dark">dark</a>(106); @@ -322,8 +322,8 @@ void desktopText( const char *s = "Trolltech" ) <a name="x1738"></a> <a href="ntqrect.html">TQRect</a> r = p.<a href="ntqpainter.html#fontMetrics">fontMetrics</a>().boundingRect( s ); p.<a href="ntqpainter.html#end">end</a>(); - int appWidth = qApp-><a href="ntqapplication.html#desktop">desktop</a>()->width(); - int appHeight = qApp-><a href="ntqapplication.html#desktop">desktop</a>()->height(); + int appWidth = tqApp-><a href="ntqapplication.html#desktop">desktop</a>()->width(); + int appHeight = tqApp-><a href="ntqapplication.html#desktop">desktop</a>()->height(); if ( r.<a href="ntqrect.html#width">width</a>() > appWidth - border*2 ) <a name="x1753"></a> r.<a href="ntqrect.html#setWidth">setWidth</a>( appWidth - border*2 ); if ( r.<a href="ntqrect.html#height">height</a>() > appHeight - border*2 ) @@ -335,7 +335,7 @@ void desktopText( const char *s = "Trolltech" ) drawShadeText( &p, -r.<a href="ntqrect.html#x">x</a>() + border, -r.<a href="ntqrect.html#y">y</a>() + border, s, c2, c3 ); p.<a href="ntqpainter.html#end">end</a>(); - qApp-><a href="ntqapplication.html#desktop">desktop</a>()->setBackgroundPixmap( pm ); + tqApp-><a href="ntqapplication.html#desktop">desktop</a>()->setBackgroundPixmap( pm ); } // diff --git a/doc/html/fileiconview-example.html b/doc/html/fileiconview-example.html index b835b6f3d..b2b2b0da5 100644 --- a/doc/html/fileiconview-example.html +++ b/doc/html/fileiconview-example.html @@ -772,7 +772,7 @@ void <a name="f305"></a>TQtFileIconView::newDirectory() <a name="x849"></a> item-><a href="qiconviewitem.html#setSelected">setSelected</a>( TRUE, TRUE ); <a href="ntqiconview.html#setCurrentItem">setCurrentItem</a>( item ); <a href="ntqiconview.html#repaintItem">repaintItem</a>( item ); -<a name="x808"></a> qApp-><a href="ntqapplication.html#processEvents">processEvents</a>(); +<a name="x808"></a> tqApp-><a href="ntqapplication.html#processEvents">processEvents</a>(); <a name="x845"></a> item-><a href="qiconviewitem.html#rename">rename</a>(); } <a href="ntqiconview.html#setAutoArrange">setAutoArrange</a>( TRUE ); diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index a72528c9c..190056972 100644 --- a/doc/html/helpviewer-example.html +++ b/doc/html/helpviewer-example.html @@ -174,7 +174,7 @@ private: file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Print"), this, SLOT( print() ), CTRL+Key_P ); file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Close"), this, SLOT( <a href="ntqwidget.html#close">close</a>() ), CTRL+Key_Q ); -<a name="x980"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), qApp, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_X ); +<a name="x980"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), tqApp, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_X ); // The same three icons are used twice each. <a href="ntqiconset.html">TQIconSet</a> icon_back( TQPixmap("back.xpm") ); diff --git a/doc/html/httpd-example.html b/doc/html/httpd-example.html index 733d2e299..08673f7b1 100644 --- a/doc/html/httpd-example.html +++ b/doc/html/httpd-example.html @@ -145,7 +145,7 @@ public: connect( httpd, SIGNAL(newConnect()), SLOT(newConnect()) ); connect( httpd, SIGNAL(endConnect()), SLOT(endConnect()) ); connect( httpd, SIGNAL(wroteToClient()), SLOT(wroteToClient()) ); -<a name="x724"></a> connect( quit, SIGNAL(<a href="ntqbutton.html#pressed">pressed</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<a name="x724"></a> connect( quit, SIGNAL(<a href="ntqbutton.html#pressed">pressed</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); } ~HttpInfo() diff --git a/doc/html/i18n-example.html b/doc/html/i18n-example.html index a517c9493..88a09baa5 100644 --- a/doc/html/i18n-example.html +++ b/doc/html/i18n-example.html @@ -112,7 +112,7 @@ private: <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>(central); <a href="ntqpopupmenu.html">TQPopupMenu</a>* file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>(this); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), <a name="x1921"></a> TQAccel::<a href="ntqaccel.html#stringToKey">stringToKey</a>(<a href="ntqobject.html#tr">tr</a>("Ctrl+Q")) ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="ntqobject.html#tr">tr</a>("&File"), file ); @@ -229,7 +229,7 @@ MyWidget* showLang(TQString lang) static TQTranslator *translator = 0; -<a name="x1934"></a> qApp-><a href="ntqapplication.html#setPalette">setPalette</a>(TQPalette(TQColor(220-rand()%64,220-rand()%64,220-rand()%64))); +<a name="x1934"></a> tqApp-><a href="ntqapplication.html#setPalette">setPalette</a>(TQPalette(TQColor(220-rand()%64,220-rand()%64,220-rand()%64))); lang = "mywidget_" + lang + ".qm"; <a href="ntqfileinfo.html">TQFileInfo</a> fi( lang ); @@ -241,12 +241,12 @@ MyWidget* showLang(TQString lang) return 0; } if ( translator ) { -<a name="x1932"></a> qApp-><a href="ntqapplication.html#removeTranslator">removeTranslator</a>( translator ); +<a name="x1932"></a> tqApp-><a href="ntqapplication.html#removeTranslator">removeTranslator</a>( translator ); delete translator; } translator = new <a href="ntqtranslator.html">TQTranslator</a>( 0 ); <a name="x1950"></a> translator-><a href="ntqtranslator.html#load">load</a>( lang, "." ); -<a name="x1930"></a> qApp-><a href="ntqapplication.html#installTranslator">installTranslator</a>( translator ); +<a name="x1930"></a> tqApp-><a href="ntqapplication.html#installTranslator">installTranslator</a>( translator ); MyWidget *m = new MyWidget; <a name="x1951"></a> m-><a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - <a href="i18n.html#i18n">i18n</a> - " + m-><a href="ntqwidget.html#caption">caption</a>() ); return m; @@ -284,7 +284,7 @@ int main( int argc, char** argv ) <a name="x1936"></a> r = dlg.<a href="ntqdialog.html#exec">exec</a>(); } if ( r ) { -<a name="x1928"></a> <a href="ntqrect.html">TQRect</a> screen = qApp-><a href="ntqapplication.html#desktop">desktop</a>()->availableGeometry(); +<a name="x1928"></a> <a href="ntqrect.html">TQRect</a> screen = tqApp-><a href="ntqapplication.html#desktop">desktop</a>()->availableGeometry(); bool tight = screen.<a href="ntqrect.html#width">width</a>() < 1024; <a name="x1942"></a> int x=screen.<a href="ntqrect.html#left">left</a>()+5; int y=screen.<a href="ntqrect.html#top">top</a>()+25; @@ -293,7 +293,7 @@ int main( int argc, char** argv ) MyWidget* w = showLang((const char*)qm[i]); if( w == 0 ) exit( 0 ); - TQObject::<a href="ntqobject.html#connect">connect</a>(w, SIGNAL(closed()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); + TQObject::<a href="ntqobject.html#connect">connect</a>(w, SIGNAL(closed()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); <a name="x1953"></a> w-><a href="ntqwidget.html#setGeometry">setGeometry</a>(x,y,197,356); w-><a href="ntqwidget.html#show">show</a>(); if ( tight ) { diff --git a/doc/html/i18n.html b/doc/html/i18n.html index a49407e1c..14b5a0be6 100644 --- a/doc/html/i18n.html +++ b/doc/html/i18n.html @@ -204,7 +204,7 @@ directly: void same_global_function( LoginWidget *logwid ) { <a href="ntqlabel.html">TQLabel</a> *label = new <a href="ntqlabel.html">TQLabel</a>( - qApp-><a href="ntqapplication.html#translate">translate</a>("LoginWidget", "Password:"), + tqApp-><a href="ntqapplication.html#translate">translate</a>("LoginWidget", "Password:"), logwid ); } </pre> @@ -240,7 +240,7 @@ The macros expand to just the text (without the context). <a href="ntqstring.html">TQString</a> global_greeting( int greet_type ) { - return qApp-><a href="ntqapplication.html#translate">translate</a>( "FriendlyConversation", + return tqApp-><a href="ntqapplication.html#translate">translate</a>( "FriendlyConversation", greeting_strings[greet_type] ); } </pre> diff --git a/doc/html/layout-example.html b/doc/html/layout-example.html index a70717757..c79f41acd 100644 --- a/doc/html/layout-example.html +++ b/doc/html/layout-example.html @@ -76,7 +76,7 @@ public: <a name="x540"></a> menubar-><a href="ntqmenubar.html#setSeparator">setSeparator</a>( TQMenuBar::InWindowsStyle ); <a href="ntqpopupmenu.html">TQPopupMenu</a>* popup; popup = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - popup-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + popup-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); menubar-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&File", popup ); // ...and tell the layout about it. diff --git a/doc/html/linguist-manual-4.html b/doc/html/linguist-manual-4.html index 97645ddf5..8a5e52c57 100644 --- a/doc/html/linguist-manual-4.html +++ b/doc/html/linguist-manual-4.html @@ -102,7 +102,7 @@ body { background: #ffffff; color: black; } rbh = new TQRadioButton( tr("Enabled", "Hue frame"), this ); </pre> <!-- index Ctrl Key --><p>Ctrl key accelerators are also translatable:</p> -<pre> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), +<pre> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), <a href="ntqobject.html#tr">tr</a>("Ctrl+Q", "Quit") ); </pre> <p>It is strongly recommended that the two argument form of <tt>tr()</tt> is used for Ctrl key accelerators. The second argument is the only clue the translator has as to the function performed by the accelerator.</p> @@ -136,7 +136,7 @@ body { background: #ffffff; color: black; } void same_global_function( LoginWidget *logwid ) { TQLabel *label = new TQLabel( - qApp->translate("LoginWidget", "Password:"), + tqApp->translate("LoginWidget", "Password:"), logwid ); } </pre> @@ -167,7 +167,7 @@ body { background: #ffffff; color: black; } TQString global_greeting( int greet_type ) { - return qApp->translate( "FriendlyConversation", + return tqApp->translate( "FriendlyConversation", greeting_strings[greet_type] ); } </pre> @@ -317,7 +317,7 @@ TRANSLATIONS = tt2_fr.ts \ </pre> <!-- index TQ_OBJECT --><!-- index tr() --><!-- index TQObject!tr() --><!-- index Translation Contexts --><!-- index Contexts!for Translation --> <p>When <a href="linguist-manual-2.html#2">lupdate</a> is run it not only extracts the source texts but it also groups them into contexts. A context is the name of the class in which the source text appears. Thus, in this example, "ArrowPad" is a context: it is the context of the texts in the <tt>ArrowPad</tt> class. The <tt>TQ_OBJECT</tt> macro defines <tt>tr(x)</tt> in <tt>ArrowPad</tt> like this</p> <!-- index TQApplication!translate() --><!-- index translate()!TQApplication --><pre> - qApp->translate( "ArrowPad", x ) + tqApp->translate( "ArrowPad", x ) </pre> <p>Knowing which class each source text appears in enables <em>TQt Linguist</em> to group texts that are logically related together, e.g. all the text in a dialog will have the context of the dialog's class name and will be shown together. This provides useful information for the translator since the context in which text appears may influence how it should be translated. For some translations keyboard accelerators may need to be changed and having all the source texts in a particular context (class) grouped together makes it easier for the translator to perform any accelerator changes without introducing conflicts.</p> <p>In <tt>arrowpad.cpp</tt> we implement the <tt>ArrowPad</tt> class.</p> @@ -336,7 +336,7 @@ TRANSLATIONS = tt2_fr.ts \ <pre> ArrowPad *ap = new ArrowPad( this, "arrow pad" ); </pre> <p>We also call <tt>MainWindow::tr()</tt> twice, once for the menu item and once for the accelerator.</p> -<!-- index Ctrl Key --><!-- index Alt Key --><pre> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), +<!-- index Ctrl Key --><!-- index Alt Key --><pre> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), <a href="ntqobject.html#tr">tr</a>("Ctrl+Q", "Quit") ); </pre> <p>Note the use of <tt>tr()</tt> to support different keys in other languages. "Ctrl+Q" is a good choice for Quit in English, but a Dutch translator might want to use "Ctrl+A" (for Afsluiten) and a German translator "Strg+E" (for Beenden). When using <tt>tr()</tt> for Ctrl key accelerators, the two argument form should be used with the second argument describing the function that the accelerator performs.</p> @@ -452,7 +452,7 @@ TRANSLATIONS = tt3_pt.ts <pre> <a href="ntqwidget.html#setCaption">setCaption</a>( <a href="ntqobject.html#tr">tr</a>("Troll Print 1.0") ); </pre> <p>We must translate the window's caption.</p> -<pre> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), +<pre> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), <a href="ntqobject.html#tr">tr</a>("Ctrl+Q", "Quit") ); <a href="ntqpopupmenu.html">TQPopupMenu</a> *help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); help-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&About"), this, SLOT(about()), Key_F1 ); diff --git a/doc/html/mail-example.html b/doc/html/mail-example.html index e5200c75e..e3c895e22 100644 --- a/doc/html/mail-example.html +++ b/doc/html/mail-example.html @@ -220,7 +220,7 @@ void <a name="f300"></a>Smtp::readyRead() return; } else { // something broke. -<a name="x708"></a><a name="x704"></a> TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( qApp-><a href="ntqapplication.html#activeWindow">activeWindow</a>(), +<a name="x708"></a><a name="x704"></a> TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( tqApp-><a href="ntqapplication.html#activeWindow">activeWindow</a>(), <a href="ntqobject.html#tr">tr</a>( "TQt Mail Example" ), <a href="ntqobject.html#tr">tr</a>( "Unexpected reply from SMTP server:\n\n" ) + response ); diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html index 48022b476..94cf3aafe 100644 --- a/doc/html/mdi-example.html +++ b/doc/html/mdi-example.html @@ -233,7 +233,7 @@ const char * filePrintText = "Click this button to print the file you " #endif file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, SLOT(closeWindow()), CTRL+Key_W ); -<a name="x2020"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", qApp, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); +<a name="x2020"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); windowsMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); <a name="x2049"></a> windowsMenu-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); diff --git a/doc/html/menu-example.html b/doc/html/menu-example.html index 6b17e6b47..891614463 100644 --- a/doc/html/menu-example.html +++ b/doc/html/menu-example.html @@ -242,7 +242,7 @@ private: file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Print", print, CTRL+Key_P ); file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "E&xit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "E&xit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q ); <a href="ntqpopupmenu.html">TQPopupMenu</a> *edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( edit ); diff --git a/doc/html/motif-customwidget-example.html b/doc/html/motif-customwidget-example.html index ea42cd026..01e80d33d 100644 --- a/doc/html/motif-customwidget-example.html +++ b/doc/html/motif-customwidget-example.html @@ -97,7 +97,7 @@ int main( int argc, char **argv ) : <a href="ntqmainwindow.html">TQMainWindow</a>( 0, "mainwindow" ) { <a href="ntqpopupmenu.html">TQPopupMenu</a> *filemenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - filemenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Quit"), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + filemenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Quit"), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="ntqobject.html#tr">tr</a>("&File"), filemenu ); <a href="ntqmainwindow.html#statusBar">statusBar</a>()->message( <a href="ntqobject.html#tr">tr</a>("This is a TQMainWindow with an XmText widget.") ); diff --git a/doc/html/movies-example.html b/doc/html/movies-example.html index da55fea68..dd3967d87 100644 --- a/doc/html/movies-example.html +++ b/doc/html/movies-example.html @@ -292,7 +292,7 @@ void <a name="f259"></a>MovieStarter::startMovie(const <a href="ntqstring.html"> <a name="x495"></a>void MovieStarter::<a href="ntqdialog.html#done">done</a>( int r ) { if (r != Accepted) - qApp-><a href="ntqapplication.html#quit">quit</a>(); // end on Cancel + tqApp-><a href="ntqapplication.html#quit">quit</a>(); // end on Cancel <a href="ntqdialog.html#setResult">setResult</a>( r ); // And don't hide. @@ -317,7 +317,7 @@ int main(int argc, char **argv) (void)new MovieScreen(argv[arg], TQMovie(argv[arg]), 0, 0, TQt::WDestructiveClose); } - TQObject::<a href="ntqobject.html#connect">connect</a>(qApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); + TQObject::<a href="ntqobject.html#connect">connect</a>(tqApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); } else { // "GUI" mode - open a chooser for movies // diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index ef34d5a9b..07f5573f4 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -696,10 +696,10 @@ entry in the file menu as shown in the following code example: <p> <pre> // the "Quit" menu entry should try to close all windows <a href="ntqpopupmenu.html">TQPopupMenu</a>* file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", qApp, SLOT(<a href="#closeAllWindows">closeAllWindows</a>()), CTRL+Key_Q ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, SLOT(<a href="#closeAllWindows">closeAllWindows</a>()), CTRL+Key_Q ); // when the last window is closed, the application should quit - <a href="ntqobject.html#connect">connect</a>( qApp, SIGNAL( <a href="#lastWindowClosed">lastWindowClosed</a>() ), qApp, SLOT( <a href="#quit">quit</a>() ) ); + <a href="ntqobject.html#connect">connect</a>( tqApp, SIGNAL( <a href="#lastWindowClosed">lastWindowClosed</a>() ), tqApp, SLOT( <a href="#quit">quit</a>() ) ); </pre> <p> The windows are closed in random order, until one window does not @@ -1027,8 +1027,8 @@ reimplementing this virtual function is just one of them. All five approaches are listed below: <ol type=1> <li> Reimplementing this function. This is very powerful, providing -complete control; but only one subclass can be qApp. -<p> <li> Installing an event filter on qApp. Such an event filter is able +complete control; but only one subclass can be tqApp. +<p> <li> Installing an event filter on tqApp. Such an event filter is able to process all events for all widgets, so it's just as powerful as reimplementing <a href="#notify">notify</a>(); furthermore, it's possible to have more than one application-global event filter. Global event filters even @@ -1126,7 +1126,7 @@ you also often connect e.g. <a href="ntqbutton.html#clicked">TQButton::clicked</ <p> Example: <pre> <a href="ntqpushbutton.html">TQPushButton</a> *quitButton = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit" ); - <a href="ntqobject.html#connect">connect</a>( quitButton, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quitButton, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="#quit">quit</a>()) ); </pre> <p> <p>See also <a href="#exit">exit</a>(), <a href="#aboutToQuit">aboutToQuit</a>(), <a href="#lastWindowClosed">lastWindowClosed</a>(), and <a href="ntqaction.html">TQAction</a>. diff --git a/doc/html/ntqcolor.html b/doc/html/ntqcolor.html index 24ed8f71a..465af1901 100644 --- a/doc/html/ntqcolor.html +++ b/doc/html/ntqcolor.html @@ -92,7 +92,7 @@ body { background: #ffffff; color: black; } <li class=fn>TQRgb <a href="#qRgb"><b>qRgb</b></a> ( int r, int g, int b )</li> <li class=fn>TQRgb <a href="#qRgba"><b>qRgba</b></a> ( int r, int g, int b, int a )</li> <li class=fn>int <a href="#qGray"><b>qGray</b></a> ( int r, int g, int b )</li> -<li class=fn>int <a href="#qGray-2"><b>qGray</b></a> ( qRgb rgb )</li> +<li class=fn>int <a href="#qGray-2"><b>qGray</b></a> ( tqRgb rgb )</li> </ul> <hr><a name="details"></a><h2>Detailed Description</h2> @@ -569,7 +569,7 @@ Reads a color object, <em>c</em>, from the stream, <em>s</em>. <p> The gray value is calculated using the formula (r*11 + g*16 + b*5)/32. -<h3 class=fn>int <a name="qGray-2"></a>qGray ( qRgb rgb ) +<h3 class=fn>int <a name="qGray-2"></a>qGray ( tqRgb rgb ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> diff --git a/doc/html/ntqfile.html b/doc/html/ntqfile.html index 58efb3bc6..61ebcb6a6 100644 --- a/doc/html/ntqfile.html +++ b/doc/html/ntqfile.html @@ -229,7 +229,7 @@ should translate it first, for example: TQMessageBox::<a href="ntqmessagebox.html#critical">critical</a>( this, tr("Open failed"), - tr("Could not open file for reading: %1").arg( qApp-><a href="ntqapplication.html#translate">translate</a>("TQFile",f.<a href="#errorString">errorString</a>()) ) + tr("Could not open file for reading: %1").arg( tqApp-><a href="ntqapplication.html#translate">translate</a>("TQFile",f.<a href="#errorString">errorString</a>()) ) ); return; } diff --git a/doc/html/ntqglcolormap.html b/doc/html/ntqglcolormap.html index 3468ee647..9de907b3f 100644 --- a/doc/html/ntqglcolormap.html +++ b/doc/html/ntqglcolormap.html @@ -92,7 +92,7 @@ in child widgets. // This will fill the colormap with colors ranging from // black to white. for ( int i = 0; i < colormap.<a href="#size">size</a>(); i++ ) - colormap.<a href="#setEntry">setEntry</a>( i, qRgb( i, i, i ) ); + colormap.<a href="#setEntry">setEntry</a>( i, tqRgb( i, i, i ) ); widget.setColormap( colormap ); widget.show(); diff --git a/doc/html/ntqimage.html b/doc/html/ntqimage.html index 0fa297597..2e04c4c0f 100644 --- a/doc/html/ntqimage.html +++ b/doc/html/ntqimage.html @@ -182,7 +182,7 @@ because they have a single byte per pixel: <p> <pre> TQImage image; // set entry 19 in the color table to yellow - image.<a href="#setColor">setColor</a>( 19, qRgb(255,255,0) ); + image.<a href="#setColor">setColor</a>( 19, tqRgb(255,255,0) ); // set 8 bit pixel at (x,y) to value yellow (in color table) *(image.<a href="#scanLine">scanLine</a>(y) + x) = 19; </pre> diff --git a/doc/html/ntqprogressdialog.html b/doc/html/ntqprogressdialog.html index 68d8f3cbf..9844b2b14 100644 --- a/doc/html/ntqprogressdialog.html +++ b/doc/html/ntqprogressdialog.html @@ -126,7 +126,7 @@ TQProgressDialog progress( "Copying files...", "Abort Copy", numFiles, this, "progress", TRUE ); for ( int i = 0; i < numFiles; i++ ) { progress.setProgress( i ); - qApp-><a href="ntqapplication.html#processEvents">processEvents</a>(); + tqApp-><a href="ntqapplication.html#processEvents">processEvents</a>(); if ( progress.wasCanceled() ) break; diff --git a/doc/html/ntqsplashscreen.html b/doc/html/ntqsplashscreen.html index da8cfa38e..b2646ebb4 100644 --- a/doc/html/ntqsplashscreen.html +++ b/doc/html/ntqsplashscreen.html @@ -114,10 +114,10 @@ call <a href="ntqapplication.html#processEvents">TQApplication::processEvents</a splash-><a href="ntqwidget.html#show">show</a>(); ... // Loading some items splash-><a href="#message">message</a>( "Loaded modules" ); - qApp-><a href="ntqapplication.html#processEvents">processEvents</a>(); + tqApp-><a href="ntqapplication.html#processEvents">processEvents</a>(); ... // Establishing connections splash-><a href="#message">message</a>( "Established connections" ); - qApp-><a href="ntqapplication.html#processEvents">processEvents</a>(); + tqApp-><a href="ntqapplication.html#processEvents">processEvents</a>(); </pre> <p> <p>See also <a href="misc.html">Miscellaneous Classes</a>. diff --git a/doc/html/process-example.html b/doc/html/process-example.html index d3b8ef8c0..0ee3cba54 100644 --- a/doc/html/process-example.html +++ b/doc/html/process-example.html @@ -83,7 +83,7 @@ private: output = new <a href="ntqtextview.html">TQTextView</a>( this ); quitButton = new <a href="ntqpushbutton.html">TQPushButton</a>( <a href="ntqobject.html#tr">tr</a>("Quit"), this ); <a href="ntqobject.html#connect">connect</a>( quitButton, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), - qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a href="ntqwidget.html#resize">resize</a>( 500, 500 ); // TQProcess related code diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html index a5ae52bca..465316bd9 100644 --- a/doc/html/progress-example.html +++ b/doc/html/progress-example.html @@ -192,7 +192,7 @@ public: file-><a href="ntqmenudata.html#insertItem">insertItem</a>( drawItemText(i), i ); <a name="x67"></a> connect( menubar, SIGNAL(<a href="ntqmenubar.html#activated">activated</a>(int)), this, SLOT(doMenuItem(int)) ); <a name="x69"></a> file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Quit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Quit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>(); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( options ); diff --git a/doc/html/qaction-application-example.html b/doc/html/qaction-application-example.html index 89c4f8892..5431f196b 100644 --- a/doc/html/qaction-application-example.html +++ b/doc/html/qaction-application-example.html @@ -189,7 +189,7 @@ private: fileQuitAction = new <a href="ntqaction.html">TQAction</a>( "Quit", "&Quit", CTRL+Key_Q, this, "quit" ); -<a name="x1127"></a> <a href="ntqobject.html#connect">connect</a>( fileQuitAction, SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , qApp, +<a name="x1127"></a> <a href="ntqobject.html#connect">connect</a>( fileQuitAction, SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , tqApp, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ) ); // populate a tool bar with some actions diff --git a/doc/html/qapplication-h.html b/doc/html/qapplication-h.html index 858534ed1..cd72c34da 100644 --- a/doc/html/qapplication-h.html +++ b/doc/html/qapplication-h.html @@ -100,7 +100,7 @@ class TQMutex; class TQApplication; -extern Q_EXPORT TQApplication *qApp; // global application object +extern Q_EXPORT TQApplication *tqApp; // global application object class Q_EXPORT TQApplication : public TQObject @@ -532,10 +532,10 @@ inline TQSize TQApplication::globalStrut() } inline bool TQApplication::sendEvent( TQObject *receiver, TQEvent *event ) -{ if ( event ) event->spont = FALSE; return qApp ? qApp->notify( receiver, event ) : FALSE; } +{ if ( event ) event->spont = FALSE; return tqApp ? tqApp->notify( receiver, event ) : FALSE; } inline bool TQApplication::sendSpontaneousEvent( TQObject *receiver, TQEvent *event ) -{ if ( event ) event->spont = TRUE; return qApp ? qApp->notify( receiver, event ) : FALSE; } +{ if ( event ) event->spont = TRUE; return tqApp ? tqApp->notify( receiver, event ) : FALSE; } #ifdef QT_NO_TRANSLATION // Simple versions diff --git a/doc/html/qcolor-h.html b/doc/html/qcolor-h.html index ccfea5d58..4dd1737ed 100644 --- a/doc/html/qcolor-h.html +++ b/doc/html/qcolor-h.html @@ -82,31 +82,31 @@ body { background: #ffffff; color: black; } #include "ntqstringlist.h" #endif // QT_H -const TQRgb RGB_MASK = 0x00ffffff; // masks RGB values +const TQRgb TQT_RGB_MASK = 0x00ffffff; // masks RGB values -Q_EXPORT inline int qRed( TQRgb rgb ) // get red part of RGB +Q_EXPORT inline int tqRed( TQRgb rgb ) // get red part of RGB { return (int)((rgb >> 16) & 0xff); } -Q_EXPORT inline int qGreen( TQRgb rgb ) // get green part of RGB +Q_EXPORT inline int tqGreen( TQRgb rgb ) // get green part of RGB { return (int)((rgb >> 8) & 0xff); } -Q_EXPORT inline int qBlue( TQRgb rgb ) // get blue part of RGB +Q_EXPORT inline int tqBlue( TQRgb rgb ) // get blue part of RGB { return (int)(rgb & 0xff); } -Q_EXPORT inline int qAlpha( TQRgb rgb ) // get alpha part of RGBA +Q_EXPORT inline int tqAlpha( TQRgb rgb ) // get alpha part of RGBA { return (int)((rgb >> 24) & 0xff); } -Q_EXPORT inline TQRgb qRgb( int r, int g, int b )// set RGB value +Q_EXPORT inline TQRgb tqRgb( int r, int g, int b )// set RGB value { return (0xff << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); } -Q_EXPORT inline TQRgb qRgba( int r, int g, int b, int a )// set RGBA value +Q_EXPORT inline TQRgb tqRgba( int r, int g, int b, int a )// set RGBA value { return ((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); } -Q_EXPORT inline int qGray( int r, int g, int b )// convert R,G,B to gray 0..255 +Q_EXPORT inline int tqGray( int r, int g, int b )// convert R,G,B to gray 0..255 { return (r*11+g*16+b*5)/32; } -Q_EXPORT inline int qGray( TQRgb rgb ) // convert RGB to gray 0..255 -{ return qGray( qRed(rgb), qGreen(rgb), qBlue(rgb) ); } +Q_EXPORT inline int tqGray( TQRgb rgb ) // convert RGB to gray 0..255 +{ return tqGray( tqRed(rgb), tqGreen(rgb), tqBlue(rgb) ); } class Q_EXPORT TQColor @@ -226,13 +226,13 @@ inline TQRgb TQColor::rgb() const { return d.argb; } inline int TQColor::red() const -{ return qRed(d.argb); } +{ return tqRed(d.argb); } inline int TQColor::green() const -{ return qGreen(d.argb); } +{ return tqGreen(d.argb); } inline int TQColor::blue() const -{ return qBlue(d.argb); } +{ return tqBlue(d.argb); } inline bool TQColor::isValid() const { diff --git a/doc/html/qgfx_qws-h.html b/doc/html/qgfx_qws-h.html index 857050969..ecaee5af2 100644 --- a/doc/html/qgfx_qws-h.html +++ b/doc/html/qgfx_qws-h.html @@ -113,9 +113,9 @@ inline ushort qt_convRgbTo16( const int r, const int g, const int b ) inline ushort qt_convRgbTo16( TQRgb c ) { - const int tr = qRed(c) << qt_red_shift; - const int tg = qGreen(c) << qt_green_shift; - const int tb = qBlue(c) >> qt_neg_blue_shift; + const int tr = tqRed(c) << qt_red_shift; + const int tg = tqGreen(c) << qt_green_shift; + const int tb = tqBlue(c) >> qt_neg_blue_shift; return (tb & qt_blue_mask) | (tg & qt_green_mask) | (tr & qt_red_mask); } @@ -129,7 +129,7 @@ inline TQRgb qt_conv16ToRgb( ushort c ) const int tg = g >> qt_green_shift; const int tb = b << qt_neg_blue_shift; - return qRgb(tr,tg,tb); + return tqRgb(tr,tg,tb); } inline void qt_conv16ToRgb( ushort c, int& r, int& g, int& b ) diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index 819d8a3ff..24cd8aa02 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -173,7 +173,7 @@ static const int timer[] = { quitButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(quitButton); - <a href="ntqobject.html#connect">connect</a>( quitButton, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quitButton, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); quitButton-><a href="ntqbutton.html#setText">setText</a>( "Quit" ); quitButton-><a href="ntqwidget.html#setGeometry">setGeometry</a>( multiSaveButton-><a href="ntqwidget.html#geometry">geometry</a>().right() + 2, 2, 10+quitButton-><a href="ntqwidget.html#fontMetrics">fontMetrics</a>().width("Quit"), 20 ); @@ -379,8 +379,8 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos) { <a name="x1776"></a> TQRgb px = image.<a href="ntqimage.html#pixel">pixel</a>(x,y); <a name="x1795"></a> pixelinfo.<a href="ntqstring.html#sprintf">sprintf</a>(" %3d,%3d,%3d #%02x%02x%02x", - <a href="ntqcolor.html#qRed">qRed</a>(px), qGreen(px), qBlue(px), - <a href="ntqcolor.html#qRed">qRed</a>(px), qGreen(px), qBlue(px)); + <a href="ntqcolor.html#qRed">qRed</a>(px), tqGreen(px), tqBlue(px), + <a href="ntqcolor.html#qRed">qRed</a>(px), tqGreen(px), tqBlue(px)); } <a href="ntqstring.html">TQString</a> label; label.<a href="ntqstring.html#sprintf">sprintf</a>( "x=%d, y=%d %s", diff --git a/doc/html/qmessagebox-h.html b/doc/html/qmessagebox-h.html index 5c6bb8333..c52826bd8 100644 --- a/doc/html/qmessagebox-h.html +++ b/doc/html/qmessagebox-h.html @@ -247,7 +247,7 @@ private: // Disabled copy constructor and operator= #define QT_REQUIRE_VERSION( argc, argv, str ) { TQString s=TQString::fromLatin1(str);\ TQString sq=TQString::fromLatin1(qVersion()); if ( (sq.section('.',0,0).toInt()<<16)+\ (sq.section('.',1,1).toInt()<<8)+sq.section('.',2,2).toInt()<(s.section('.',0,0).toInt()<<16)+\ -(s.section('.',1,1).toInt()<<8)+s.section('.',2,2).toInt() ){if ( !qApp){ int c=0; new \ +(s.section('.',1,1).toInt()<<8)+s.section('.',2,2).toInt() ){if ( !tqApp){ int c=0; new \ TQApplication(argc,argv);} TQString s = TQApplication::tr("Executable '%1' requires TQt "\ "%2, found TQt %3.").arg(TQString::fromLatin1(tqAppName())).arg(TQString::fromLatin1(\ str)).arg(TQString::fromLatin1(qVersion()) ); TQMessageBox::critical( 0, TQApplication::tr(\ diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html index c1b4413da..6f356d8ce 100644 --- a/doc/html/qwerty-example.html +++ b/doc/html/qwerty-example.html @@ -153,7 +153,7 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 }; #endif file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, SLOT(<a href="ntqwidget.html#close">close</a>()),ALT+Key_W ); -<a name="x358"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", qApp, SLOT(<a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>()), ALT+Key_Q ); +<a name="x358"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, SLOT(<a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>()), ALT+Key_Q ); <a name="x386"></a> <a href="ntqobject.html#connect">connect</a>( save_as, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, SLOT(saveAsEncoding(int)) ); <a href="ntqobject.html#connect">connect</a>( open_as, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, SLOT(openAsEncoding(int)) ); @@ -231,8 +231,8 @@ void <a name="f236"></a>Editor::rebuildCodecList() void <a name="f237"></a>Editor::newDoc() { Editor *ed = new Editor; - if ( qApp-><a href="ntqapplication.html#desktop">desktop</a>()->size().width() < 450 - || qApp-><a href="ntqapplication.html#desktop">desktop</a>()->size().height() < 450 ) { + if ( tqApp-><a href="ntqapplication.html#desktop">desktop</a>()->size().width() < 450 + || tqApp-><a href="ntqapplication.html#desktop">desktop</a>()->size().height() < 450 ) { <a name="x413"></a> ed-><a href="ntqwidget.html#showMaximized">showMaximized</a>(); } else { ed-><a href="ntqwidget.html#resize">resize</a>( 400, 400 ); @@ -476,8 +476,8 @@ int main( int argc, char **argv ) <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); -<a name="x414"></a> bool isSmall = qApp-><a href="ntqapplication.html#desktop">desktop</a>()->size().width() < 450 - || qApp-><a href="ntqapplication.html#desktop">desktop</a>()->size().height() < 450; +<a name="x414"></a> bool isSmall = tqApp-><a href="ntqapplication.html#desktop">desktop</a>()->size().width() < 450 + || tqApp-><a href="ntqapplication.html#desktop">desktop</a>()->size().height() < 450; int i; for ( i= argc <= 1 ? 0 : 1; i<argc; i++ ) { diff --git a/doc/html/qwindowdefs-h.html b/doc/html/qwindowdefs-h.html index ff2fc747d..75e2dea00 100644 --- a/doc/html/qwindowdefs-h.html +++ b/doc/html/qwindowdefs-h.html @@ -190,7 +190,7 @@ Q_EXPORT WId qt_xrootwin( int scrn ); // ### 4.0 add default arg of -1 Q_EXPORT GC qt_xget_readonly_gc( int scrn, bool monochrome ); Q_EXPORT GC qt_xget_temp_gc( int scrn, bool monochrome ); -Q_EXPORT const char *qAppClass(); // get application class +Q_EXPORT const char *tqAppClass(); // get application class #endif // Q_WS_X11 diff --git a/doc/html/richtext-example.html b/doc/html/richtext-example.html index eea3cfc2b..19cc4d3eb 100644 --- a/doc/html/richtext-example.html +++ b/doc/html/richtext-example.html @@ -182,7 +182,7 @@ static const char* sayings[] = { <a name="x466"></a> bPrev-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); -<a name="x462"></a> <a href="ntqobject.html#connect">connect</a>( bClose, SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), qApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ) ); +<a name="x462"></a> <a href="ntqobject.html#connect">connect</a>( bClose, SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), tqApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ) ); <a href="ntqobject.html#connect">connect</a>( bPrev, SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, SLOT( prev() ) ); <a href="ntqobject.html#connect">connect</a>( bNext, SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, SLOT( next() ) ); diff --git a/doc/html/rot-example.html b/doc/html/rot-example.html index 64aacf9c3..955d8f0a0 100644 --- a/doc/html/rot-example.html +++ b/doc/html/rot-example.html @@ -105,7 +105,7 @@ private: <a href="ntqpushbutton.html">TQPushButton</a> * quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this ); <a name="x1379"></a> quit-><a href="ntqwidget.html#setFocusPolicy">setFocusPolicy</a>( NoFocus ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a href="qgridlayout.html">TQGridLayout</a> * l = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 5 ); <a name="x1370"></a> l-><a href="qgridlayout.html#addWidget">addWidget</a>( left, 0, 0 ); diff --git a/doc/html/scribble-example.html b/doc/html/scribble-example.html index b354b6d93..5ee6f459f 100644 --- a/doc/html/scribble-example.html +++ b/doc/html/scribble-example.html @@ -165,7 +165,7 @@ const bool no_writing = FALSE; mousePressed( FALSE ), buffer( <a href="ntqwidget.html#width">width</a>(), height() ) { -<a name="x907"></a><a name="x906"></a> if ((qApp-><a href="ntqapplication.html#argc">argc</a>() > 0) && !buffer.load(qApp-><a href="ntqapplication.html#argv">argv</a>()[1])) +<a name="x907"></a><a name="x906"></a> if ((tqApp-><a href="ntqapplication.html#argc">argc</a>() > 0) && !buffer.load(tqApp-><a href="ntqapplication.html#argv">argv</a>()[1])) buffer.fill( <a href="ntqwidget.html#colorGroup">colorGroup</a>().base() ); <a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>( TQWidget::PaletteBase ); #ifndef QT_NO_CURSOR diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index 0c33a7ff1..209d2ace4 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -83,7 +83,7 @@ public: for (int y=0; y<2000-h; y+=h+10) { if (y == 0) { <a href="ntqbutton.html">TQButton</a>* q=new <a href="ntqpushbutton.html">TQPushButton</a>("Quit", this); - connect(q, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); + connect(q, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); } else { <a href="ntqstring.html">TQString</a> str; if ( b > 0 ) { @@ -247,7 +247,7 @@ public: <a href="ntqpopupmenu.html">TQPopupMenu</a>* file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file ); <a name="x634"></a> menubar-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&File", file ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Quit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Quit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); vp_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( vp_options ); @@ -473,7 +473,7 @@ int main( int argc, char **argv ) ve3.<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Scrollviews"); ve3.<a href="ntqwidget.html#show">show</a>(); - TQObject::<a href="ntqobject.html#connect">connect</a>(qApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); + TQObject::<a href="ntqobject.html#connect">connect</a>(tqApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); return a.<a href="ntqapplication.html#exec">exec</a>(); } diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html index 701b69304..fd1cda853 100644 --- a/doc/html/showimg-example.html +++ b/doc/html/showimg-example.html @@ -195,7 +195,7 @@ private slots: si = file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Save image", saveimage ); sp = file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Save pixmap", savepixmap ); <a name="x1328"></a> file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "E&xit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "E&xit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q ); edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); menubar-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Edit", edit ); @@ -865,7 +865,7 @@ int main( int argc, char **argv ) } } - TQObject::<a href="ntqobject.html#connect">connect</a>(qApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); + TQObject::<a href="ntqobject.html#connect">connect</a>(tqApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); return a.<a href="ntqapplication.html#exec">exec</a>(); } diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html index 25ee03d54..3676b6c75 100644 --- a/doc/html/simple-application-example.html +++ b/doc/html/simple-application-example.html @@ -206,7 +206,7 @@ private: file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, SLOT(<a href="ntqwidget.html#close">close</a>()), CTRL+Key_W ); -<a name="x1544"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", qApp, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); +<a name="x1544"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertSeparator(); diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html index 95af018e3..429e7736b 100644 --- a/doc/html/simple-application.html +++ b/doc/html/simple-application.html @@ -292,7 +292,7 @@ example for a shorter and easier approach.) file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, SLOT(<a href="ntqwidget.html#close">close</a>()), CTRL+Key_W ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", qApp, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); </pre> <p> ... the <em>Print</em> command with "What's This?" help, another separator and two more commands (<em>Close</em> and <em>Quit</em>) without "What's This?" and pixmaps. diff --git a/doc/html/sound-example.html b/doc/html/sound-example.html index 2cb987060..21cebf2ef 100644 --- a/doc/html/sound-example.html +++ b/doc/html/sound-example.html @@ -128,7 +128,7 @@ private: file-><a href="ntqmenudata.html#insertItem">insertItem</a>("Play 3 and 4 together", this, SLOT(doPlay34())); file-><a href="ntqmenudata.html#insertItem">insertItem</a>("Play all together", this, SLOT(doPlay1234())); file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("E&xit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>("E&xit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem("&File", file); } diff --git a/doc/html/t10-main-cpp.html b/doc/html/t10-main-cpp.html index 857f5e2b0..bd7de6d67 100644 --- a/doc/html/t10-main-cpp.html +++ b/doc/html/t10-main-cpp.html @@ -61,7 +61,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); diff --git a/doc/html/t11-main-cpp.html b/doc/html/t11-main-cpp.html index 54f44f725..58d2d5508 100644 --- a/doc/html/t11-main-cpp.html +++ b/doc/html/t11-main-cpp.html @@ -61,7 +61,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); diff --git a/doc/html/t12-main-cpp.html b/doc/html/t12-main-cpp.html index ab8667db6..cdfc499dc 100644 --- a/doc/html/t12-main-cpp.html +++ b/doc/html/t12-main-cpp.html @@ -61,7 +61,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); diff --git a/doc/html/t13-gamebrd-cpp.html b/doc/html/t13-gamebrd-cpp.html index cde268bbe..abf0072a3 100644 --- a/doc/html/t13-gamebrd-cpp.html +++ b/doc/html/t13-gamebrd-cpp.html @@ -56,7 +56,7 @@ body { background: #ffffff; color: black; } <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); diff --git a/doc/html/t14-gamebrd-cpp.html b/doc/html/t14-gamebrd-cpp.html index 4f677049f..8b3256dc6 100644 --- a/doc/html/t14-gamebrd-cpp.html +++ b/doc/html/t14-gamebrd-cpp.html @@ -58,7 +58,7 @@ body { background: #ffffff; color: black; } <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); @@ -112,7 +112,7 @@ body { background: #ffffff; color: black; } accel-><a href="ntqaccel.html#connectItem">connectItem</a>( accel-><a href="ntqaccel.html#insertItem">insertItem</a>( Key_Return ), this, SLOT(fire()) ); accel-><a href="ntqaccel.html#connectItem">connectItem</a>( accel-><a href="ntqaccel.html#insertItem">insertItem</a>( CTRL+Key_Q ), - qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 ); grid-><a href="qgridlayout.html#addWidget">addWidget</a>( quit, 0, 0 ); diff --git a/doc/html/t7-main-cpp.html b/doc/html/t7-main-cpp.html index 83ce9c1eb..0e1c46951 100644 --- a/doc/html/t7-main-cpp.html +++ b/doc/html/t7-main-cpp.html @@ -61,7 +61,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a href="ntqgrid.html">TQGrid</a> *grid = new <a href="ntqgrid.html">TQGrid</a>( 4, this ); diff --git a/doc/html/t8-main-cpp.html b/doc/html/t8-main-cpp.html index 7a22b88ca..2d89e6bdf 100644 --- a/doc/html/t8-main-cpp.html +++ b/doc/html/t8-main-cpp.html @@ -61,7 +61,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); diff --git a/doc/html/t9-main-cpp.html b/doc/html/t9-main-cpp.html index 8cc241ff0..12004c195 100644 --- a/doc/html/t9-main-cpp.html +++ b/doc/html/t9-main-cpp.html @@ -61,7 +61,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); diff --git a/doc/html/tabdialog-example.html b/doc/html/tabdialog-example.html index a520a6d60..151dc0cc4 100644 --- a/doc/html/tabdialog-example.html +++ b/doc/html/tabdialog-example.html @@ -106,7 +106,7 @@ protected: setupTab2(); setupTab3(); - <a href="ntqobject.html#connect">connect</a>( this, SIGNAL( <a href="ntqtabdialog.html#applyButtonPressed">applyButtonPressed</a>() ), qApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ) ); + <a href="ntqobject.html#connect">connect</a>( this, SIGNAL( <a href="ntqtabdialog.html#applyButtonPressed">applyButtonPressed</a>() ), tqApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ) ); } void <a name="f201"></a>TabDialog::setupTab1() diff --git a/doc/html/themes-example.html b/doc/html/themes-example.html index 820ea49ac..93ee95927 100644 --- a/doc/html/themes-example.html +++ b/doc/html/themes-example.html @@ -2253,7 +2253,7 @@ private: } <a name="x318"></a> ag-><a href="qactiongroup.html#addTo">addTo</a>(style); style-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - style-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Quit", qApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL | Key_Q ); + style-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Quit", tqApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL | Key_Q ); <a href="ntqpopupmenu.html">TQPopupMenu</a> * help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertSeparator(); @@ -2262,7 +2262,7 @@ private: help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "About &TQt", this, SLOT(aboutTQt())); #ifndef QT_NO_STYLE_WINDOWS -<a name="x325"></a> qApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle ); +<a name="x325"></a> tqApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle ); #endif } @@ -2270,20 +2270,20 @@ void <a name="f232"></a>Themes::makeStyle(const <a href="ntqstring.html">TQStrin { if(style == "Norwegian Wood") { #ifndef QT_NO_STYLE_WINDOWS - qApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle ); + tqApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle ); #endif } else if( style == "Metal" ) { #ifndef QT_NO_STYLE_WINDOWS - qApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new MetalStyle ); + tqApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new MetalStyle ); #endif } else { - qApp-><a href="ntqapplication.html#setStyle">setStyle</a>(style); + tqApp-><a href="ntqapplication.html#setStyle">setStyle</a>(style); if(style == "Platinum") { <a href="ntqpalette.html">TQPalette</a> p( TQColor( 239, 239, 239 ) ); -<a name="x324"></a> qApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); -<a name="x323"></a> qApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); +<a name="x324"></a> tqApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); +<a name="x323"></a> tqApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); } else if(style == "Windows") { - qApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); + tqApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); } else if(style == "CDE") { <a href="ntqpalette.html">TQPalette</a> p( TQColor( 75, 123, 130 ) ); <a name="x332"></a> p.<a href="ntqpalette.html#setColor">setColor</a>( TQPalette::Active, TQColorGroup::Base, TQColor( 55, 77, 78 ) ); @@ -2304,12 +2304,12 @@ void <a name="f232"></a>Themes::makeStyle(const <a href="ntqstring.html">TQStrin p.<a href="ntqpalette.html#setColor">setColor</a>( TQPalette::Disabled, TQColorGroup::Foreground, TQt::lightGray ); p.<a href="ntqpalette.html#setColor">setColor</a>( TQPalette::Disabled, TQColorGroup::Text, TQt::lightGray ); p.<a href="ntqpalette.html#setColor">setColor</a>( TQPalette::Disabled, TQColorGroup::ButtonText, TQt::lightGray ); - qApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); - qApp-><a href="ntqapplication.html#setFont">setFont</a>( TQFont( "times", appFont.pointSize() ), TRUE ); + tqApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); + tqApp-><a href="ntqapplication.html#setFont">setFont</a>( TQFont( "times", appFont.pointSize() ), TRUE ); } else if(style == "Motif" || style == "MotifPlus") { <a href="ntqpalette.html">TQPalette</a> p( TQColor( 192, 192, 192 ) ); - qApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); - qApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); + tqApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); + tqApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); } } } diff --git a/doc/html/threads.html b/doc/html/threads.html index 1a2fd8f20..16027c1cf 100644 --- a/doc/html/threads.html +++ b/doc/html/threads.html @@ -239,7 +239,7 @@ operations. Operations such as creating a <a href="ntqpainter.html">TQPainter</ are examples of simple GUI operations: <p> <pre> ... - qApp-><a href="ntqapplication.html#lock">lock</a>(); + tqApp-><a href="ntqapplication.html#lock">lock</a>(); <a href="ntqpainter.html">TQPainter</a> p; p.<a href="ntqpainter.html#begin">begin</a>( mywidget ); @@ -247,7 +247,7 @@ are examples of simple GUI operations: p.<a href="ntqpainter.html#drawLine">drawLine</a>( 0,0,100,100 ); p.<a href="ntqpainter.html#end">end</a>(); - qApp-><a href="ntqapplication.html#unlock">unlock</a>(); + tqApp-><a href="ntqapplication.html#unlock">unlock</a>(); ... </pre> diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index 85579a1ed..d8bc0949b 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -479,7 +479,7 @@ void <a name="f195"></a>TicTacGameBoard::computerMove() newGame = new <a href="ntqpushbutton.html">TQPushButton</a>( "Play!", this ); <a href="ntqobject.html#connect">connect</a>( newGame, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), SLOT(newGameClicked()) ); quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a href="qhboxlayout.html">TQHBoxLayout</a> * b = new <a href="qhboxlayout.html">TQHBoxLayout</a>; <a name="x19"></a> l-><a href="qboxlayout.html#addLayout">addLayout</a>( b ); b-><a href="qboxlayout.html#addWidget">addWidget</a>( newGame ); diff --git a/doc/html/tutorial1-04.html b/doc/html/tutorial1-04.html index c28d5ca57..6d0f424ac 100644 --- a/doc/html/tutorial1-04.html +++ b/doc/html/tutorial1-04.html @@ -63,7 +63,7 @@ public: quit-><a href="ntqwidget.html#setGeometry">setGeometry</a>( 62, 40, 75, 30 ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); } @@ -132,7 +132,7 @@ when you choose to, the child will automatically tell TQt about its imminent death.) <p> The setGeometry() call does the same as move() and resize() did in the previous chapters. -<p> <pre> <a name="x2306"></a><a name="x2304"></a> <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<p> <pre> <a name="x2306"></a><a name="x2304"></a> <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); } </pre> <p> Because the MyWidget class doesn't know about the application object, it @@ -141,7 +141,7 @@ has to connect to TQt's pointer to it, <tt>qApp</tt>. about its environment in order to be as general and reusable as possible. <p> Knowing the name of the application object would break this principle, -so TQt offers an alias, qApp, for the cases in which a component such as +so TQt offers an alias, tqApp, for the cases in which a component such as MyWidget needs to talk to the application object. <p> <pre> int main( int argc, char **argv ) { diff --git a/doc/html/tutorial1-05.html b/doc/html/tutorial1-05.html index 772569d0b..b7db3f3be 100644 --- a/doc/html/tutorial1-05.html +++ b/doc/html/tutorial1-05.html @@ -62,7 +62,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a href="ntqlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); diff --git a/doc/html/tutorial1-06.html b/doc/html/tutorial1-06.html index 3c9f4c9ce..fb8da088d 100644 --- a/doc/html/tutorial1-06.html +++ b/doc/html/tutorial1-06.html @@ -80,7 +80,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a href="ntqgrid.html">TQGrid</a> *grid = new <a href="ntqgrid.html">TQGrid</a>( 4, this ); @@ -139,7 +139,7 @@ is renamed. <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this, "quit" ); <a name="x2328"></a> quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a name="x2321"></a> <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a name="x2321"></a> <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); </pre> <p> The push button that used to be in what is now LCDRange has been separated so that we can have one "Quit" button and many LCDRange diff --git a/doc/html/tutorial1-14.html b/doc/html/tutorial1-14.html index f3d7a909d..c5a94dbc5 100644 --- a/doc/html/tutorial1-14.html +++ b/doc/html/tutorial1-14.html @@ -226,7 +226,7 @@ key Ctrl+Q is pressed. Because Enter is sometimes Return and there are even keyboards with <em>both</em> keys, we make both Enter and Return invoke fire(). <p> <pre> accel-><a href="ntqaccel.html#connectItem">connectItem</a>( accel-><a href="ntqaccel.html#insertItem">insertItem</a>( CTRL+Key_Q ), - qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); </pre> <p> And then we set up Ctrl+Q to do the same thing as Alt+Q. Some people are more used to Ctrl+Q (and anyway it shows how do do it). diff --git a/doc/html/tutorial2-05.html b/doc/html/tutorial2-05.html index 8583795f3..35a797c40 100644 --- a/doc/html/tutorial2-05.html +++ b/doc/html/tutorial2-05.html @@ -499,7 +499,7 @@ item id. { if ( okToClear() ) { saveOptions(); - qApp-><a href="ntqapplication.html#exit">exit</a>( 0 ); + tqApp-><a href="ntqapplication.html#exit">exit</a>( 0 ); } } </pre> diff --git a/doc/html/xform-example.html b/doc/html/xform-example.html index 864f94f5a..d6f88907d 100644 --- a/doc/html/xform-example.html +++ b/doc/html/xform-example.html @@ -327,7 +327,7 @@ void <a name="f403"></a>XFormControl::changeMode(int m) else rb_pic-><a href="ntqradiobutton.html#setChecked">setChecked</a>(TRUE); } -<a name="x1217"></a> qApp-><a href="ntqapplication.html#flushX">flushX</a>(); +<a name="x1217"></a> tqApp-><a href="ntqapplication.html#flushX">flushX</a>(); } <a name="f388"></a>ShowXForm::ShowXForm( const <a href="ntqfont.html">TQFont</a> &initialFont, |