diff --git a/doc/application-walkthrough.doc b/doc/application-walkthrough.doc index e3a5aa6a..4527eeba 100644 --- a/doc/application-walkthrough.doc +++ b/doc/application-walkthrough.doc @@ -95,7 +95,7 @@ system caption to "Document 1", and \e show() it. \target close \printline connect -When the application's last window is closed, it should tquit. Both +When the application's last window is closed, it should quit. Both the signal and the slot are predefined members of QApplication. \printline exec @@ -111,7 +111,7 @@ that QApplication returns when it leaves the event loop. \quotefile application/application.cpp -Since the implementation is tquite large (almost 300 lines) we +Since the implementation is quite large (almost 300 lines) we won't list the whole thing. (The source code is included in the examples/application directory.) Before we start with the constructor there are three \c{#include}s worth mentioning: diff --git a/doc/faq.doc b/doc/faq.doc index c187ddbf..e36d7504 100644 --- a/doc/faq.doc +++ b/doc/faq.doc @@ -122,7 +122,7 @@ Qtopia. You can find a partial list here:
\section2 Are there any books about Qt programming? -Yes, there are tquite a few books on Qt, most of them +Yes, there are quite a few books on Qt, most of them available from amazon.com. You can find a partial list at \l http://www.trolltech.com/developer/books.html. diff --git a/doc/html/addressbook-example.html b/doc/html/addressbook-example.html index d9c38d12..aa5da536 100644 --- a/doc/html/addressbook-example.html +++ b/doc/html/addressbook-example.html @@ -141,7 +141,7 @@ void ABMainWindow::setupMenuBar() file->insertItem( TQPixmap( "fileprint.xpm" ), "Print...", this, SLOT( filePrint() ), CTRL + Key_P ); file->insertSeparator(); file->insertItem( "Close", this, SLOT( closeWindow() ), CTRL + Key_W ); - file->insertItem( "Quit", qApp, SLOT( tquit() ), CTRL + Key_Q ); + file->insertItem( "Quit", qApp, SLOT( quit() ), CTRL + Key_Q ); } void ABMainWindow::setupFileTools() @@ -647,7 +647,7 @@ int main( int argc, char ** argv ) a.setMainWidget( mw ); mw->show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); int result = a.exec(); delete mw; return result; diff --git a/doc/html/archivesearch-example.html b/doc/html/archivesearch-example.html index 86e653d6..32dba910 100644 --- a/doc/html/archivesearch-example.html +++ b/doc/html/archivesearch-example.html @@ -165,7 +165,7 @@ int main(int argc, char **argv) ad.show(); TQObject::connect( &a, SIGNAL(lastWindowClosed()), - &a, SLOT(tquit()) ); + &a, SLOT(quit()) ); return a.exec(); } diff --git a/doc/html/canvas-chart-example.html b/doc/html/canvas-chart-example.html index f702c765..19df8421 100644 --- a/doc/html/canvas-chart-example.html +++ b/doc/html/canvas-chart-example.html @@ -372,7 +372,7 @@ const TQString APP_KEY = "/Chart/"; connect( optionsSetOptionsAction, SIGNAL( activated() ), this, SLOT( optionsSetOptions() ) ); - fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this, "tquit" ); + fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this, "quit" ); connect( fileQuitAction, SIGNAL( activated() ), this, SLOT( fileQuit() ) ); diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html index 804f4c1a..dc662e95 100644 --- a/doc/html/canvas-example.html +++ b/doc/html/canvas-example.html @@ -454,7 +454,7 @@ static TQImage *logoimg; file->insertSeparator(); file->insertItem("&Print...", this, SLOT(print()), CTRL+Key_P); file->insertSeparator(); - file->insertItem("E&xit", qApp, SLOT(tquit()), CTRL+Key_Q); + file->insertItem("E&xit", qApp, SLOT(quit()), CTRL+Key_Q); menu->insertItem("&File", file); TQPopupMenu* edit = new TQPopupMenu( menu ); @@ -922,7 +922,7 @@ int main(int argc, char** argv) else m.showMaximized(); - TQObject::connect( qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit()) ); + TQObject::connect( qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit()) ); return app.exec(); } diff --git a/doc/html/chart-chartform-cpp.html b/doc/html/chart-chartform-cpp.html index 2adbe2f3..0af8bdcb 100644 --- a/doc/html/chart-chartform-cpp.html +++ b/doc/html/chart-chartform-cpp.html @@ -160,7 +160,7 @@ const TQString APP_KEY = "/Chart/"; connect( optionsSetOptionsAction, SIGNAL( activated() ), this, SLOT( optionsSetOptions() ) ); - fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this, "tquit" ); + fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this, "quit" ); connect( fileQuitAction, SIGNAL( activated() ), this, SLOT( fileQuit() ) ); diff --git a/doc/html/clientserver-example.html b/doc/html/clientserver-example.html index 97547494..e43ac9e6 100644 --- a/doc/html/clientserver-example.html +++ b/doc/html/clientserver-example.html @@ -166,12 +166,12 @@ public: TQLabel *lb = new TQLabel( itext, this ); lb->setAlignment( AlignHCenter ); infoText = new TQTextView( this ); - TQPushButton *tquit = new TQPushButton( tr("Quit") , this ); + TQPushButton *quit = new TQPushButton( tr("Quit") , this ); connect( server, SIGNAL(newConnect(ClientSocket*)), SLOT(newConnect(ClientSocket*)) ); - connect( tquit, SIGNAL(clicked()), qApp, - SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, + SLOT(quit()) ); } ~ServerInfo() @@ -245,11 +245,11 @@ public: inputText = new TQLineEdit( hb ); TQPushButton *send = new TQPushButton( tr("Send") , hb ); TQPushButton *close = new TQPushButton( tr("Close connection") , this ); - TQPushButton *tquit = new TQPushButton( tr("Quit") , this ); + TQPushButton *quit = new TQPushButton( tr("Quit") , this ); connect( send, SIGNAL(clicked()), SLOT(sendToServer()) ); connect( close, SIGNAL(clicked()), SLOT(closeConnection()) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); // create the socket and connect various of its signals socket = new TQSocket( this ); diff --git a/doc/html/customlayout-example.html b/doc/html/customlayout-example.html index 5c26c5f1..30fb9f1f 100644 --- a/doc/html/customlayout-example.html +++ b/doc/html/customlayout-example.html @@ -778,7 +778,7 @@ int main( int argc, char **argv ) b1->add( new TQPushButton( "More text", f ) ); b1->add( new TQPushButton( "Even longer button text", f ) ); TQPushButton* qb = new TQPushButton( "Quit", f ); - a.connect( qb, SIGNAL( clicked() ), SLOT( tquit() ) ); + a.connect( qb, SIGNAL( clicked() ), SLOT( quit() ) ); b1->add( qb ); TQWidget *wid = new TQWidget( f ); diff --git a/doc/html/designer-manual-2.html b/doc/html/designer-manual-2.html index c8d3c488..1e9c4869 100644 --- a/doc/html/designer-manual-2.html +++ b/doc/html/designer-manual-2.html @@ -108,7 +108,7 @@ body { background: #ffffff; color: black; }

We will change a few properties for each of the push buttons in the Property Editor window.

Adding Spacers
@@ -179,9 +179,9 @@ body { background: #ffffff; color: black; }
  • Select clearPushButton for the Sender, clicked() for the Signal, numberLineEdit for the Receiver, and setFocus() for the Slot.

    -

    We also need to connect the tquit button to the form:

    +

    We also need to connect the quit button to the form:

    We want to connect the calculate button and the other widgets, but the slot we want to use is not listed in the combobox. We will need to create a new slot so that we can select it from the list to complete our connections.

    Notice that lupdate works hard behind the scenes to make revisions easier, and it's pretty smart with numbers.

    Go over the translations in MainWindow and mark these as "done". Translate "<b>TROLL PRINT</b>" as "<b>TROLL IMPRIMIR</b>". When you're translating "Two-sided", press the Guess Again button to translate "Two-sided", but change the "2" into "Dois".

    -

    Save and tquit, then run lrelease. The Portuguese version should look like this:

    +

    Save and quit, then run lrelease. The Portuguese version should look like this:

    Tutorial 3 Screenshot, "Troll Imprimir 1.1", Portuguese version

    diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html index 58f68c77..d816deb8 100644 --- a/doc/html/mdi-example.html +++ b/doc/html/mdi-example.html @@ -582,7 +582,7 @@ int main( int argc, char ** argv ) { a.setMainWidget(mw); mw->setCaption( "TQt Example - Multiple Documents Interface (MDI)" ); mw->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); int res = a.exec(); return res; } diff --git a/doc/html/menu-example.html b/doc/html/menu-example.html index 246e72ff..d734a853 100644 --- a/doc/html/menu-example.html +++ b/doc/html/menu-example.html @@ -242,7 +242,7 @@ private: file->insertSeparator(); file->insertItem( "&Print", print, CTRL+Key_P ); file->insertSeparator(); - file->insertItem( "E&xit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "E&xit", qApp, SLOT(quit()), CTRL+Key_Q ); TQPopupMenu *edit = new TQPopupMenu( this ); Q_CHECK_PTR( edit ); diff --git a/doc/html/motif-customwidget-example.html b/doc/html/motif-customwidget-example.html index fe752f50..6e02b4f8 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 ) : TQMainWindow( 0, "mainwindow" ) { TQPopupMenu *filemenu = new TQPopupMenu( this ); - filemenu->insertItem( tr("&Quit"), qApp, SLOT(tquit()) ); + filemenu->insertItem( tr("&Quit"), qApp, SLOT(quit()) ); menuBar()->insertItem( tr("&File"), filemenu ); statusBar()->message( tr("This is a TQMainWindow with an XmText widget.") ); diff --git a/doc/html/motif-dialog-example.html b/doc/html/motif-dialog-example.html index 6d4d6dac..b30ffda9 100644 --- a/doc/html/motif-dialog-example.html +++ b/doc/html/motif-dialog-example.html @@ -106,7 +106,7 @@ static void qtDialogCallback( Widget, XtPointer client_data, XtPointer ) mw->showTQtDialog(); } -static void tquitCallback( Widget, XtPointer client_data, XtPointer ) +static void quitCallback( Widget, XtPointer client_data, XtPointer ) { MainWindow *mw = (MainWindow *) client_data; mw->close(); @@ -140,7 +140,7 @@ static void tquitCallback( Widget, XtPointer client_data, XtPointer ) xmPushButtonGadgetClass, filemenu, XmNmnemonic, 'x', NULL ); - XtAddCallback( item, XmNactivateCallback, tquitCallback, this ); + XtAddCallback( item, XmNactivateCallback, quitCallback, this ); XmString str = XmStringCreateLocalized( "File" ); item = XtVaCreateManagedWidget( "File", diff --git a/doc/html/motif-walkthrough-10.html b/doc/html/motif-walkthrough-10.html index 0d09bc56..5baecdf8 100644 --- a/doc/html/motif-walkthrough-10.html +++ b/doc/html/motif-walkthrough-10.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } [ Previous: Replacing the Print Dialog ] [ Home ] -

    We have not tquite finished with the migration to TQt, even though our +

    We have not quite finished with the migration to TQt, even though our project does not use Motif any more. TQt provides many useful features that we can begin using immediately. Some of the most interesting ones are presented below as a guide for where to start extending your diff --git a/doc/html/motif-walkthrough-6.html b/doc/html/motif-walkthrough-6.html index 802f205d..ec9ce6a4 100644 --- a/doc/html/motif-walkthrough-6.html +++ b/doc/html/motif-walkthrough-6.html @@ -69,7 +69,7 @@ existing callback functions found in todo.cpp and actions.cpp. Save MainWindow::fileSave() calls the SaveIt() callback Save As MainWindow::fileSaveAs() calls the Save() callback Print MainWindow::filePrint() calls the ShowPrintDialog() callback - Exit MainWindow::fileExit() calls TQApplication::tquit() + Exit MainWindow::fileExit() calls TQApplication::quit() Selected menu Properties MainWindow::selProperties() calls the EditPage() callback New MainWindow::selNewPage() calls the NewPage() callback diff --git a/doc/html/movies-example.html b/doc/html/movies-example.html index d2b292bc..d607e6ac 100644 --- a/doc/html/movies-example.html +++ b/doc/html/movies-example.html @@ -266,7 +266,7 @@ public: public slots: void startMovie(const TQString& filename); // TQDialog's method - normally closes the file dialog. - // We want it left open, and we want Cancel to tquit everything. + // We want it left open, and we want Cancel to quit everything. void done( int r ); }; @@ -292,7 +292,7 @@ void MovieStarter::startMovie(const TQ void MovieStarter::done( int r ) { if (r != Accepted) - qApp->tquit(); // end on Cancel + qApp->quit(); // end on Cancel setResult( 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::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit())); + TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit())); } else { // "GUI" mode - open a chooser for movies // diff --git a/doc/html/network.html b/doc/html/network.html index 1ee0b25d..833a5693 100644 --- a/doc/html/network.html +++ b/doc/html/network.html @@ -75,7 +75,7 @@ This could be, for example, a protocol which can read pictures from a digital camera using a serial connection.

    Working Network Protocol independently with TQUrlOperator and TQNetworkOperation

    -

    It is tquite easy to just use existing network protocol implementations +

    It is quite easy to just use existing network protocol implementations and operate on URLs. For example, downloading a file from an FTP server to the local filesystem can be done with following code:

    diff --git a/doc/html/networkprotocol-example.html b/doc/html/networkprotocol-example.html
    index ef15570d..97473a37 100644
    --- a/doc/html/networkprotocol-example.html
    +++ b/doc/html/networkprotocol-example.html
    @@ -199,7 +199,7 @@ void Nntp::close()
     {
         // close the command socket
         if ( commandSocket->isOpen() ) {
    -        commandSocket->writeBlock( "tquit\r\n", strlen( "tquit\r\n" ) );
    +        commandSocket->writeBlock( "quit\r\n", strlen( "quit\r\n" ) );
             commandSocket->close();
         }
     }
    diff --git a/doc/html/picture-example.html b/doc/html/picture-example.html
    index 8523e188..b851d4cb 100644
    --- a/doc/html/picture-example.html
    +++ b/doc/html/picture-example.html
    @@ -132,7 +132,7 @@ void PictureDisplay::paintEvent( load( name );
                 update();
                 break;
    -        case 'q':                               // tquit
    +        case 'q':                               // quit
                 TQApplication::exit();
                 break;
         }
    diff --git a/doc/html/process-example.html b/doc/html/process-example.html
    index 839f185b..565eab30 100644
    --- a/doc/html/process-example.html
    +++ b/doc/html/process-example.html
    @@ -74,16 +74,16 @@ public slots:
     private:
         TQProcess *proc;
         TQTextView *output;
    -    TQPushButton *tquitButton;
    +    TQPushButton *quitButton;
     };
     
     UicManager::UicManager()
     {
         // Layout
         output = new TQTextView( this );
    -    tquitButton = new TQPushButton( tr("Quit"), this );
    -    connect( tquitButton, SIGNAL(clicked()),
    -            qApp, SLOT(tquit()) );
    +    quitButton = new TQPushButton( tr("Quit"), this );
    +    connect( quitButton, SIGNAL(clicked()),
    +            qApp, SLOT(quit()) );
         resize( 500, 500 );
     
         // TQProcess related code
    diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html
    index 83a14b80..e20a0aba 100644
    --- a/doc/html/progress-example.html
    +++ b/doc/html/progress-example.html
    @@ -192,7 +192,7 @@ public:
                 file->insertItem( drawItemText(i), i );
             connect( menubar, SIGNAL(activated(int)), this, SLOT(doMenuItem(int)) );
             file->insertSeparator();
    -        file->insertItem( "Quit", qApp,  SLOT(tquit()) );
    +        file->insertItem( "Quit", qApp,  SLOT(quit()) );
     
             options = new TQPopupMenu();
             Q_CHECK_PTR( options );
    diff --git a/doc/html/qaccel.html b/doc/html/qaccel.html
    index b7c1dd7f..e7e725a8 100644
    --- a/doc/html/qaccel.html
    +++ b/doc/html/qaccel.html
    @@ -180,7 +180,7 @@ Removes all accelerator items.
     
     Connects the accelerator item id to the slot member of receiver.
     

    -        a->connectItem( 201, mainView, SLOT(tquit()) );
    +        a->connectItem( 201, mainView, SLOT(quit()) );
         

    Of course, you can also send a signal as member. @@ -221,8 +221,8 @@ negative identifier less than -1.

             TQAccel *a = new TQAccel( myWindow );        // create accels for myWindow
             a->insertItem( CTRL + Key_P, 200 );        // Ctrl+P, e.g. to print document
    -        a->insertItem( ALT + Key_X, 201 );         // Alt+X, e.g. to tquit
    -        a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to tquit
    +        a->insertItem( ALT + Key_X, 201 );         // Alt+X, e.g. to quit
    +        a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to quit
             a->insertItem( Key_D );                    // gets a unique negative id < -1
             a->insertItem( CTRL + SHIFT + Key_P );     // gets a unique negative id < -1
         
    diff --git a/doc/html/qaction-application-example.html b/doc/html/qaction-application-example.html index c166a8d9..2709e863 100644 --- a/doc/html/qaction-application-example.html +++ b/doc/html/qaction-application-example.html @@ -188,7 +188,7 @@ private: SLOT( close() ) ); fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this, - "tquit" ); + "quit" ); connect( fileQuitAction, SIGNAL( activated() ) , qApp, SLOT( closeAllWindows() ) ); @@ -421,7 +421,7 @@ int main( int argc, char ** argv ) { ApplicationWindow * mw = new ApplicationWindow(); mw->setCaption( "Document 1" ); mw->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); }
    diff --git a/doc/html/qapplication-h.html b/doc/html/qapplication-h.html index a822ad04..7b26e42f 100644 --- a/doc/html/qapplication-h.html +++ b/doc/html/qapplication-h.html @@ -329,7 +329,7 @@ signals: void guiThreadAwake(); public slots: - void tquit(); + void quit(); void closeAllWindows(); void aboutTQt(); @@ -373,8 +373,8 @@ private: int app_argc; char **app_argv; - bool tquit_now; - int tquit_code; + bool quit_now; + int quit_code; static TQStyle *app_style; static int app_cspec; #ifndef QT_NO_PALETTE diff --git a/doc/html/qapplication-members.html b/doc/html/qapplication-members.html index 1b2eadbd..fb47490b 100644 --- a/doc/html/qapplication-members.html +++ b/doc/html/qapplication-members.html @@ -123,7 +123,7 @@ body { background: #ffffff; color: black; }
  • processOneEvent()
  • property()
  • queryList() -
  • tquit() +
  • quit()
  • qwsDecoration()
  • qwsEventFilter()
  • qwsSetCustomColors() diff --git a/doc/html/qapplication.html b/doc/html/qapplication.html index cfdfa098..353c3ee3 100644 --- a/doc/html/qapplication.html +++ b/doc/html/qapplication.html @@ -92,7 +92,7 @@ flow and main settings.

    Public Slots

    @@ -270,7 +270,7 @@ any overrides after.) enter_loop(), exit_loop(), exit(), -tquit(). +quit(). sendEvent(), postEvent(), sendPostedEvents(), @@ -530,14 +530,14 @@ See the examples/menu/menu.cpp example.

    void TQApplication::aboutToQuit () [signal]

    -

    This signal is emitted when the application is about to tquit the +

    This signal is emitted when the application is about to quit the main event loop, e.g. when the event loop level drops to zero. -This may happen either after a call to tquit() from inside the +This may happen either after a call to quit() from inside the application or when the users shuts down the entire desktop session.

    The signal is particularly useful if your application has to do some last-second cleanup. Note that no user interaction is possible in this state. -

    See also tquit(). +

    See also quit().

    TQWidget * TQApplication::activeModalWidget () [static]

    @@ -698,13 +698,13 @@ entry in the file menu as shown in the following code example: TQPopupMenu* file = new TQPopupMenu( this ); file->insertItem( "&Quit", qApp, SLOT(closeAllWindows()), CTRL+Key_Q ); - // when the last window is closed, the application should tquit - connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( tquit() ) ); + // when the last window is closed, the application should quit + connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( quit() ) );

    The windows are closed in random order, until one window does not accept the close event. -

    See also TQWidget::close(), TQWidget::closeEvent(), lastWindowClosed(), tquit(), topLevelWidgets(), and TQWidget::isTopLevel. +

    See also TQWidget::close(), TQWidget::closeEvent(), lastWindowClosed(), quit(), topLevelWidgets(), and TQWidget::isTopLevel.

    Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. @@ -803,7 +803,7 @@ it before you create the TQApplication object. Enters the main event loop and waits until exit() is called or the main widget is destroyed, and returns the value that was set to -exit() (which is 0 if exit() is called via tquit()). +exit() (which is 0 if exit() is called via quit()).

    It is necessary to call this function to start event handling. The main event loop receives events from the window system and dispatches these to the application widgets. @@ -815,7 +815,7 @@ exec() to start a local event loop. special function whenever there are no pending events, use a TQTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). -

    See also tquit(), exit(), processEvents(), and setMainWidget(). +

    See also quit(), exit(), processEvents(), and setMainWidget().

    Examples: helpsystem/main.cpp, life/main.cpp, network/archivesearch/main.cpp, network/ftpclient/main.cpp, opengl/main.cpp, t1/main.cpp, and t4/main.cpp.

    void TQApplication::exit ( int retcode = 0 ) [static] @@ -829,7 +829,7 @@ value indicates an error.

    Note that unlike the C library function of the same name, this function does return to the caller -- it is event processing that stops. -

    See also tquit() and exec(). +

    See also quit() and exec().

    Examples: chart/chartform.cpp, extension/mainform.ui.h, and picture/picture.cpp.

    void TQApplication::exit_loop () @@ -945,7 +945,7 @@ Returns TRUE if effect is enabled; otherwise returns FALSE.

    This signal is emitted when the user has closed the last top level window.

    The signal is very useful when your application has many top level -widgets but no main widget. You can then connect it to the tquit() +widgets but no main widget. You can then connect it to the quit() slot.

    For convenience, this signal is not emitted for transient top level widgets such as popup menus and dialogs. @@ -1116,17 +1116,17 @@ event processing must be grafted onto existing program loops. problems.

    See also processEvents(), exec(), and TQTimer. -

    void TQApplication::tquit () [slot] +

    void TQApplication::quit () [slot]

    Tells the application to exit with return code 0 (success). Equivalent to calling TQApplication::exit( 0 ). -

    It's common to connect the lastWindowClosed() signal to tquit(), and +

    It's common to connect the lastWindowClosed() signal to quit(), and you also often connect e.g. TQButton::clicked() or signals in TQAction, TQPopupMenu or TQMenuBar to it.

    Example:

    -    TQPushButton *tquitButton = new TQPushButton( "Quit" );
    -    connect( tquitButton, SIGNAL(clicked()), qApp, SLOT(tquit()) );
    +    TQPushButton *quitButton = new TQPushButton( "Quit" );
    +    connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) );
       

    See also exit(), aboutToQuit(), lastWindowClosed(), and TQAction. @@ -1468,12 +1468,12 @@ TQApplication does not take ownership of the mainWidget, so if you create your main widget on the heap you must delete it yourself.

    You need not have a main widget; connecting lastWindowClosed() to -tquit() is an alternative. +quit() is an alternative.

    For X11, this function also resizes and moves the main widget according to the -geometry command-line option, so you should set the default geometry (using TQWidget::setGeometry()) before calling setMainWidget(). -

    See also mainWidget(), exec(), and tquit(). +

    See also mainWidget(), exec(), and quit().

    Examples: chart/main.cpp, helpsystem/main.cpp, life/main.cpp, network/ftpclient/main.cpp, opengl/main.cpp, t1/main.cpp, and t4/main.cpp.

    void TQApplication::setOverrideCursor ( const TQCursor & cursor, bool replace = FALSE ) [static] diff --git a/doc/html/qcdestyle.html b/doc/html/qcdestyle.html index 66fddb1b..936ff8dd 100644 --- a/doc/html/qcdestyle.html +++ b/doc/html/qcdestyle.html @@ -50,7 +50,7 @@ The TQCDEStyle class provides a CDE look and feel. versions of the Common Desktop Environment (CDE). The main differences are thinner frames and more modern radio buttons and checkboxes. Together with a dark background and a bright -text/foreground color, the style looks tquite attractive (at least +text/foreground color, the style looks quite attractive (at least for Motif fans).

    Note that the functions provided by TQCDEStyle are reimplementations of TQStyle functions; see TQStyle for their diff --git a/doc/html/qcloseevent.html b/doc/html/qcloseevent.html index 9849d37a..1674e60b 100644 --- a/doc/html/qcloseevent.html +++ b/doc/html/qcloseevent.html @@ -81,7 +81,7 @@ independent top-level windows in a multi-window application. agreed to close the widget; call accept() to agree to close the widget and call ignore() if the receiver of this event does not want the widget to be closed. -

    See also TQWidget::close(), TQWidget::hide(), TQObject::destroyed(), TQApplication::setMainWidget(), TQApplication::lastWindowClosed(), TQApplication::exec(), TQApplication::tquit(), and Event Classes. +

    See also TQWidget::close(), TQWidget::hide(), TQObject::destroyed(), TQApplication::setMainWidget(), TQApplication::lastWindowClosed(), TQApplication::exec(), TQApplication::quit(), and Event Classes.


    Member Function Documentation

    TQCloseEvent::TQCloseEvent () diff --git a/doc/html/qcolorgroup.html b/doc/html/qcolorgroup.html index 07cf10e3..76b466c9 100644 --- a/doc/html/qcolorgroup.html +++ b/doc/html/qcolorgroup.html @@ -156,7 +156,7 @@ By default, the link color is TQt::blue. By default, the linkvisited color is TQt::magenta.
  • TQColorGroup::NColorRoles - Internal.

    Note that text colors can be used for things other than just -words; text colors are usually used for text, but it's tquite +words; text colors are usually used for text, but it's quite common to use the text color roles for lines, icons, etc.

    This image shows most of the color roles in use:

    Color Roles
    diff --git a/doc/html/qdatapump.html b/doc/html/qdatapump.html index 15213161..d2fa45d4 100644 --- a/doc/html/qdatapump.html +++ b/doc/html/qdatapump.html @@ -52,7 +52,7 @@ sink. One very useful way to do this is interleaved with other event processing. TQDataPump provides this - create a pipe between a source and a sink, and data will be moved during subsequent event processing.

    Note that each source can only provide data to one sink and each sink -can only receive data from one source (although it is tquite possible +can only receive data from one source (although it is quite possible to write a multiplexing sink that is multiple sources).


    Member Function Documentation

    diff --git a/doc/html/qdialog.html b/doc/html/qdialog.html index c23d826e..01945715 100644 --- a/doc/html/qdialog.html +++ b/doc/html/qdialog.html @@ -242,7 +242,7 @@ and exec() to return r. main widget, the application terminates. If the dialog is the last window closed, the TQApplication::lastWindowClosed() signal is emitted. -

    See also accept(), reject(), TQApplication::mainWidget(), and TQApplication::tquit(). +

    See also accept(), reject(), TQApplication::mainWidget(), and TQApplication::quit().

    int TQDialog::exec () [slot]

    diff --git a/doc/html/qevent-h.html b/doc/html/qevent-h.html index af952658..b700cf3d 100644 --- a/doc/html/qevent-h.html +++ b/doc/html/qevent-h.html @@ -119,7 +119,7 @@ public: Show = 17, // widget is shown Hide = 18, // widget is hidden Close = 19, // request to close widget - Quit = 20, // request to tquit application + Quit = 20, // request to quit application Reparent = 21, // widget has been reparented ShowMinimized = 22, // widget is shown minimized ShowNormal = 23, // widget is shown normal diff --git a/doc/html/qeventloop.html b/doc/html/qeventloop.html index 46e06c13..1204d0ca 100644 --- a/doc/html/qeventloop.html +++ b/doc/html/qeventloop.html @@ -165,7 +165,7 @@ exec() to start a local event loop. special function whenever there are no pending events, use a TQTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). -

    See also TQApplication::tquit(), exit(), and processEvents(). +

    See also TQApplication::quit(), exit(), and processEvents().

    void TQEventLoop::exit ( int retcode = 0 ) [virtual]

    @@ -177,7 +177,7 @@ value indicates an error.

    Note that unlike the C library function of the same name, this function does return to the caller -- it is event processing that stops. -

    See also TQApplication::tquit() and exec(). +

    See also TQApplication::quit() and exec().

    void TQEventLoop::exitLoop () [virtual]

    diff --git a/doc/html/qfont.html b/doc/html/qfont.html index 1978f6d6..c410d5c9 100644 --- a/doc/html/qfont.html +++ b/doc/html/qfont.html @@ -312,7 +312,7 @@ state/India.
  • TQFont::Sinhala - is used for Sri Lanka's majority language Sinhala and is also employed to write Pali, Sanskrit, and Tamil.
  • TQFont::Thai - is used to write Thai and other Southeast Asian languages. -
  • TQFont::Lao - is a language and script tquite similar to Thai. +
  • TQFont::Lao - is a language and script quite similar to Thai.
  • TQFont::Tibetan - is the script used to write Tibetan in several countries like Tibet, the bordering Indian regions and Nepal. It is also used in the Buddist philosophy and diff --git a/doc/html/qglcontext.html b/doc/html/qglcontext.html index aa1ec72e..8f0ab6bf 100644 --- a/doc/html/qglcontext.html +++ b/doc/html/qglcontext.html @@ -135,7 +135,7 @@ visual. On other platforms it may work differently.

    Mac only: This virtual function tries to find a visual that matches the format using the given device handle, reducing the demands if the original request cannot be met. -

    The algorithm for reducing the demands of the format is tquite +

    The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has specific retquirements on visual selection.

    See also chooseContext(). @@ -155,7 +155,7 @@ Windows-specific types in our header files. X11 only: This virtual function tries to find a visual that matches the format, reducing the demands if the original request cannot be met. -

    The algorithm for reducing the demands of the format is tquite +

    The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has spcific retquirements on visual selection.

    See also chooseContext(). diff --git a/doc/html/qhebrewcodec.html b/doc/html/qhebrewcodec.html index 2c5b9498..f3b9b755 100644 --- a/doc/html/qhebrewcodec.html +++ b/doc/html/qhebrewcodec.html @@ -69,7 +69,7 @@ a newline character ('\n'). Note that these newline characters change the reordering behaviour of the algorithm, since the bidi reordering only takes place within one line of text, whereas line breaks are determined in visual order. -

    Visually ordered Hebrew is still used tquite often in some places, +

    Visually ordered Hebrew is still used quite often in some places, mainly in email communication (since most email programs still don't understand logically ordered Hebrew) and on web pages. The use on web pages is rapidly decreasing, due to the availability of diff --git a/doc/html/qlistbox.html b/doc/html/qlistbox.html index c1996433..7b4ff52f 100644 --- a/doc/html/qlistbox.html +++ b/doc/html/qlistbox.html @@ -252,7 +252,7 @@ can get keyboard focus by tabbing, clicking and through the use of the mouse wheel.

    New items can be inserted using insertItem(), insertStrList() or insertStringList(). inSort() is obsolete because this method is -tquite inefficient. It's preferable to insert the items normally +quite inefficient. It's preferable to insert the items normally and call sort() afterwards, or to insert a sorted TQStringList().

    By default, vertical and horizontal scroll bars are added and removed as necessary. setHScrollBarMode() and setVScrollBarMode() @@ -532,7 +532,7 @@ item. The argument is a pointer to the new current item.

    int TQListBox::inSort ( const TQListBoxItem * lbi )

    This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

    Using this method is tquite inefficient. We suggest to use insertItem() +

    Using this method is quite inefficient. We suggest to use insertItem() for inserting and sort() afterwards.

    Inserts lbi at its sorted position in the list box and returns the position. @@ -545,7 +545,7 @@ lexicographically less than any string.

  • This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Using this method is tquite inefficient. We suggest to use insertItem() +

    Using this method is quite inefficient. We suggest to use insertItem() for inserting and sort() afterwards.

    Inserts a new item of text at its sorted position in the list box and returns the position. diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index 978475e7..2a6e5b03 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

    This is a simple magnifier-type program. It shows how one can do -some tquite low-level operations in a portable way using TQt. +some quite low-level operations in a portable way using TQt.

    Run it, click in the magnifier window, then click where you want to magnify or drag out a rectangle. Two combo boxes let you select amplification and refresh frequency, a text label tells you the color @@ -94,7 +94,7 @@ private: TQComboBox *refresh; TQPushButton *saveButton; TQPushButton *multiSaveButton; - TQPushButton *tquitButton; + TQPushButton *quitButton; TQPixmap pm; // pixmap, magnified TQPixmap p; // pixmap TQImage image; // image of pixmap (for RGB) @@ -171,12 +171,12 @@ static const int timer[] = { multiSaveButton->setGeometry( saveButton->geometry().right() + 2, 2, 10+multiSaveButton->fontMetrics().width("MultiSave"), 20 ); - tquitButton = new TQPushButton( this ); - Q_CHECK_PTR(tquitButton); - connect( tquitButton, SIGNAL(clicked()), qApp, SLOT(tquit()) ); - tquitButton->setText( "Quit" ); - tquitButton->setGeometry( multiSaveButton->geometry().right() + 2, 2, - 10+tquitButton->fontMetrics().width("Quit"), 20 ); + quitButton = new TQPushButton( this ); + Q_CHECK_PTR(quitButton); + connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) ); + quitButton->setText( "Quit" ); + quitButton->setGeometry( multiSaveButton->geometry().right() + 2, 2, + 10+quitButton->fontMetrics().width("Quit"), 20 ); #else zoom = 0; multiSaveButton = 0; @@ -195,8 +195,8 @@ static const int timer[] = { yoffset = zoom->height() // top buttons + 4 // space around top buttons + rgb->height(); // color-value text height - setMinimumSize( tquitButton->pos().x(), yoffset+20 ); - resize( tquitButton->geometry().topRight().x() + 2, yoffset+60 ); + setMinimumSize( quitButton->pos().x(), yoffset+20 ); + resize( quitButton->geometry().topRight().x() + 2, yoffset+60 ); #else yoffset = 0; resize(350,350); diff --git a/doc/html/qmake-manual-5.html b/doc/html/qmake-manual-5.html index af2e921d..e1912340 100644 --- a/doc/html/qmake-manual-5.html +++ b/doc/html/qmake-manual-5.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; }

    qmake Concepts

    Introducing qmake

    qmake is an easy-to-use tool from Trolltech that creates makefiles for development projects across different platforms. qmake simplifies the generation of makefiles so that only a few lines of information are needed to create a makefile. qmake can be used for any software project whether it is written in TQt or not, although it also contains additional features to support TQt development.

    -

    qmake generates a makefile based on the information in a project file. Project files are created by the developer. Project files are usually simple, but can be tquite sophisticated if retquired. qmake can also generate projects for Microsoft Visual studio without having to change the project file.

    +

    qmake generates a makefile based on the information in a project file. Project files are created by the developer. Project files are usually simple, but can be quite sophisticated if retquired. qmake can also generate projects for Microsoft Visual studio without having to change the project file.

    qmake's Concepts

    The QMAKESPEC environment variable

    Before qmake can be used to build makefiles, the QMAKESPEC environment variable must be set to the platform-compiler combination that is being used on the system. The QMAKESPEC environment variable tells qmake where to look to find platform and compiler specific information. This ensures that the right libraries are used, and that the generated makefile uses the correct syntax. A list of the currently supported platform-compiler combinations can be found in qt/mkspecs. Just set your environment variable to one of the directories listed.

    diff --git a/doc/html/qmake-manual-8.html b/doc/html/qmake-manual-8.html index 19e875d4..e21c9779 100644 --- a/doc/html/qmake-manual-8.html +++ b/doc/html/qmake-manual-8.html @@ -648,7 +648,7 @@ QMAKE_VERS = $$[QMAKE_VERSION]
  • The name of a platform-compiler combination. In this case, qmake will search in the directory specified by the QTDIR environment variable.

    Note: the QMAKESPEC path will automatically be added to the INCLUDEPATH system variable.

    INSTALLS

    -

    It is common on UNIX to be able to install from the same utility as you build with (e.g make install). For this qmake has introduce the concept of an install set. The notation for this is tquite simple, first you fill in an "object" in qmake for example:

    +

    It is common on UNIX to be able to install from the same utility as you build with (e.g make install). For this qmake has introduce the concept of an install set. The notation for this is quite simple, first you fill in an "object" in qmake for example:

       documentation.path = /usr/local/program/doc
       documentation.files = docs/*
    @@ -698,7 +698,7 @@ QMAKE_VERS = $$[QMAKE_VERSION]
     
  • QMAKE_EXT_H - Changes interpretation all files with these suffixes to be C header files.

    Customizing Makefile Output

    qmake often tries to be all things to all build tools, this is often less than ideal when you really need to run special platform dependent commands. This can be achieved with specific instructions to the different qmake backends (currently this is only supported by the UNIX generator).

    -

    The interfaces to customizing the Makefile are done through "objects" as in other places in qmake. The notation for this is tquite simple, first you fill in an "object" in qmake for example:

    +

    The interfaces to customizing the Makefile are done through "objects" as in other places in qmake. The notation for this is quite simple, first you fill in an "object" in qmake for example:

       mytarget.target = .buildfile
       mytarget.commands = touch $$mytarget.target
    diff --git a/doc/html/qmenubar.html b/doc/html/qmenubar.html
    index fe899bda..f2072264 100644
    --- a/doc/html/qmenubar.html
    +++ b/doc/html/qmenubar.html
    @@ -168,10 +168,10 @@ the Application Menu
      config, options, setup, settings or preferences
     Application Menu | Preferences
     If this entry is not found the Settings item will be disabled
    - tquit or exit
    + quit or exit
     Application Menu | Quit 
     If this entry is not found a default Quit item will be
    -created to call TQApplication::tquit()
    +created to call TQApplication::quit()
     
     

    menu/menu.cpp is an example of TQMenuBar and TQPopupMenu use. @@ -260,7 +260,7 @@ even widgets into popup menus. argument. Use this to insert submenus into existing menus or pulldown menus into a menu bar.

    The number of insert functions may look confusing, but they are -actually tquite simple to use. +actually quite simple to use.

    This default version inserts a menu item with the text text, the accelerator key accel, an id and an optional index and connects it to the slot member in the object receiver. diff --git a/doc/html/qmenudata.html b/doc/html/qmenudata.html index 80dfd8eb..5923d344 100644 --- a/doc/html/qmenudata.html +++ b/doc/html/qmenudata.html @@ -284,7 +284,7 @@ even widgets into popup menus. argument. Use this to insert submenus into existing menus or pulldown menus into a menu bar.

    The number of insert functions may look confusing, but they are -actually tquite simple to use. +actually quite simple to use.

    This default version inserts a menu item with the text text, the accelerator key accel, an id and an optional index and connects it to the slot member in the object receiver. @@ -619,7 +619,7 @@ object. fileMenu->insertItem( "Open Document", 67 ); // add "Open" item fileMenu->setAccel( CTRL + Key_O, 67 ); // Ctrl+O to open fileMenu->insertItem( "Quit", 69 ); // add "Quit" item - fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to tquit + fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to quit mainMenu->insertItem( "File", fileMenu ); // add the file menu

    diff --git a/doc/html/qnetworkprotocol.html b/doc/html/qnetworkprotocol.html index 6aac280c..78b3e7d3 100644 --- a/doc/html/qnetworkprotocol.html +++ b/doc/html/qnetworkprotocol.html @@ -206,7 +206,7 @@ Returns TRUE if auto-deleting is enabled; otherwise returns FALSE.

    bool TQNetworkProtocol::checkConnection ( TQNetworkOperation * op ) [virtual protected]

    For processing operations the network protocol base class calls -this method tquite often. This should be reimplemented by new +this method quite often. This should be reimplemented by new network protocols. It should return TRUE if the connection is OK (open); otherwise it should return FALSE. If the connection is not open the protocol should open it. diff --git a/doc/html/qobject.html b/doc/html/qobject.html index b84fedca..2cf99725 100644 --- a/doc/html/qobject.html +++ b/doc/html/qobject.html @@ -741,7 +741,7 @@ of a TQRegExp. If regexpMatch is FALSE, and object names must match it exactly.

    Note that inheritsClass uses single inheritance from TQObject, the way inherits() does. According to inherits(), TQMenuBar -inherits TQWidget but not TQMenuData. This does not tquite match +inherits TQWidget but not TQMenuData. This does not quite match reality, but is the best that can be done on the wide variety of compilers TQt supports.

    Finally, if recursiveSearch is TRUE (the default), queryList() diff --git a/doc/html/qpopupmenu.html b/doc/html/qpopupmenu.html index 17a6dfbd..d56e1394 100644 --- a/doc/html/qpopupmenu.html +++ b/doc/html/qpopupmenu.html @@ -386,7 +386,7 @@ even widgets into popup menus. argument. Use this to insert submenus into existing menus or pulldown menus into a menu bar.

    The number of insert functions may look confusing, but they are -actually tquite simple to use. +actually quite simple to use.

    This default version inserts a menu item with the text text, the accelerator key accel, an id and an optional index and connects it to the slot member in the object receiver. @@ -735,7 +735,7 @@ object. fileMenu->insertItem( "Open Document", 67 ); // add "Open" item fileMenu->setAccel( CTRL + Key_O, 67 ); // Ctrl+O to open fileMenu->insertItem( "Quit", 69 ); // add "Quit" item - fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to tquit + fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to quit mainMenu->insertItem( "File", fileMenu ); // add the file menu

  • diff --git a/doc/html/qptrqueue.html b/doc/html/qptrqueue.html index a98474a3..b79acb51 100644 --- a/doc/html/qptrqueue.html +++ b/doc/html/qptrqueue.html @@ -188,7 +188,7 @@ was an item, i.e. the queue wasn't empty; otherwise returns FALSE.

    Sets the queue to auto-delete its contents if enable is TRUE and not to delete them if enable is FALSE.

    If auto-deleting is turned on, all the items in a queue are -deleted when the queue itself is deleted. This can be tquite +deleted when the queue itself is deleted. This can be quite convenient if the queue has the only pointer to the items.

    The default setting is FALSE, for safety. If you turn it on, be careful about copying the queue: you might find yourself with two diff --git a/doc/html/qscrollview.html b/doc/html/qscrollview.html index 887e8377..4c97fbbe 100644 --- a/doc/html/qscrollview.html +++ b/doc/html/qscrollview.html @@ -152,7 +152,7 @@ The TQScrollView widget provides a scrolling area with on-demand scroll bars.

    The TQScrollView is a large canvas - potentially larger than the coordinate system normally supported by the underlying window -system. This is important because it is tquite easy to go beyond +system. This is important because it is quite easy to go beyond these limitations (e.g. many web pages are more than 32000 pixels high). Additionally, the TQScrollView can have TQWidgets positioned on it that scroll around with the drawn content. These sub-widgets @@ -742,7 +742,7 @@ See the "resizePolicy" property Sets the scrollview to have a static background if y is TRUE, or a scrolling background if y is FALSE. By default, the background is scrolling. -

    Be aware that this mode is tquite slow, as a full repaint of the +

    Be aware that this mode is quite slow, as a full repaint of the visible area has to be triggered on every contents move.

    See also hasStaticBackground(). diff --git a/doc/html/qsessionmanager.html b/doc/html/qsessionmanager.html index 9ad3ae9f..04077a50 100644 --- a/doc/html/qsessionmanager.html +++ b/doc/html/qsessionmanager.html @@ -106,7 +106,7 @@ the session is shut down, it wants to be restarted at the start of the next session.

  • TQSessionManager::RestartAnyway - the application wants to be started at the start of the next session, no matter what. (This is useful for -utilities that run just after startup and then tquit.) +utilities that run just after startup and then quit.)
  • TQSessionManager::RestartImmediately - the application wants to be started immediately whenever it is not running.
  • TQSessionManager::RestartNever - the application does not want to be restarted diff --git a/doc/html/qsocket.html b/doc/html/qsocket.html index 1899f20b..955ef062 100644 --- a/doc/html/qsocket.html +++ b/doc/html/qsocket.html @@ -126,7 +126,7 @@ general, you can treat it as a TQIODevice for writing, and mostly also for reading. The match isn't perfect, since the TQIODevice API is designed for devices that are controlled by the same machine, and an asynchronous peer-to-peer network connection isn't -tquite like that. For example, there is nothing that matches +quite like that. For example, there is nothing that matches TQIODevice::size() exactly. The documentation for open(), close(), flush(), size(), at(), atEnd(), readBlock(), writeBlock(), getch(), putch(), ungetch() and readLine() describes the diff --git a/doc/html/qsocketdevice.html b/doc/html/qsocketdevice.html index 3b835040..571bee68 100644 --- a/doc/html/qsocketdevice.html +++ b/doc/html/qsocketdevice.html @@ -249,7 +249,7 @@ Returns TRUE if this is a valid socket; otherwise returns FALSE. Specifies how many pending connections a server socket can have. Returns TRUE if the operation was successful; otherwise returns -FALSE. A backlog value of 50 is tquite common. +FALSE. A backlog value of 50 is quite common.

    The listen() call only applies to sockets where type() is Stream, i.e. not to Datagram sockets. listen() must not be called before bind() or after accept().

    See also bind() and accept(). diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index 0ea63b12..107f90c7 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -185,7 +185,7 @@ polish postEvent processEvents - tquit + quit qwsDecoration qwsEventFilter qwsSetCustomColors diff --git a/doc/html/qtimer.html b/doc/html/qtimer.html index db1f7910..6b20cb85 100644 --- a/doc/html/qtimer.html +++ b/doc/html/qtimer.html @@ -147,7 +147,7 @@ to create a local TQTimer object. int main( int argc, char **argv ) { TQApplication a( argc, argv ); - TQTimer::singleShot( 10*60*1000, &a, SLOT(tquit()) ); + TQTimer::singleShot( 10*60*1000, &a, SLOT(quit()) ); ... // create and show your widgets return a.exec(); } diff --git a/doc/html/qtooltip.html b/doc/html/qtooltip.html index 7f501c2a..4ddd9b9e 100644 --- a/doc/html/qtooltip.html +++ b/doc/html/qtooltip.html @@ -102,21 +102,21 @@ lets the mouse hover for five seconds or moves the mouse outside

    To add a tip to a widget, call the static function TQToolTip::add() with the widget and tip as arguments:

    -        TQToolTip::add( tquitButton, "Leave the application" );
    +        TQToolTip::add( quitButton, "Leave the application" );
         

    This is the simplest and most common use of TQToolTip. The tip -will be deleted automatically when tquitButton is deleted, but +will be deleted automatically when quitButton is deleted, but you can remove it yourself, too:

    -        TQToolTip::remove( tquitButton );
    +        TQToolTip::remove( quitButton );
         

    You can also display another text (typically in a status bar), courtesy of TQToolTipGroup. This example assumes that grp is a TQToolTipGroup * and is already connected to the appropriate status bar:

    -        TQToolTip::add( tquitButton, "Leave the application", grp,
    +        TQToolTip::add( quitButton, "Leave the application", grp,
                            "Leave the application, prompting to save if necessary" );
             TQToolTip::add( closeButton, "Close this window", grp,
                            "Close this window, prompting to save if necessary" );
    diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html
    index b9d16bd8..8bd0b6e8 100644
    --- a/doc/html/qwerty-example.html
    +++ b/doc/html/qwerty-example.html
    @@ -492,7 +492,7 @@ int main( int argc, char **argv )
                 e->show();
             }
         }
    -    a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) );
    +    a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
         return a.exec();
     }
     
    diff --git a/doc/html/qwidget.html b/doc/html/qwidget.html index 982c0a19..2d76389b 100644 --- a/doc/html/qwidget.html +++ b/doc/html/qwidget.html @@ -569,7 +569,7 @@ If not, it will be a child of parent, and be constrained by parent< widget flag).
  • const char *name = 0 is the widget name of the new widget. You can access it using name(). The widget name is little -used by programmers but is tquite useful with GUI builders such as +used by programmers but is quite useful with GUI builders such as TQt Designer (you can name a widget in TQt Designer, and connect() to it using the name in your code). The dumpObjectTree() debugging function also uses it. @@ -606,10 +606,10 @@ somewhere else, then releases, your widget receives the release event. There is one exception: if a popup menu appears while the mouse button is held down, this popup immediately steals the mouse events. -

  • mouseDoubleClickEvent() - not tquite as obvious as it might seem. +

  • mouseDoubleClickEvent() - not quite as obvious as it might seem. If the user double-clicks, the widget receives a mouse press event (perhaps a mouse move event or two if they don't hold the mouse -tquite steady), a mouse release event and finally this event. It is +quite steady), a mouse release event and finally this event. It is not possible to distinguish a click from a double click until you've seen whether the second click arrives. (This is one reason why most GUI books recommend that double clicks be an extension of single clicks, @@ -855,7 +855,7 @@ no matter if the widget is visible or not. last visible top level widget is closed.

    Note that closing the TQApplication::mainWidget() terminates the application. -

    See also closeEvent(), TQCloseEvent, hide(), TQApplication::tquit(), TQApplication::setMainWidget(), and TQApplication::lastWindowClosed(). +

    See also closeEvent(), TQCloseEvent, hide(), TQApplication::quit(), TQApplication::setMainWidget(), and TQApplication::lastWindowClosed().

    void TQWidget::closeEvent ( TQCloseEvent * e ) [virtual protected]

    diff --git a/doc/html/qxmlsimplereader.html b/doc/html/qxmlsimplereader.html index fa9092dd..57b112ab 100644 --- a/doc/html/qxmlsimplereader.html +++ b/doc/html/qxmlsimplereader.html @@ -115,7 +115,7 @@ with the incremental argument set to TRUE.

    Returns FALSE if a parsing error occurs; otherwise returns TRUE.

    If the input source returns an empty string for the function TQXmlInputSource::data(), then this means that the end of the XML -file has been reached; this is tquite important, especially if you +file has been reached; this is quite important, especially if you want to use the reader to parse more than one XML file.

    The case of the end of the XML file being reached without having finished parsing is not considered to be an error: you can diff --git a/doc/html/regexptester-example.html b/doc/html/regexptester-example.html index 4e16660b..8afc5d77 100644 --- a/doc/html/regexptester-example.html +++ b/doc/html/regexptester-example.html @@ -75,7 +75,7 @@ public: TQTable *resultTable; TQPushButton *executePushButton; TQPushButton *copyPushButton; - TQPushButton *tquitPushButton; + TQPushButton *quitPushButton; TQStatusBar *statusBar; public slots: @@ -132,7 +132,7 @@ private: executePushButton = new TQPushButton(this); executePushButton->setDefault(true); copyPushButton = new TQPushButton(this); - tquitPushButton = new TQPushButton(this); + quitPushButton = new TQPushButton(this); statusBar = new TQStatusBar(this); TQGridLayout *gridLayout = new TQGridLayout(2, 2, 6); @@ -148,7 +148,7 @@ private: TQVBoxLayout *buttonLayout = new TQVBoxLayout(0, 6, 6); buttonLayout->addWidget(executePushButton); buttonLayout->addWidget(copyPushButton); - buttonLayout->addWidget(tquitPushButton); + buttonLayout->addWidget(quitPushButton); buttonLayout->addStretch(1); TQHBoxLayout *middleLayout = new TQHBoxLayout(0, 6, 6); middleLayout->addWidget(resultTable); @@ -165,7 +165,7 @@ private: connect(copyPushButton, SIGNAL(clicked()), this, SLOT(copy())); connect(executePushButton, SIGNAL(clicked()), this, SLOT(execute())); - connect(tquitPushButton, SIGNAL(clicked()), this, SLOT(accept())); + connect(quitPushButton, SIGNAL(clicked()), this, SLOT(accept())); execute(); } @@ -267,7 +267,7 @@ void RegexpTester::languageChange() wildcardCheckBox->setText(tr("&Wildcard")); copyPushButton->setText(tr("&Copy")); executePushButton->setText(tr("&Execute")); - tquitPushButton->setText(tr("&Quit")); + quitPushButton->setText(tr("&Quit")); } @@ -282,7 +282,7 @@ int main(int argc, char **argv) TQApplication app(argc, argv); RegexpTester form; form.show(); - app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(tquit())); + app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); return app.exec(); } diff --git a/doc/html/richtext-example.html b/doc/html/richtext-example.html index 692e7a48..8276b17f 100644 --- a/doc/html/richtext-example.html +++ b/doc/html/richtext-example.html @@ -182,7 +182,7 @@ static const char* sayings[] = { bPrev->setEnabled( FALSE ); - connect( bClose, SIGNAL( clicked() ), qApp, SLOT( tquit() ) ); + connect( bClose, SIGNAL( clicked() ), qApp, SLOT( quit() ) ); connect( bPrev, SIGNAL( clicked() ), this, SLOT( prev() ) ); connect( bNext, SIGNAL( clicked() ), this, SLOT( next() ) ); diff --git a/doc/html/rot-example.html b/doc/html/rot-example.html index 91835dc2..2f66bf1e 100644 --- a/doc/html/rot-example.html +++ b/doc/html/rot-example.html @@ -103,14 +103,14 @@ private: connect( left, SIGNAL(textChanged()), this, SLOT(changeRight()) ); connect( right, SIGNAL(textChanged()), this, SLOT(changeLeft()) ); - TQPushButton * tquit = new TQPushButton( "&Quit", this ); - tquit->setFocusPolicy( NoFocus ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + TQPushButton * quit = new TQPushButton( "&Quit", this ); + quit->setFocusPolicy( NoFocus ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQGridLayout * l = new TQGridLayout( this, 2, 2, 5 ); l->addWidget( left, 0, 0 ); l->addWidget( right, 0, 1 ); - l->addWidget( tquit, 1, 1, AlignRight ); + l->addWidget( quit, 1, 1, AlignRight ); left->setFocus(); } diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index eb78ca25..31f30e80 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) { TQButton* q=new TQPushButton("Quit", this); - connect(q, SIGNAL(clicked()), qApp, SLOT(tquit())); + connect(q, SIGNAL(clicked()), qApp, SLOT(quit())); } else { TQString str; if ( b > 0 ) { @@ -247,7 +247,7 @@ public: TQPopupMenu* file = new TQPopupMenu( menubar ); Q_CHECK_PTR( file ); menubar->insertItem( "&File", file ); - file->insertItem( "Quit", qApp, SLOT(tquit()) ); + file->insertItem( "Quit", qApp, SLOT(quit()) ); vp_options = new TQPopupMenu( menubar ); Q_CHECK_PTR( vp_options ); @@ -473,7 +473,7 @@ int main( int argc, char **argv ) ve3.setCaption("TQt Example - Scrollviews"); ve3.show(); - TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit())); + TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit())); return a.exec(); } diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html index ff42ab33..99828891 100644 --- a/doc/html/showimg-example.html +++ b/doc/html/showimg-example.html @@ -195,7 +195,7 @@ private slots: si = file->insertItem( "Save image", saveimage ); sp = file->insertItem( "Save pixmap", savepixmap ); file->insertSeparator(); - file->insertItem( "E&xit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "E&xit", qApp, SLOT(quit()), CTRL+Key_Q ); edit = new TQPopupMenu( menubar ); menubar->insertItem( "&Edit", edit ); @@ -865,7 +865,7 @@ int main( int argc, char **argv ) } } - TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit())); + TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit())); return a.exec(); } diff --git a/doc/html/signalsandslots.html b/doc/html/signalsandslots.html index 02a0d156..a3f18f2a 100644 --- a/doc/html/signalsandslots.html +++ b/doc/html/signalsandslots.html @@ -229,9 +229,9 @@ rest of the world. may connect signals to. This is intended for very tightly connected classes, where even subclasses aren't trusted to get the connections right. -

    You can also define slots to be virtual, which we have found tquite +

    You can also define slots to be virtual, which we have found quite useful in practice. -

    The signals and slots mechanism is efficient, but not tquite as fast as +

    The signals and slots mechanism is efficient, but not quite as fast as "real" callbacks. Signals and slots are slightly slower because of the increased flexibility they provide, although the difference for real applications is insignificant. In general, emitting a signal that is diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html index 0eb57587..fd7877e3 100644 --- a/doc/html/simple-application-example.html +++ b/doc/html/simple-application-example.html @@ -408,7 +408,7 @@ int main( int argc, char ** argv ) { ApplicationWindow *mw = new ApplicationWindow(); mw->setCaption( "TQt Example - Application" ); mw->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html index 239908cd..b029bc84 100644 --- a/doc/html/simple-application.html +++ b/doc/html/simple-application.html @@ -118,7 +118,7 @@ int main( int argc, char ** argv ) { ApplicationWindow *mw = new ApplicationWindow(); mw->setCaption( "TQt Example - Application" ); mw->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } @@ -141,9 +141,9 @@ behave the way X clients are expected to.

    We create an ApplicationWindow as a top-level widget, set its window system caption to "Document 1", and show() it.

    -

            a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) );
    +
            a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
     
    -

    When the application's last window is closed, it should tquit. Both +

    When the application's last window is closed, it should quit. Both the signal and the slot are predefined members of TQApplication.

            return a.exec();
     
    @@ -157,7 +157,7 @@ that TQApplication returns when it leaves the event loop.

    -

    Since the implementation is tquite large (almost 300 lines) we +

    Since the implementation is quite large (almost 300 lines) we won't list the whole thing. (The source code is included in the examples/application directory.) Before we start with the constructor there are three #includes worth mentioning: diff --git a/doc/html/sound-example.html b/doc/html/sound-example.html index 0ebf892e..8fe39cee 100644 --- a/doc/html/sound-example.html +++ b/doc/html/sound-example.html @@ -128,7 +128,7 @@ private: file->insertItem("Play 3 and 4 together", this, SLOT(doPlay34())); file->insertItem("Play all together", this, SLOT(doPlay1234())); file->insertSeparator(); - file->insertItem("E&xit", qApp, SLOT(tquit())); + file->insertItem("E&xit", qApp, SLOT(quit())); menuBar()->insertItem("&File", file); } diff --git a/doc/html/t10-main-cpp.html b/doc/html/t10-main-cpp.html index a0b86164..1e575a89 100644 --- a/doc/html/t10-main-cpp.html +++ b/doc/html/t10-main-cpp.html @@ -58,10 +58,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); @@ -82,7 +82,7 @@ public: force, SLOT(setValue(int)) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/doc/html/t11-main-cpp.html b/doc/html/t11-main-cpp.html index 3a059a06..5c852f89 100644 --- a/doc/html/t11-main-cpp.html +++ b/doc/html/t11-main-cpp.html @@ -58,10 +58,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); @@ -87,7 +87,7 @@ public: connect( shoot, SIGNAL(clicked()), cannonField, SLOT(shoot()) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/doc/html/t12-main-cpp.html b/doc/html/t12-main-cpp.html index 2106eb5e..e20f3dd0 100644 --- a/doc/html/t12-main-cpp.html +++ b/doc/html/t12-main-cpp.html @@ -58,10 +58,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); @@ -87,7 +87,7 @@ public: connect( shoot, SIGNAL(clicked()), cannonField, SLOT(shoot()) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/doc/html/t13-gamebrd-cpp.html b/doc/html/t13-gamebrd-cpp.html index 62f0a481..41ecdaca 100644 --- a/doc/html/t13-gamebrd-cpp.html +++ b/doc/html/t13-gamebrd-cpp.html @@ -53,10 +53,10 @@ body { background: #ffffff; color: black; } GameBoard::GameBoard( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); @@ -101,7 +101,7 @@ body { background: #ffffff; color: black; } = new TQLabel( "SHOTS LEFT", this, "shotsleftLabel" ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/doc/html/t14-gamebrd-cpp.html b/doc/html/t14-gamebrd-cpp.html index 38289264..5130978d 100644 --- a/doc/html/t14-gamebrd-cpp.html +++ b/doc/html/t14-gamebrd-cpp.html @@ -55,10 +55,10 @@ body { background: #ffffff; color: black; } GameBoard::GameBoard( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); @@ -112,10 +112,10 @@ body { background: #ffffff; color: black; } accel->connectItem( accel->insertItem( Key_Return ), this, SLOT(fire()) ); accel->connectItem( accel->insertItem( CTRL+Key_Q ), - qApp, SLOT(tquit()) ); + qApp, SLOT(quit()) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( box, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/doc/html/t7-main-cpp.html b/doc/html/t7-main-cpp.html index 2355f394..bd7132d3 100644 --- a/doc/html/t7-main-cpp.html +++ b/doc/html/t7-main-cpp.html @@ -58,10 +58,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQVBox( parent, name ) { - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQGrid *grid = new TQGrid( 4, this ); diff --git a/doc/html/t8-main-cpp.html b/doc/html/t8-main-cpp.html index 0d5f4d01..b0233cdb 100644 --- a/doc/html/t8-main-cpp.html +++ b/doc/html/t8-main-cpp.html @@ -58,10 +58,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); @@ -77,7 +77,7 @@ public: TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); //2x2, 10 pixel border - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( angle, 1, 0, TQt::AlignTop ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/doc/html/t9-main-cpp.html b/doc/html/t9-main-cpp.html index e9ca64c0..6ecb0751 100644 --- a/doc/html/t9-main-cpp.html +++ b/doc/html/t9-main-cpp.html @@ -58,10 +58,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); @@ -74,7 +74,7 @@ public: angle, SLOT(setValue(int)) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( angle, 1, 0, TQt::AlignTop ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/doc/html/tabdialog-example.html b/doc/html/tabdialog-example.html index a38da337..a40d1b40 100644 --- a/doc/html/tabdialog-example.html +++ b/doc/html/tabdialog-example.html @@ -106,7 +106,7 @@ protected: setupTab2(); setupTab3(); - connect( this, SIGNAL( applyButtonPressed() ), qApp, SLOT( tquit() ) ); + connect( this, SIGNAL( applyButtonPressed() ), qApp, SLOT( quit() ) ); } void TabDialog::setupTab1() diff --git a/doc/html/themes-example.html b/doc/html/themes-example.html index dbd93459..b30208b1 100644 --- a/doc/html/themes-example.html +++ b/doc/html/themes-example.html @@ -2253,7 +2253,7 @@ private: } ag->addTo(style); style->insertSeparator(); - style->insertItem("&Quit", qApp, SLOT( tquit() ), CTRL | Key_Q ); + style->insertItem("&Quit", qApp, SLOT( quit() ), CTRL | Key_Q ); TQPopupMenu * help = new TQPopupMenu( this ); menuBar()->insertSeparator(); diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index 32dde137..c1631b5b 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -126,7 +126,7 @@ private: // -------------------------------------------------------------------------- // TicTacToe implements the complete game. // TicTacToe is a composite widget that contains a TicTacGameBoard and -// two push buttons for starting the game and tquitting. +// two push buttons for starting the game and quitting. // class TicTacToe : public TQWidget @@ -141,7 +141,7 @@ private: void newState(); TQComboBox *whoStarts; TQPushButton *newGame; - TQPushButton *tquit; + TQPushButton *quit; TQLabel *message; TicTacGameBoard *board; }; @@ -478,12 +478,12 @@ void TicTacGameBoard::computerMove() newGame = new TQPushButton( "Play!", this ); connect( newGame, SIGNAL(clicked()), SLOT(newGameClicked()) ); - tquit = new TQPushButton( "Quit", this ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + quit = new TQPushButton( "Quit", this ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQHBoxLayout * b = new TQHBoxLayout; l->addLayout( b ); b->addWidget( newGame ); - b->addWidget( tquit ); + b->addWidget( quit ); newState(); } diff --git a/doc/html/tutorial1-02.html b/doc/html/tutorial1-02.html index 125537d4..7b84b5ec 100644 --- a/doc/html/tutorial1-02.html +++ b/doc/html/tutorial1-02.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

    Screenshot of tutorial two

    Having created a window in Chapter 1, we will -now go on to make the application tquit properly when the user tells it to. +now go on to make the application quit properly when the user tells it to.

    We will also use a font that is more exciting than the default one.

    /****************************************************************
     **
    @@ -51,14 +51,14 @@ int main( int argc, char **argv )
     {
         TQApplication a( argc, argv );
     
    -    TQPushButton tquit( "Quit", 0 );
    -    tquit.resize( 75, 30 );
    -    tquit.setFont( TQFont( "Times", 18, TQFont::Bold ) );
    +    TQPushButton quit( "Quit", 0 );
    +    quit.resize( 75, 30 );
    +    quit.setFont( TQFont( "Times", 18, TQFont::Bold ) );
     
    -    TQObject::connect( &tquit, SIGNAL(clicked()), &a, SLOT(tquit()) );
    +    TQObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) );
     
    -    a.setMainWidget( &tquit );
    -    tquit.show();
    +    a.setMainWidget( &quit );
    +    quit.show();
         return a.exec();
     }
     
    @@ -72,22 +72,22 @@ int main( int argc, char **argv )

    Since this program uses TQFont, it needs to include qfont.h. TQt's font abstraction is rather different from the horror provided by X, and loading and using fonts has been highly optimized. -

            TQPushButton tquit( "Quit", 0 );
    +

            TQPushButton quit( "Quit", 0 );
     

    This time, the button says "Quit" and that's exactly what the program will do when the user clicks the button. This is not a coincidence. We still pass 0 as the parent, since the button is a top-level window. -

            tquit.resize( 75, 30 );
    +

            quit.resize( 75, 30 );
     

    We've chosen another size for the button since the text is a bit shorter than "Hello world!". We could also have used TQFontMetrics to set right size. -

            tquit.setFont( TQFont( "Times", 18, TQFont::Bold ) );
    +

            quit.setFont( TQFont( "Times", 18, TQFont::Bold ) );
     

    Here we choose a new font for the button, an 18-point bold font from the Times family. Note that we create the font on the spot.

    It is also possible to change the default font (using TQApplication::setFont()) for the whole application. -

            TQObject::connect( &tquit, SIGNAL(clicked()), &a, SLOT(tquit()) );
    +

            TQObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) );
     

    connect() is perhaps the most central feature of TQt. Note that connect() is a static function in TQObject. Do not confuse it @@ -97,8 +97,8 @@ that inherit TQObject, directly or indirectly). Every TQt object can have both signals (to send messages) and slots (to receive messages). All widgets are TQt objects. They inherit TQWidget which in turn inherits TQObject. -

    Here, the clicked() signal of tquit is connected to the tquit() slot of a, so that when the button is clicked, the -application tquits. +

    Here, the clicked() signal of quit is connected to the quit() slot of a, so that when the button is clicked, the +application quits.

    The Signals and Slots documentation describes this topic in detail.

    Behavior @@ -111,7 +111,7 @@ makefile and build the application.)

    Try to resize the window. Press the button. Oops! That connect() would seem to make some difference. -

    Are there any other signals in TQPushButton you can connect to tquit? +

    Are there any other signals in TQPushButton you can connect to quit? Hint: The TQPushButton inherits most of its behavior from TQButton.

    You're now ready for Chapter 3.

    [Previous tutorial] diff --git a/doc/html/tutorial1-03.html b/doc/html/tutorial1-03.html index b7bb972d..b760c089 100644 --- a/doc/html/tutorial1-03.html +++ b/doc/html/tutorial1-03.html @@ -53,10 +53,10 @@ int main( int argc, char **argv ) TQVBox box; box.resize( 200, 120 ); - TQPushButton tquit( "Quit", &box ); - tquit.setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton quit( "Quit", &box ); + quit.setFont( TQFont( "Times", 18, TQFont::Bold ) ); - TQObject::connect( &tquit, SIGNAL(clicked()), &a, SLOT(tquit()) ); + TQObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) ); a.setMainWidget( &box ); box.show(); @@ -80,7 +80,7 @@ space according to each child's TQWidget::size

            box.resize( 200, 120 );
     

    We set its width to 200 pixels and the height to 120 pixels. -

            TQPushButton tquit( "Quit", &box );
    +

            TQPushButton quit( "Quit", &box );
     

    A child is born.

    This TQPushButton is created with both a text ("Quit") and a parent diff --git a/doc/html/tutorial1-04.html b/doc/html/tutorial1-04.html index 005aa983..820cc797 100644 --- a/doc/html/tutorial1-04.html +++ b/doc/html/tutorial1-04.html @@ -59,11 +59,11 @@ public: setMinimumSize( 200, 120 ); setMaximumSize( 200, 120 ); - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setGeometry( 62, 40, 75, 30 ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setGeometry( 62, 40, 75, 30 ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); } @@ -116,15 +116,15 @@ constructor.

    Because this widget doesn't know how to handle resizing, we fix its size by setting the minimum and maximum to be equal. In the next chapter we will show how a widget can respond to resize event from the user. -

            TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" );
    -        tquit->setGeometry( 62, 40, 75, 30 );
    -        tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
    +

            TQPushButton *quit = new TQPushButton( "Quit", this, "quit" );
    +        quit->setGeometry( 62, 40, 75, 30 );
    +        quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
     

    Here we create and set up a child widget of this widget (the new widget's -parent is this) which has the widget name "tquit". The widget +parent is this) which has the widget name "quit". The widget name has nothing to do with the button text; it just happens to be similar in this case. -

    Note that tquit is a local variable in the constructor. MyWidget +

    Note that quit is a local variable in the constructor. MyWidget does not keep track of it, but TQt does, and will by default delete it when MyWidget is deleted. This is why MyWidget doesn't need a destructor. (On the other hand, there is no harm in deleting a child @@ -132,7 +132,7 @@ when you choose to, the child will automatically tell TQt about its imminent death.)

    The setGeometry() call does the same as move() and resize() did in the previous chapters. -

            connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) );
    +

            connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
         }
     

    Because the MyWidget class doesn't know about the application object, it diff --git a/doc/html/tutorial1-05.html b/doc/html/tutorial1-05.html index 8aabed70..23944871 100644 --- a/doc/html/tutorial1-05.html +++ b/doc/html/tutorial1-05.html @@ -59,10 +59,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQVBox( parent, name ) { - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQLCDNumber *lcd = new TQLCDNumber( 2, this, "lcd" ); @@ -152,7 +152,7 @@ makefile and build the application.) buttons to set the number base.

    You can also change the slider's range.

    Perhaps it would have been better to use TQSpinBox than a slider? -

    Try to make the application tquit when the LCD number overflows. +

    Try to make the application quit when the LCD number overflows.

    You're now ready for Chapter 6.

    [Previous tutorial] [Next tutorial] diff --git a/doc/html/tutorial1-06.html b/doc/html/tutorial1-06.html index 96d8cb28..e85f34bf 100644 --- a/doc/html/tutorial1-06.html +++ b/doc/html/tutorial1-06.html @@ -77,10 +77,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQVBox( parent, name ) { - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQGrid *grid = new TQGrid( 4, this ); @@ -136,10 +136,10 @@ is renamed.

        MyWidget::MyWidget( TQWidget *parent, const char *name )
                 : TQVBox( parent, name )
         {
    -        TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" );
    -        tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
    +        TQPushButton *quit = new TQPushButton( "Quit", this, "quit" );
    +        quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
     
    -        connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) );
    +        connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
     

    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-08.html b/doc/html/tutorial1-08.html index afb3e339..bd65a26d 100644 --- a/doc/html/tutorial1-08.html +++ b/doc/html/tutorial1-08.html @@ -221,7 +221,7 @@ manage the children of any widget.

    As the comment indicates, we create a two-by-two array with ten pixel borders. (The constructor for TQGridLayout can be a little cryptic, so it's good to put in such comments.) -

            grid->addWidget( tquit, 0, 0 );
    +

            grid->addWidget( quit, 0, 0 );
     

    We add the Quit button in the top-left cell of the grid: 0, 0.

            grid->addWidget( angle, 1, 0, TQt::AlignTop );
    diff --git a/doc/html/tutorial1-10.html b/doc/html/tutorial1-10.html
    index a5793690..e25f0c19 100644
    --- a/doc/html/tutorial1-10.html
    +++ b/doc/html/tutorial1-10.html
    @@ -119,7 +119,7 @@ the drawing a little bit.
             emit forceChanged( f );
         }
     
    -

    The implementation of setForce() is tquite similar to that of +

    The implementation of setForce() is quite similar to that of setAngle(). The only difference is that because we don't show the force value, we don't need to repaint the widget.

        void CannonField::paintEvent( TQPaintEvent *e )
    diff --git a/doc/html/tutorial1-14.html b/doc/html/tutorial1-14.html
    index b155373e..957e9983 100644
    --- a/doc/html/tutorial1-14.html
    +++ b/doc/html/tutorial1-14.html
    @@ -221,12 +221,12 @@ keys. Note that an accelerator is a child of a widget and will be
     destroyed when that widget is destroyed. TQAccel is not a widget
     and has no visible effect on its parent.
     

    We define two shortcut keys. We want the slot fire() to be called -when the user presses Enter, and we want the application to tquit when +when the user presses Enter, and we want the application to quit when key Ctrl+Q is pressed. Because Enter is sometimes Return and there are even keyboards with both keys, we make both Enter and Return invoke fire().

            accel->connectItem( accel->insertItem( CTRL+Key_Q ),
    -                            qApp, SLOT(tquit()) );
    +                            qApp, SLOT(quit()) );
     

    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). @@ -234,7 +234,7 @@ people are more used to Ctrl+Q (and anyway it shows how do do it). TQt. They're actually TQt::Key_Enter, etc., but practically all classes inherit the TQt namespace class.

            TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 );
    -        grid->addWidget( tquit, 0, 0 );
    +        grid->addWidget( quit, 0, 0 );
             grid->addWidget( box, 1, 1 );
             grid->setColStretch( 1, 10 );
     
    diff --git a/doc/html/tutorial2-05.html b/doc/html/tutorial2-05.html index 9f9bbec0..93195a32 100644 --- a/doc/html/tutorial2-05.html +++ b/doc/html/tutorial2-05.html @@ -124,7 +124,7 @@ context menu. application's GUI. All our drawing operations take place on the canvas; but events (e.g. mouse clicks) take place on the canvas view. -

    Each action is represented by a private slot, e.g. fileNew(), optionsSetData(), etc. We also have tquite a number of private +

    Each action is represented by a private slot, e.g. fileNew(), optionsSetData(), etc. We also have quite a number of private functions and data members; we'll look at all these as we go through the implementation.

    For the sake of convenience and compilation speed the chart form's @@ -503,7 +503,7 @@ item id. } }

    -

    When the user tquits we give them the opportunity to save any unsaved +

    When the user quits we give them the opportunity to save any unsaved data (okToClear()) then save their options, e.g. window size and position, chart type, etc., before terminating.

        void ChartForm::saveOptions()
    diff --git a/doc/html/tutorial2-08.html b/doc/html/tutorial2-08.html
    index 77719f58..b8dbfd86 100644
    --- a/doc/html/tutorial2-08.html
    +++ b/doc/html/tutorial2-08.html
    @@ -106,7 +106,7 @@ member functions.
     

    We set a caption for the dialog and resize it.

            tableButtonBox = new TQVBoxLayout( this, 11, 6, "table button box layout" );
     
    -

    The layout of the form is tquite simple. The buttons will be grouped +

    The layout of the form is quite simple. The buttons will be grouped together in a horizontal layout and the table and the button layout will be grouped together vertically using the tableButtonBox layout.

            table = new TQTable( this, "data table" );
    diff --git a/doc/html/xml.html b/doc/html/xml.html
    index 2167b785..688f5a0f 100644
    --- a/doc/html/xml.html
    +++ b/doc/html/xml.html
    @@ -527,7 +527,7 @@ attribute from the http://trolltech.com/fnord/ namespace to book:au
     prefix fnord that is declared in the book:author element.
     

    Clearly the fnord namespace has the same namespace URI as the default namespace. So why didn't we simply use the default namespace -we'd already declared? The answer is tquite complex: +we'd already declared? The answer is quite complex:

    • attributes without a prefix don't belong to any XML namespace at all, not even to the default namespace; diff --git a/doc/i18n.doc b/doc/i18n.doc index d9b7a7ef..76646402 100644 --- a/doc/i18n.doc +++ b/doc/i18n.doc @@ -271,7 +271,7 @@ it. The correct idiom is \code QPopupMenu *file = new QPopupMenu( this ); - file->insertItem( tr("&Quit"), this, SLOT(tquit()), + file->insertItem( tr("&Quit"), this, SLOT(quit()), QKeySequence(tr("Ctrl+Q", "File|Quit")) ); \endcode diff --git a/doc/man/man3/qaccel.3qt b/doc/man/man3/qaccel.3qt index 07e8f3ee..9c5e23e5 100644 --- a/doc/man/man3/qaccel.3qt +++ b/doc/man/man3/qaccel.3qt @@ -176,7 +176,7 @@ Connects the accelerator item \fIid\fR to the slot \fImember\fR of \fIreceiver\f .PP .nf .br - a->connectItem( 201, mainView, SLOT(tquit()) ); + a->connectItem( 201, mainView, SLOT(quit()) ); .br .fi .PP @@ -212,9 +212,9 @@ If \fIid\fR is negative, then the item will be assigned a unique negative identi .br a->insertItem( CTRL + Key_P, 200 ); // Ctrl+P, e.g. to print document .br - a->insertItem( ALT + Key_X, 201 ); // Alt+X, e.g. to tquit + a->insertItem( ALT + Key_X, 201 ); // Alt+X, e.g. to quit .br - a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to tquit + a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to quit .br a->insertItem( Key_D ); // gets a unique negative id < -1 .br diff --git a/doc/man/man3/qapplication.3qt b/doc/man/man3/qapplication.3qt index d76b7561..88db7b84 100644 --- a/doc/man/man3/qapplication.3qt +++ b/doc/man/man3/qapplication.3qt @@ -466,7 +466,7 @@ Since it also deals with common command line arguments, it is usually a good ide .PP
      .nf .TS -l - l. Groups of functions System settings desktopSettingsAware(), setDesktopSettingsAware(), cursorFlashTime(), setCursorFlashTime(), doubleClickInterval(), setDoubleClickInterval(), wheelScrollLines(), setWheelScrollLines(), palette(), setPalette(), font(), setFont(), fontMetrics(). Event handling exec(), processEvents(), enter_loop(), exit_loop(), exit(), tquit(). sendEvent(), postEvent(), sendPostedEvents(), removePostedEvents(), hasPendingEvents(), notify(), macEventFilter(), qwsEventFilter(), x11EventFilter(), x11ProcessEvent(), winEventFilter(). GUI Styles style(), setStyle(), polish(). Color usage colorSpec(), setColorSpec(), qwsSetCustomColors(). Text handling installTranslator(), removeTranslator() translate(). Widgets mainWidget(), setMainWidget(), allWidgets(), topLevelWidgets(), desktop(), activePopupWidget(), activeModalWidget(), clipboard(), focusWidget(), winFocus(), activeWindow(), widgetAt(). Advanced cursor handling hasGlobalMouseTracking(), setGlobalMouseTracking(), overrideCursor(), setOverrideCursor(), restoreOverrideCursor(). X Window System synchronization flushX(), syncX(). Session management isSessionRestored(), sessionId(), commitData(), saveState(). Threading lock(), unlock(), locked(), tryLock(), wakeUpGuiThread() Miscellaneous +l - l. Groups of functions System settings desktopSettingsAware(), setDesktopSettingsAware(), cursorFlashTime(), setCursorFlashTime(), doubleClickInterval(), setDoubleClickInterval(), wheelScrollLines(), setWheelScrollLines(), palette(), setPalette(), font(), setFont(), fontMetrics(). Event handling exec(), processEvents(), enter_loop(), exit_loop(), exit(), quit(). sendEvent(), postEvent(), sendPostedEvents(), removePostedEvents(), hasPendingEvents(), notify(), macEventFilter(), qwsEventFilter(), x11EventFilter(), x11ProcessEvent(), winEventFilter(). GUI Styles style(), setStyle(), polish(). Color usage colorSpec(), setColorSpec(), qwsSetCustomColors(). Text handling installTranslator(), removeTranslator() translate(). Widgets mainWidget(), setMainWidget(), allWidgets(), topLevelWidgets(), desktop(), activePopupWidget(), activeModalWidget(), clipboard(), focusWidget(), winFocus(), activeWindow(), widgetAt(). Advanced cursor handling hasGlobalMouseTracking(), setGlobalMouseTracking(), overrideCursor(), setOverrideCursor(), restoreOverrideCursor(). X Window System synchronization flushX(), syncX(). Session management isSessionRestored(), sessionId(), commitData(), saveState(). Threading lock(), unlock(), locked(), tryLock(), wakeUpGuiThread() Miscellaneous .TE .fi
      @@ -629,11 +629,11 @@ This is useful for inclusion in the Help menu of an application. See the example .PP This function is a convenience slot for QMessageBox::aboutQt(). .SH "void QApplication::aboutToQuit ()\fC [signal]\fR" -This signal is emitted when the application is about to tquit the main event loop, e.g. when the event loop level drops to zero. This may happen either after a call to tquit() from inside the application or when the users shuts down the entire desktop session. +This signal is emitted when the application is about to quit the main event loop, e.g. when the event loop level drops to zero. This may happen either after a call to quit() from inside the application or when the users shuts down the entire desktop session. .PP The signal is particularly useful if your application has to do some last-second cleanup. Note that no user interaction is possible in this state. .PP -See also tquit(). +See also quit(). .SH "QWidget * QApplication::activeModalWidget ()\fC [static]\fR" Returns the active modal widget. .PP @@ -795,15 +795,15 @@ This function is particularly useful for applications with many top-level window file->insertItem( "&Quit", qApp, SLOT(closeAllWindows()), CTRL+Key_Q ); .br .br - // when the last window is closed, the application should tquit + // when the last window is closed, the application should quit .br - connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( tquit() ) ); + connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( quit() ) ); .br .fi .PP The windows are closed in random order, until one window does not accept the close event. .PP -See also QWidget::close(), QWidget::closeEvent(), lastWindowClosed(), tquit(), topLevelWidgets(), and QWidget::isTopLevel. +See also QWidget::close(), QWidget::closeEvent(), lastWindowClosed(), quit(), topLevelWidgets(), and QWidget::isTopLevel. .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. @@ -883,7 +883,7 @@ See also QEventLoop. .PP Example: distributor/distributor.ui.h. .SH "int QApplication::exec ()" -Enters the main event loop and waits until exit() is called or the main widget is destroyed, and returns the value that was set to exit() (which is 0 if exit() is called via tquit()). +Enters the main event loop and waits until exit() is called or the main widget is destroyed, and returns the value that was set to exit() (which is 0 if exit() is called via quit()). .PP It is necessary to call this function to start event handling. The main event loop receives events from the window system and dispatches these to the application widgets. .PP @@ -891,7 +891,7 @@ Generally speaking, no user interaction can take place before calling exec(). As .PP To make your application perform idle processing, i.e. executing a special function whenever there are no pending events, use a QTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). .PP -See also tquit(), exit(), processEvents(), and setMainWidget(). +See also quit(), exit(), processEvents(), and setMainWidget(). .PP Examples: .)l helpsystem/main.cpp, life/main.cpp, network/archivesearch/main.cpp, network/ftpclient/main.cpp, opengl/main.cpp, t1/main.cpp, and t4/main.cpp. @@ -904,7 +904,7 @@ By convention, a \fIretcode\fR of 0 means success, and any non-zero value indica .PP Note that unlike the C library function of the same name, this function \fIdoes\fR return to the caller -- it is event processing that stops. .PP -See also tquit() and exec(). +See also quit() and exec(). .PP Examples: .)l chart/chartform.cpp, extension/mainform.ui.h, and picture/picture.cpp. @@ -982,7 +982,7 @@ See also sessionId(), commitData(), and saveState(). .SH "void QApplication::lastWindowClosed ()\fC [signal]\fR" This signal is emitted when the user has closed the last top level window. .PP -The signal is very useful when your application has many top level widgets but no main widget. You can then connect it to the tquit() slot. +The signal is very useful when your application has many top level widgets but no main widget. You can then connect it to the quit() slot. .PP For convenience, this signal is \fInot\fR emitted for transient top level widgets such as popup menus and dialogs. .PP @@ -1120,18 +1120,18 @@ This function is useful for adapting Qt to situations where the event processing Using this function in new applications may be an indication of design problems. .PP See also processEvents(), exec(), and QTimer. -.SH "void QApplication::tquit ()\fC [slot]\fR" +.SH "void QApplication::quit ()\fC [slot]\fR" Tells the application to exit with return code 0 (success). Equivalent to calling QApplication::exit( 0 ). .PP -It's common to connect the lastWindowClosed() signal to tquit(), and you also often connect e.g. QButton::clicked() or signals in QAction, QPopupMenu or QMenuBar to it. +It's common to connect the lastWindowClosed() signal to quit(), and you also often connect e.g. QButton::clicked() or signals in QAction, QPopupMenu or QMenuBar to it. .PP Example: .PP .nf .br - QPushButton *tquitButton = new QPushButton( "Quit" ); + QPushButton *quitButton = new QPushButton( "Quit" ); .br - connect( tquitButton, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) ); .br .fi .PP @@ -1404,11 +1404,11 @@ Sets the application's main widget to \fImainWidget\fR. .PP In most respects the main widget is like any other widget, except that if it is closed, the application exits. Note that QApplication does \fInot\fR take ownership of the \fImainWidget\fR, so if you create your main widget on the heap you must delete it yourself. .PP -You need not have a main widget; connecting lastWindowClosed() to tquit() is an alternative. +You need not have a main widget; connecting lastWindowClosed() to quit() is an alternative. .PP For X11, this function also resizes and moves the main widget according to the \fI-geometry\fR command-line option, so you should set the default geometry (using QWidget::setGeometry()) before calling setMainWidget(). .PP -See also mainWidget(), exec(), and tquit(). +See also mainWidget(), exec(), and quit(). .PP Examples: .)l chart/main.cpp, helpsystem/main.cpp, life/main.cpp, network/ftpclient/main.cpp, opengl/main.cpp, t1/main.cpp, and t4/main.cpp. diff --git a/doc/man/man3/qcdestyle.3qt b/doc/man/man3/qcdestyle.3qt index 5835be2b..9f5b92f8 100644 --- a/doc/man/man3/qcdestyle.3qt +++ b/doc/man/man3/qcdestyle.3qt @@ -25,7 +25,7 @@ Inherits QMotifStyle. .SH DESCRIPTION The QCDEStyle class provides a CDE look and feel. .PP -This style provides a slightly improved Motif look similar to some versions of the Common Desktop Environment (CDE). The main differences are thinner frames and more modern radio buttons and checkboxes. Together with a dark background and a bright text/foreground color, the style looks tquite attractive (at least for Motif fans). +This style provides a slightly improved Motif look similar to some versions of the Common Desktop Environment (CDE). The main differences are thinner frames and more modern radio buttons and checkboxes. Together with a dark background and a bright text/foreground color, the style looks quite attractive (at least for Motif fans). .PP Note that the functions provided by QCDEStyle are reimplementations of QStyle functions; see QStyle for their documentation. .PP diff --git a/doc/man/man3/qcloseevent.3qt b/doc/man/man3/qcloseevent.3qt index 03ed1172..1032d13a 100644 --- a/doc/man/man3/qcloseevent.3qt +++ b/doc/man/man3/qcloseevent.3qt @@ -49,7 +49,7 @@ If the last top-level window is closed, the QApplication::lastWindowClosed() sig .PP The isAccepted() function returns TRUE if the event's receiver has agreed to close the widget; call accept() to agree to close the widget and call ignore() if the receiver of this event does not want the widget to be closed. .PP -See also QWidget::close(), QWidget::hide(), QObject::destroyed(), QApplication::setMainWidget(), QApplication::lastWindowClosed(), QApplication::exec(), QApplication::tquit(), and Event Classes. +See also QWidget::close(), QWidget::hide(), QObject::destroyed(), QApplication::setMainWidget(), QApplication::lastWindowClosed(), QApplication::exec(), QApplication::quit(), and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QCloseEvent::QCloseEvent ()" Constructs a close event object with the accept parameter flag set to FALSE. diff --git a/doc/man/man3/qcolorgroup.3qt b/doc/man/man3/qcolorgroup.3qt index 0bde5506..de2e82f8 100644 --- a/doc/man/man3/qcolorgroup.3qt +++ b/doc/man/man3/qcolorgroup.3qt @@ -185,7 +185,7 @@ Finally, there is a special role for text that needs to be drawn where Text or F .TP \fCQColorGroup::NColorRoles\fR - Internal. .PP -Note that text colors can be used for things other than just words; text colors are \fIusually\fR used for text, but it's tquite common to use the text color roles for lines, icons, etc. +Note that text colors can be used for things other than just words; text colors are \fIusually\fR used for text, but it's quite common to use the text color roles for lines, icons, etc. .PP This image shows most of the color roles in use:
      .ce 1 diff --git a/doc/man/man3/qdialog.3qt b/doc/man/man3/qdialog.3qt index 31f3911b..7d23207f 100644 --- a/doc/man/man3/qdialog.3qt +++ b/doc/man/man3/qdialog.3qt @@ -213,7 +213,7 @@ Closes the dialog and sets its result code to \fIr\fR. If this dialog is shown w .PP As with QWidget::close(), done() deletes the dialog if the WDestructiveClose flag is set. If the dialog is the application's main widget, the application terminates. If the dialog is the last window closed, the QApplication::lastWindowClosed() signal is emitted. .PP -See also accept(), reject(), QApplication::mainWidget(), and QApplication::tquit(). +See also accept(), reject(), QApplication::mainWidget(), and QApplication::quit(). .SH "int QDialog::exec ()\fC [slot]\fR" Shows the dialog as a modal dialog, blocking until the user closes it. The function returns a DialogCode result. .PP diff --git a/doc/man/man3/qeventloop.3qt b/doc/man/man3/qeventloop.3qt index a7210002..cf7a0fee 100644 --- a/doc/man/man3/qeventloop.3qt +++ b/doc/man/man3/qeventloop.3qt @@ -147,7 +147,7 @@ Generally speaking, no user interaction can take place before calling exec(). As .PP To make your application perform idle processing, i.e. executing a special function whenever there are no pending events, use a QTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). .PP -See also QApplication::tquit(), exit(), and processEvents(). +See also QApplication::quit(), exit(), and processEvents(). .SH "void QEventLoop::exit ( int retcode = 0 )\fC [virtual]\fR" Tells the event loop to exit with a return code. .PP @@ -157,7 +157,7 @@ By convention, a \fIretcode\fR of 0 means success, and any non-zero value indica .PP Note that unlike the C library function of the same name, this function \fIdoes\fR return to the caller -- it is event processing that stops. .PP -See also QApplication::tquit() and exec(). +See also QApplication::quit() and exec(). .SH "void QEventLoop::exitLoop ()\fC [virtual]\fR" This function exits from a recursive call to the main event loop. Do not call it unless you really know what you are doing. .SH "bool QEventLoop::hasPendingEvents () const\fC [virtual]\fR" diff --git a/doc/man/man3/qfont.3qt b/doc/man/man3/qfont.3qt index 962ba612..d3c413ff 100644 --- a/doc/man/man3/qfont.3qt +++ b/doc/man/man3/qfont.3qt @@ -392,7 +392,7 @@ South and Southeast Asian scripts (left to right with few historical exceptions) .TP \fCQFont::Thai\fR - is used to write Thai and other Southeast Asian languages. .TP -\fCQFont::Lao\fR - is a language and script tquite similar to Thai. +\fCQFont::Lao\fR - is a language and script quite similar to Thai. .TP \fCQFont::Tibetan\fR - is the script used to write Tibetan in several countries like Tibet, the bordering Indian regions and Nepal. It is also used in the Buddist philosophy and liturgy of the Mongolian cultural area. .TP diff --git a/doc/man/man3/qglcontext.3qt b/doc/man/man3/qglcontext.3qt index d90d57f6..13ff2fbc 100644 --- a/doc/man/man3/qglcontext.3qt +++ b/doc/man/man3/qglcontext.3qt @@ -131,7 +131,7 @@ On Windows, it calls the virtual function choosePixelFormat(), which finds a mat .SH "void * QGLContext::chooseMacVisual ( GDHandle device )\fC [virtual protected]\fR" \fBMac only\fR: This virtual function tries to find a visual that matches the format using the given \fIdevice\fR handle, reducing the demands if the original request cannot be met. .PP -The algorithm for reducing the demands of the format is tquite simple-minded, so override this method in your subclass if your application has specific retquirements on visual selection. +The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has specific retquirements on visual selection. .PP See also chooseContext(). .SH "int QGLContext::choosePixelFormat ( void * dummyPfd, HDC pdc )\fC [virtual protected]\fR" @@ -143,7 +143,7 @@ See also chooseContext(). .SH "void * QGLContext::chooseVisual ()\fC [virtual protected]\fR" \fBX11 only\fR: This virtual function tries to find a visual that matches the format, reducing the demands if the original request cannot be met. .PP -The algorithm for reducing the demands of the format is tquite simple-minded, so override this method in your subclass if your application has spcific retquirements on visual selection. +The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has spcific retquirements on visual selection. .PP See also chooseContext(). .SH "bool QGLContext::create ( const QGLContext * shareContext = 0 )\fC [virtual]\fR" diff --git a/doc/man/man3/qhebrewcodec.3qt b/doc/man/man3/qhebrewcodec.3qt index 63a39d67..e07d93ef 100644 --- a/doc/man/man3/qhebrewcodec.3qt +++ b/doc/man/man3/qhebrewcodec.3qt @@ -33,7 +33,7 @@ In contrast to this, Unicode defines characters to be in logical order (the orde .PP Transformation from Unicode to visual Hebrew (8859-8) is done using the bidi algorithm in Qt, and will produce correct results, so long as the codec is given the text a whole paragraph at a time. Places where newlines are supposed to go can be indicated by a newline character ('\\n'). Note that these newline characters change the reordering behaviour of the algorithm, since the bidi reordering only takes place within one line of text, whereas line breaks are determined in visual order. .PP -Visually ordered Hebrew is still used tquite often in some places, mainly in email communication (since most email programs still don't understand logically ordered Hebrew) and on web pages. The use on web pages is rapidly decreasing, due to the availability of browsers that correctly support logically ordered Hebrew. +Visually ordered Hebrew is still used quite often in some places, mainly in email communication (since most email programs still don't understand logically ordered Hebrew) and on web pages. The use on web pages is rapidly decreasing, due to the availability of browsers that correctly support logically ordered Hebrew. .PP This codec has the name "iso8859-8". If you don't want any bidi reordering to happen during conversion, use the "iso8859-8-i" codec, which assumes logical order for the 8-bit string. .PP diff --git a/doc/man/man3/qlistbox.3qt b/doc/man/man3/qlistbox.3qt index 9d842ca1..7608d627 100644 --- a/doc/man/man3/qlistbox.3qt +++ b/doc/man/man3/qlistbox.3qt @@ -441,7 +441,7 @@ If the user does not select anything, no signals are emitted and currentItem() r .PP A list box has WheelFocus as a default focusPolicy(), i.e. it can get keyboard focus by tabbing, clicking and through the use of the mouse wheel. .PP -New items can be inserted using insertItem(), insertStrList() or insertStringList(). inSort() is obsolete because this method is tquite inefficient. It's preferable to insert the items normally and call sort() afterwards, or to insert a sorted QStringList(). +New items can be inserted using insertItem(), insertStrList() or insertStringList(). inSort() is obsolete because this method is quite inefficient. It's preferable to insert the items normally and call sort() afterwards, or to insert a sorted QStringList(). .PP By default, vertical and horizontal scroll bars are added and removed as necessary. setHScrollBarMode() and setVScrollBarMode() can be used to change this policy. .PP @@ -634,7 +634,7 @@ See also currentChanged(), selected(), currentItem, and selectionChanged(). .SH "int QListBox::inSort ( const QListBoxItem * lbi )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP -Using this method is tquite inefficient. We suggest to use insertItem() for inserting and sort() afterwards. +Using this method is quite inefficient. We suggest to use insertItem() for inserting and sort() afterwards. .PP Inserts \fIlbi\fR at its sorted position in the list box and returns the position. .PP @@ -646,7 +646,7 @@ See also insertItem() and sort(). .PP This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Using this method is tquite inefficient. We suggest to use insertItem() for inserting and sort() afterwards. +Using this method is quite inefficient. We suggest to use insertItem() for inserting and sort() afterwards. .PP Inserts a new item of \fItext\fR at its sorted position in the list box and returns the position. .PP diff --git a/doc/man/man3/qmenubar.3qt b/doc/man/man3/qmenubar.3qt index e1308a6b..f31b2d3e 100644 --- a/doc/man/man3/qmenubar.3qt +++ b/doc/man/man3/qmenubar.3qt @@ -218,7 +218,7 @@ Qt/Mac also provides a menubar merging feature to make QMenuBar conform more clo .PP
      .nf .TS -l - l. String matches Placement Notes about.* Application Menu | About If this entry is not found no About item will appear in the Application Menu config, options, setup, settings or preferences Application Menu | Preferences If this entry is not found the Settings item will be disabled tquit or exit Application Menu | Quit If this entry is not found a default Quit item will be created to call +l - l. String matches Placement Notes about.* Application Menu | About If this entry is not found no About item will appear in the Application Menu config, options, setup, settings or preferences Application Menu | Preferences If this entry is not found the Settings item will be disabled quit or exit Application Menu | Quit If this entry is not found a default Quit item will be created to call .TE .fi
      @@ -282,7 +282,7 @@ A menu item is usually either a text string or a pixmap, both with an optional i .PP Some insertItem() members take a popup menu as an additional argument. Use this to insert submenus into existing menus or pulldown menus into a menu bar. .PP -The number of insert functions may look confusing, but they are actually tquite simple to use. +The number of insert functions may look confusing, but they are actually quite simple to use. .PP This default version inserts a menu item with the text \fItext\fR, the accelerator key \fIaccel\fR, an id and an optional index and connects it to the slot \fImember\fR in the object \fIreceiver\fR. .PP diff --git a/doc/man/man3/qmenudata.3qt b/doc/man/man3/qmenudata.3qt index 9199b1b0..306f5d4f 100644 --- a/doc/man/man3/qmenudata.3qt +++ b/doc/man/man3/qmenudata.3qt @@ -322,7 +322,7 @@ A menu item is usually either a text string or a pixmap, both with an optional i .PP Some insertItem() members take a popup menu as an additional argument. Use this to insert submenus into existing menus or pulldown menus into a menu bar. .PP -The number of insert functions may look confusing, but they are actually tquite simple to use. +The number of insert functions may look confusing, but they are actually quite simple to use. .PP This default version inserts a menu item with the text \fItext\fR, the accelerator key \fIaccel\fR, an id and an optional index and connects it to the slot \fImember\fR in the object \fIreceiver\fR. .PP @@ -607,7 +607,7 @@ Example: .br fileMenu->insertItem( "Quit", 69 ); // add "Quit" item .br - fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to tquit + fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to quit .br mainMenu->insertItem( "File", fileMenu ); // add the file menu .br diff --git a/doc/man/man3/qnetworkprotocol.3qt b/doc/man/man3/qnetworkprotocol.3qt index 6760cc76..3d1a1519 100644 --- a/doc/man/man3/qnetworkprotocol.3qt +++ b/doc/man/man3/qnetworkprotocol.3qt @@ -226,7 +226,7 @@ Returns TRUE if auto-deleting is enabled; otherwise returns FALSE. .PP See also QNetworkProtocol::setAutoDelete(). .SH "bool QNetworkProtocol::checkConnection ( QNetworkOperation * op )\fC [virtual protected]\fR" -For processing operations the network protocol base class calls this method tquite often. This should be reimplemented by new network protocols. It should return TRUE if the connection is OK (open); otherwise it should return FALSE. If the connection is not open the protocol should open it. +For processing operations the network protocol base class calls this method quite often. This should be reimplemented by new network protocols. It should return TRUE if the connection is OK (open); otherwise it should return FALSE. If the connection is not open the protocol should open it. .PP If the connection can't be opened (e.g. because you already tried but the host couldn't be found), set the state of \fIop\fR to QNetworkProtocol::StFailed and emit the finished() signal with this QNetworkOperation as argument. .PP diff --git a/doc/man/man3/qobject.3qt b/doc/man/man3/qobject.3qt index 8dcb7c82..e1d36547 100644 --- a/doc/man/man3/qobject.3qt +++ b/doc/man/man3/qobject.3qt @@ -779,7 +779,7 @@ Searches the children and optionally grandchildren of this object, and returns a .PP If \fIregexpMatch\fR is TRUE (the default), \fIobjName\fR is a regular expression that the objects's names must match. The syntax is that of a QRegExp. If \fIregexpMatch\fR is FALSE, \fIobjName\fR is a string and object names must match it exactly. .PP -Note that \fIinheritsClass\fR uses single inheritance from QObject, the way inherits() does. According to inherits(), QMenuBar inherits QWidget but not QMenuData. This does not tquite match reality, but is the best that can be done on the wide variety of compilers Qt supports. +Note that \fIinheritsClass\fR uses single inheritance from QObject, the way inherits() does. According to inherits(), QMenuBar inherits QWidget but not QMenuData. This does not quite match reality, but is the best that can be done on the wide variety of compilers Qt supports. .PP Finally, if \fIrecursiveSearch\fR is TRUE (the default), queryList() searches \fIn\fRth-generation as well as first-generation children. .PP diff --git a/doc/man/man3/qpopupmenu.3qt b/doc/man/man3/qpopupmenu.3qt index a20cd7c5..10d3fff5 100644 --- a/doc/man/man3/qpopupmenu.3qt +++ b/doc/man/man3/qpopupmenu.3qt @@ -410,7 +410,7 @@ A menu item is usually either a text string or a pixmap, both with an optional i .PP Some insertItem() members take a popup menu as an additional argument. Use this to insert submenus into existing menus or pulldown menus into a menu bar. .PP -The number of insert functions may look confusing, but they are actually tquite simple to use. +The number of insert functions may look confusing, but they are actually quite simple to use. .PP This default version inserts a menu item with the text \fItext\fR, the accelerator key \fIaccel\fR, an id and an optional index and connects it to the slot \fImember\fR in the object \fIreceiver\fR. .PP @@ -703,7 +703,7 @@ Example: .br fileMenu->insertItem( "Quit", 69 ); // add "Quit" item .br - fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to tquit + fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to quit .br mainMenu->insertItem( "File", fileMenu ); // add the file menu .br diff --git a/doc/man/man3/qptrqueue.3qt b/doc/man/man3/qptrqueue.3qt index 66fc1a6a..592506e0 100644 --- a/doc/man/man3/qptrqueue.3qt +++ b/doc/man/man3/qptrqueue.3qt @@ -148,7 +148,7 @@ See also head(), isEmpty(), and dequeue(). .SH "void QPtrQueue::setAutoDelete ( bool enable )" Sets the queue to auto-delete its contents if \fIenable\fR is TRUE and not to delete them if \fIenable\fR is FALSE. .PP -If auto-deleting is turned on, all the items in a queue are deleted when the queue itself is deleted. This can be tquite convenient if the queue has the only pointer to the items. +If auto-deleting is turned on, all the items in a queue are deleted when the queue itself is deleted. This can be quite convenient if the queue has the only pointer to the items. .PP The default setting is FALSE, for safety. If you turn it on, be careful about copying the queue: you might find yourself with two queues deleting the same items. .PP diff --git a/doc/man/man3/qscrollview.3qt b/doc/man/man3/qscrollview.3qt index 611a870e..617341f1 100644 --- a/doc/man/man3/qscrollview.3qt +++ b/doc/man/man3/qscrollview.3qt @@ -309,7 +309,7 @@ Inherited by QCanvasView, QTable, QGridView, QIconView, QListBox, QListView, and .SH DESCRIPTION The QScrollView widget provides a scrolling area with on-demand scroll bars. .PP -The QScrollView is a large canvas - potentially larger than the coordinate system normally supported by the underlying window system. This is important because it is tquite easy to go beyond these limitations (e.g. many web pages are more than 32000 pixels high). Additionally, the QScrollView can have QWidgets positioned on it that scroll around with the drawn content. These sub-widgets can also have positions outside the normal coordinate range (but they are still limited in size). +The QScrollView is a large canvas - potentially larger than the coordinate system normally supported by the underlying window system. This is important because it is quite easy to go beyond these limitations (e.g. many web pages are more than 32000 pixels high). Additionally, the QScrollView can have QWidgets positioned on it that scroll around with the drawn content. These sub-widgets can also have positions outside the normal coordinate range (but they are still limited in size). .PP To provide content for the widget, inherit from QScrollView, reimplement drawContents() and use resizeContents() to set the size of the viewed area. Use addChild() and moveChild() to position widgets on the view. .PP @@ -757,7 +757,7 @@ Sets the resize policy. See the "resizePolicy" property for details. .SH "void QScrollView::setStaticBackground ( bool y )" Sets the scrollview to have a static background if \fIy\fR is TRUE, or a scrolling background if \fIy\fR is FALSE. By default, the background is scrolling. .PP -Be aware that this mode is tquite slow, as a full repaint of the visible area has to be triggered on every contents move. +Be aware that this mode is quite slow, as a full repaint of the visible area has to be triggered on every contents move. .PP See also hasStaticBackground(). .SH "void QScrollView::setVBarGeometry ( QScrollBar & vbar, int x, int y, int w, int h )\fC [virtual protected]\fR" diff --git a/doc/man/man3/qsessionmanager.3qt b/doc/man/man3/qsessionmanager.3qt index db170b1f..5a7eb0e7 100644 --- a/doc/man/man3/qsessionmanager.3qt +++ b/doc/man/man3/qsessionmanager.3qt @@ -90,7 +90,7 @@ This enum type defines the circumstances under which this application wants to b .TP \fCQSessionManager::RestartIfRunning\fR - if the application is still running when the session is shut down, it wants to be restarted at the start of the next session. .TP -\fCQSessionManager::RestartAnyway\fR - the application wants to be started at the start of the next session, no matter what. (This is useful for utilities that run just after startup and then tquit.) +\fCQSessionManager::RestartAnyway\fR - the application wants to be started at the start of the next session, no matter what. (This is useful for utilities that run just after startup and then quit.) .TP \fCQSessionManager::RestartImmediately\fR - the application wants to be started immediately whenever it is not running. .TP diff --git a/doc/man/man3/qsocket.3qt b/doc/man/man3/qsocket.3qt index 7dd6273b..65072178 100644 --- a/doc/man/man3/qsocket.3qt +++ b/doc/man/man3/qsocket.3qt @@ -165,7 +165,7 @@ The signals error(), connected(), readyRead() and connectionClosed() inform you .PP There are several access functions for the socket: state() returns whether the object is idle, is doing a DNS lookup, is connecting, has an operational connection, etc. address() and port() return the IP address and port used for the connection. The peerAddress() and peerPort() functions return the IP address and port used by the peer, and peerName() returns the name of the peer (normally the name that was passed to connectToHost()). socketDevice() returns a pointer to the QSocketDevice used for this socket. .PP -QSocket inherits QIODevice, and reimplements some functions. In general, you can treat it as a QIODevice for writing, and mostly also for reading. The match isn't perfect, since the QIODevice API is designed for devices that are controlled by the same machine, and an asynchronous peer-to-peer network connection isn't tquite like that. For example, there is nothing that matches QIODevice::size() exactly. The documentation for open(), close(), flush(), size(), at(), atEnd(), readBlock(), writeBlock(), getch(), putch(), ungetch() and readLine() describes the differences in detail. +QSocket inherits QIODevice, and reimplements some functions. In general, you can treat it as a QIODevice for writing, and mostly also for reading. The match isn't perfect, since the QIODevice API is designed for devices that are controlled by the same machine, and an asynchronous peer-to-peer network connection isn't quite like that. For example, there is nothing that matches QIODevice::size() exactly. The documentation for open(), close(), flush(), size(), at(), atEnd(), readBlock(), writeBlock(), getch(), putch(), ungetch() and readLine() describes the differences in detail. .PP \fBWarning:\fR QSocket is not suitable for use in threads. If you need to uses sockets in threads use the lower-level QSocketDevice class. .PP diff --git a/doc/man/man3/qsocketdevice.3qt b/doc/man/man3/qsocketdevice.3qt index 7814ce3a..d18322ee 100644 --- a/doc/man/man3/qsocketdevice.3qt +++ b/doc/man/man3/qsocketdevice.3qt @@ -244,7 +244,7 @@ Returns TRUE if this is a valid socket; otherwise returns FALSE. .PP See also socket(). .SH "bool QSocketDevice::listen ( int backlog )\fC [virtual]\fR" -Specifies how many pending connections a server socket can have. Returns TRUE if the operation was successful; otherwise returns FALSE. A \fIbacklog\fR value of 50 is tquite common. +Specifies how many pending connections a server socket can have. Returns TRUE if the operation was successful; otherwise returns FALSE. A \fIbacklog\fR value of 50 is quite common. .PP The listen() call only applies to sockets where type() is Stream, i.e. not to Datagram sockets. listen() must not be called before bind() or after accept(). .PP diff --git a/doc/man/man3/qtimer.3qt b/doc/man/man3/qtimer.3qt index 50cb9a85..b4b492bc 100644 --- a/doc/man/man3/qtimer.3qt +++ b/doc/man/man3/qtimer.3qt @@ -130,7 +130,7 @@ Example: .br QApplication a( argc, argv ); .br - QTimer::singleShot( 10*60*1000, &a, SLOT(tquit()) ); + QTimer::singleShot( 10*60*1000, &a, SLOT(quit()) ); .br ... // create and show your widgets .br diff --git a/doc/man/man3/qtooltip.3qt b/doc/man/man3/qtooltip.3qt index 2511f9ed..30be67b7 100644 --- a/doc/man/man3/qtooltip.3qt +++ b/doc/man/man3/qtooltip.3qt @@ -125,7 +125,7 @@ To add a tip to a widget, call the \fIstatic\fR function QToolTip::add() with th .PP .nf .br - QToolTip::add( tquitButton, "Leave the application" ); + QToolTip::add( quitButton, "Leave the application" ); .br .fi .PP @@ -133,7 +133,7 @@ This is the simplest and most common use of QToolTip. The tip will be deleted au .PP .nf .br - QToolTip::remove( tquitButton ); + QToolTip::remove( quitButton ); .br .fi .PP @@ -141,7 +141,7 @@ You can also display another text (typically in a status bar), courtesy of QTool .PP .nf .br - QToolTip::add( tquitButton, "Leave the application", grp, + QToolTip::add( quitButton, "Leave the application", grp, .br "Leave the application, prompting to save if necessary" ); .br diff --git a/doc/man/man3/qwidget.3qt b/doc/man/man3/qwidget.3qt index 007f06f2..2da51743 100644 --- a/doc/man/man3/qwidget.3qt +++ b/doc/man/man3/qwidget.3qt @@ -1028,7 +1028,7 @@ Every widget's constructor accepts two or three standard arguments:
        .IP 1 \fCQWidget *parent = 0\fR is the parent of the new widget. If it is 0 (the default), the new widget will be a top-level window. If not, it will be a child of \fIparent\fR, and be constrained by \fIparent\fR's geometry (unless you specify WType_TopLevel as widget flag). .IP 2 -\fCconst char *name = 0\fR is the widget name of the new widget. You can access it using name(). The widget name is little used by programmers but is tquite useful with GUI builders such as \fIQt Designer\fR (you can name a widget in \fIQt Designer\fR, and connect() to it using the name in your code). The dumpObjectTree() debugging function also uses it. +\fCconst char *name = 0\fR is the widget name of the new widget. You can access it using name(). The widget name is little used by programmers but is quite useful with GUI builders such as \fIQt Designer\fR (you can name a widget in \fIQt Designer\fR, and connect() to it using the name in your code). The dumpObjectTree() debugging function also uses it. .IP 3 \fCWFlags f = 0\fR (where available) sets the widget flags; the default is suitable for almost all widgets, but to get, for example, a top-level widget without a window system frame, you must use special flags. .PP @@ -1049,7 +1049,7 @@ mousePressEvent() - called when a mouse button is pressed. There are six mouse-r mouseReleaseEvent() - called when a mouse button is released. A widget receives mouse release events when it has received the corresponding mouse press event. This means that if the user presses the mouse inside \fIyour\fR widget, then drags the mouse to somewhere else, then releases, \fIyour\fR widget receives the release event. There is one exception: if a popup menu appears while the mouse button is held down, this popup immediately steals the mouse events. .IP .TP -mouseDoubleClickEvent() - not tquite as obvious as it might seem. If the user double-clicks, the widget receives a mouse press event (perhaps a mouse move event or two if they don't hold the mouse tquite steady), a mouse release event and finally this event. It is \fInot possible\fR to distinguish a click from a double click until you've seen whether the second click arrives. (This is one reason why most GUI books recommend that double clicks be an extension of single clicks, rather than trigger a different action.) +mouseDoubleClickEvent() - not quite as obvious as it might seem. If the user double-clicks, the widget receives a mouse press event (perhaps a mouse move event or two if they don't hold the mouse quite steady), a mouse release event and finally this event. It is \fInot possible\fR to distinguish a click from a double click until you've seen whether the second click arrives. (This is one reason why most GUI books recommend that double clicks be an extension of single clicks, rather than trigger a different action.) .IP .PP If your widget only contains child widgets, you probably do not need to implement any event handlers. If you want to detect a mouse click in a child widget call the child's hasMouse() function inside the parent widget's mousePressEvent(). @@ -1247,7 +1247,7 @@ The QApplication::lastWindowClosed() signal is emitted when the last visible top .PP Note that closing the QApplication::mainWidget() terminates the application. .PP -See also closeEvent(), QCloseEvent, hide(), QApplication::tquit(), QApplication::setMainWidget(), and QApplication::lastWindowClosed(). +See also closeEvent(), QCloseEvent, hide(), QApplication::quit(), QApplication::setMainWidget(), and QApplication::lastWindowClosed(). .SH "void QWidget::closeEvent ( QCloseEvent * e )\fC [virtual protected]\fR" This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive widget close events. .PP diff --git a/doc/man/man3/qxmlsimplereader.3qt b/doc/man/man3/qxmlsimplereader.3qt index 2c4f5253..5b1d6d72 100644 --- a/doc/man/man3/qxmlsimplereader.3qt +++ b/doc/man/man3/qxmlsimplereader.3qt @@ -77,7 +77,7 @@ Continues incremental parsing; this function reads the input from the QXmlInputS .PP Returns FALSE if a parsing error occurs; otherwise returns TRUE. .PP -If the input source returns an empty string for the function QXmlInputSource::data(), then this means that the end of the XML file has been reached; this is tquite important, especially if you want to use the reader to parse more than one XML file. +If the input source returns an empty string for the function QXmlInputSource::data(), then this means that the end of the XML file has been reached; this is quite important, especially if you want to use the reader to parse more than one XML file. .PP The case of the end of the XML file being reached without having finished parsing is not considered to be an error: you can continue parsing at a later stage by calling this function again when there is more data available to parse. .PP diff --git a/doc/misc.doc b/doc/misc.doc index bae26156..cb7c84b3 100644 --- a/doc/misc.doc +++ b/doc/misc.doc @@ -978,7 +978,7 @@ OS 8 addendum.\endlink The Microsoft Windows User Experience, ISBN 1-55615-679-0, is Microsoft's look and feel Bible. Indispensable for everyone who -has customers that worship Microsoft, and it's tquite good, too. +has customers that worship Microsoft, and it's quite good, too. \link http://www.amazon.com/exec/obidos/ASIN/0735605661/trolltech/t (Read more or buy it.)\endlink @@ -1073,7 +1073,7 @@ Furthermore, a toolkit cannot simply place windows on the screen. All Qt can do is to send certain hints to the window manager. The window manager, a separate process, may either obey, ignore or misunderstand them. Due to the partially unclear Inter-Client Communication -Conventions Manual (ICCCM), window placement is handled tquite +Conventions Manual (ICCCM), window placement is handled quite differently in existing window managers. X11 provides no standard or easy way to get the frame geometry once diff --git a/doc/network.doc b/doc/network.doc index 7b36384d..5b2eaec5 100644 --- a/doc/network.doc +++ b/doc/network.doc @@ -84,7 +84,7 @@ digital camera using a serial connection. \section1 Working Network Protocol independently with QUrlOperator and QNetworkOperation -It is tquite easy to just use existing network protocol implementations +It is quite easy to just use existing network protocol implementations and operate on URLs. For example, downloading a file from an FTP server to the local filesystem can be done with following code: diff --git a/doc/qptrqueue.doc b/doc/qptrqueue.doc index 40a1f52d..f67f6d21 100644 --- a/doc/qptrqueue.doc +++ b/doc/qptrqueue.doc @@ -195,7 +195,7 @@ and not to delete them if \a enable is FALSE. If auto-deleting is turned on, all the items in a queue are - deleted when the queue itself is deleted. This can be tquite + deleted when the queue itself is deleted. This can be quite convenient if the queue has the only pointer to the items. The default setting is FALSE, for safety. If you turn it on, be diff --git a/doc/signalsandslots.doc b/doc/signalsandslots.doc index 3762f337..fc46ce9e 100644 --- a/doc/signalsandslots.doc +++ b/doc/signalsandslots.doc @@ -273,10 +273,10 @@ may connect signals to. This is intended for very tightly connected classes, where even subclasses aren't trusted to get the connections right. -You can also define slots to be virtual, which we have found tquite +You can also define slots to be virtual, which we have found quite useful in practice. -The signals and slots mechanism is efficient, but not tquite as fast as +The signals and slots mechanism is efficient, but not quite as fast as "real" callbacks. Signals and slots are slightly slower because of the increased flexibility they provide, although the difference for real applications is insignificant. In general, emitting a signal that is diff --git a/doc/tutorial.doc b/doc/tutorial.doc index 2220e876..ad56d271 100644 --- a/doc/tutorial.doc +++ b/doc/tutorial.doc @@ -223,7 +223,7 @@ You're now ready for \link tutorial1-02.html Chapter 2.\endlink \img t2.png Screenshot of tutorial two Having created a window in \link tutorial1-01.html Chapter 1, \endlink we will -now go on to make the application tquit properly when the user tells it to. +now go on to make the application quit properly when the user tells it to. We will also use a font that is more exciting than the default one. @@ -272,9 +272,9 @@ both \c signals (to send messages) and \c slots (to receive messages). All widgets are Qt objects. They inherit QWidget which in turn inherits QObject. -Here, the \e clicked() signal of \e tquit is connected to the \e -tquit() slot of \e a, so that when the button is clicked, the -application tquits. +Here, the \e clicked() signal of \e quit is connected to the \e +quit() slot of \e a, so that when the button is clicked, the +application quits. The \link signalsandslots.html Signals and Slots\endlink documentation describes this topic in detail. @@ -292,7 +292,7 @@ makefile and build the application.) Try to resize the window. Press the button. Oops! That connect() would seem to make some difference. -Are there any other signals in QPushButton you can connect to tquit? +Are there any other signals in QPushButton you can connect to quit? Hint: The QPushButton inherits most of its behavior from QButton. You're now ready for \link tutorial1-03.html Chapter 3.\endlink @@ -334,7 +334,7 @@ space according to each child's \l QWidget::sizePolicy(). We set its width to 200 pixels and the height to 120 pixels. -\printline tquit +\printline quit A child is born. @@ -431,11 +431,11 @@ we will show how a widget can respond to resize event from the user. \printuntil setFont Here we create and set up a child widget of this widget (the new widget's -parent is \c this) which has the widget name "tquit". The widget +parent is \c this) which has the widget name "quit". The widget name has nothing to do with the button text; it just happens to be similar in this case. -Note that \c tquit is a local variable in the constructor. MyWidget +Note that \c quit is a local variable in the constructor. MyWidget does not keep track of it, but Qt does, and will by default delete it when MyWidget is deleted. This is why MyWidget doesn't need a destructor. (On the other hand, there is no harm in deleting a child @@ -570,7 +570,7 @@ You can also change the slider's range. Perhaps it would have been better to use \l QSpinBox than a slider? -Try to make the application tquit when the LCD number overflows. +Try to make the application quit when the LCD number overflows. You're now ready for \link tutorial1-06.html Chapter 6.\endlink @@ -1376,7 +1376,7 @@ the drawing a little bit. \skipto ::setForce \printuntil } -The implementation of setForce() is tquite similar to that of +The implementation of setForce() is quite similar to that of setAngle(). The only difference is that because we don't show the force value, we don't need to repaint the widget. @@ -2592,13 +2592,13 @@ destroyed when that widget is destroyed. QAccel is \e not a widget and has no visible effect on its parent. We define two shortcut keys. We want the slot fire() to be called -when the user presses Enter, and we want the application to tquit when +when the user presses Enter, and we want the application to quit when key Ctrl+Q is pressed. Because Enter is sometimes Return and there are even keyboards with \e both keys, we make both Enter and Return invoke fire(). \printline connectItem -\printline tquit +\printline quit 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/tutorial2.doc b/doc/tutorial2.doc index 9d68e51f..91099788 100644 --- a/doc/tutorial2.doc +++ b/doc/tutorial2.doc @@ -385,7 +385,7 @@ canvas; but events (e.g. mouse clicks) take place on the canvas view. \endtable Each action is represented by a private slot, e.g. \c fileNew(), \c -optionsSetData(), etc. We also have tquite a number of private +optionsSetData(), etc. We also have quite a number of private functions and data members; we'll look at all these as we go through the implementation. @@ -673,7 +673,7 @@ item id. \printline \printline -When the user tquits we give them the opportunity to save any unsaved +When the user quits we give them the opportunity to save any unsaved data (okToClear()) then save their options, e.g. window size and position, chart type, etc., before terminating. @@ -1064,7 +1064,7 @@ We set a caption for the dialog and resize it. \skipto tableButtonBox \printline -The layout of the form is tquite simple. The buttons will be grouped +The layout of the form is quite simple. The buttons will be grouped together in a horizontal layout and the table and the button layout will be grouped together vertically using the tableButtonBox layout. diff --git a/doc/xml.doc b/doc/xml.doc index b5f63c5c..30f4d120 100644 --- a/doc/xml.doc +++ b/doc/xml.doc @@ -589,7 +589,7 @@ prefix \e fnord that is declared in the \e book:author element. Clearly the \e fnord namespace has the same namespace URI as the default namespace. So why didn't we simply use the default namespace -we'd already declared? The answer is tquite complex: +we'd already declared? The answer is quite complex: \list \i attributes without a prefix don't belong to any XML namespace at all, not even to the default namespace; diff --git a/examples/README b/examples/README index eaf566bf..e8c0a570 100644 --- a/examples/README +++ b/examples/README @@ -285,7 +285,7 @@ qfd qmag This is a simple magnifier-type program. It shows how one can do - some tquite low-level operations portably using Qt. + some quite low-level operations portably using Qt. qwerty Simple text editor for testing different character encodings. diff --git a/examples/action/application.cpp b/examples/action/application.cpp index 23a3a875..9cea0a45 100644 --- a/examples/action/application.cpp +++ b/examples/action/application.cpp @@ -93,7 +93,7 @@ ApplicationWindow::ApplicationWindow() SLOT( close() ) ); fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this, - "tquit" ); + "quit" ); connect( fileQuitAction, SIGNAL( activated() ) , qApp, SLOT( closeAllWindows() ) ); diff --git a/examples/action/main.cpp b/examples/action/main.cpp index 21521163..3c632611 100644 --- a/examples/action/main.cpp +++ b/examples/action/main.cpp @@ -15,6 +15,6 @@ int main( int argc, char ** argv ) { ApplicationWindow * mw = new ApplicationWindow(); mw->setCaption( "Document 1" ); mw->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } diff --git a/examples/addressbook/main.cpp b/examples/addressbook/main.cpp index 33b69833..c1df2139 100644 --- a/examples/addressbook/main.cpp +++ b/examples/addressbook/main.cpp @@ -20,7 +20,7 @@ int main( int argc, char ** argv ) a.setMainWidget( mw ); mw->show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); int result = a.exec(); delete mw; return result; diff --git a/examples/addressbook/mainwindow.cpp b/examples/addressbook/mainwindow.cpp index e6f705b5..4d2d1fdd 100644 --- a/examples/addressbook/mainwindow.cpp +++ b/examples/addressbook/mainwindow.cpp @@ -47,7 +47,7 @@ void ABMainWindow::setupMenuBar() file->insertItem( TQPixmap( "fileprint.xpm" ), "Print...", this, SLOT( filePrint() ), CTRL + Key_P ); file->insertSeparator(); file->insertItem( "Close", this, SLOT( closeWindow() ), CTRL + Key_W ); - file->insertItem( "Quit", qApp, SLOT( tquit() ), CTRL + Key_Q ); + file->insertItem( "Quit", qApp, SLOT( quit() ), CTRL + Key_Q ); } void ABMainWindow::setupFileTools() diff --git a/examples/application/main.cpp b/examples/application/main.cpp index f6a4ae3f..357d448e 100644 --- a/examples/application/main.cpp +++ b/examples/application/main.cpp @@ -15,6 +15,6 @@ int main( int argc, char ** argv ) { ApplicationWindow *mw = new ApplicationWindow(); mw->setCaption( "TQt Example - Application" ); mw->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp index 0be87285..5dfd8e0a 100644 --- a/examples/canvas/canvas.cpp +++ b/examples/canvas/canvas.cpp @@ -319,7 +319,7 @@ Main::Main(TQCanvas& c, TQWidget* parent, const char* name, WFlags f) : file->insertSeparator(); file->insertItem("&Print...", this, SLOT(print()), CTRL+Key_P); file->insertSeparator(); - file->insertItem("E&xit", qApp, SLOT(tquit()), CTRL+Key_Q); + file->insertItem("E&xit", qApp, SLOT(quit()), CTRL+Key_Q); menu->insertItem("&File", file); TQPopupMenu* edit = new TQPopupMenu( menu ); diff --git a/examples/canvas/main.cpp b/examples/canvas/main.cpp index 3666ae95..65e8a5d0 100644 --- a/examples/canvas/main.cpp +++ b/examples/canvas/main.cpp @@ -36,7 +36,7 @@ int main(int argc, char** argv) else m.showMaximized(); - TQObject::connect( qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit()) ); + TQObject::connect( qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit()) ); return app.exec(); } diff --git a/examples/chart/chartform.cpp b/examples/chart/chartform.cpp index 4317b8f0..43b26af7 100644 --- a/examples/chart/chartform.cpp +++ b/examples/chart/chartform.cpp @@ -126,7 +126,7 @@ ChartForm::ChartForm( const TQString& filename ) connect( optionsSetOptionsAction, SIGNAL( activated() ), this, SLOT( optionsSetOptions() ) ); - fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this, "tquit" ); + fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this, "quit" ); connect( fileQuitAction, SIGNAL( activated() ), this, SLOT( fileQuit() ) ); diff --git a/examples/customlayout/main.cpp b/examples/customlayout/main.cpp index 694fcf8f..4f2d15e1 100644 --- a/examples/customlayout/main.cpp +++ b/examples/customlayout/main.cpp @@ -36,7 +36,7 @@ int main( int argc, char **argv ) b1->add( new TQPushButton( "More text", f ) ); b1->add( new TQPushButton( "Even longer button text", f ) ); TQPushButton* qb = new TQPushButton( "Quit", f ); - a.connect( qb, SIGNAL( clicked() ), SLOT( tquit() ) ); + a.connect( qb, SIGNAL( clicked() ), SLOT( quit() ) ); b1->add( qb ); TQWidget *wid = new TQWidget( f ); diff --git a/examples/demo/textdrawing/textedit.cpp b/examples/demo/textdrawing/textedit.cpp index 57949a7a..515523b4 100644 --- a/examples/demo/textdrawing/textedit.cpp +++ b/examples/demo/textdrawing/textedit.cpp @@ -316,7 +316,7 @@ void TextEdit::fileClose() void TextEdit::fileExit() { - qApp->tquit(); + qApp->quit(); } void TextEdit::editUndo() diff --git a/examples/distributor/main.cpp b/examples/distributor/main.cpp index 2a8a30cb..9813afd8 100644 --- a/examples/distributor/main.cpp +++ b/examples/distributor/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char ** argv ) TQApplication a( argc, argv ); Distributor w; w.show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } diff --git a/examples/dragdrop/main.cpp b/examples/dragdrop/main.cpp index 539c8251..91676c56 100644 --- a/examples/dragdrop/main.cpp +++ b/examples/dragdrop/main.cpp @@ -68,6 +68,6 @@ int main( int argc, char ** argv ) mw3.setCaption( "TQt Example - Drag and Drop" ); mw3.show(); - TQObject::connect(qApp,SIGNAL(lastWindowClosed()),qApp,SLOT(tquit())); + TQObject::connect(qApp,SIGNAL(lastWindowClosed()),qApp,SLOT(quit())); return a.exec(); } diff --git a/examples/extension/main.cpp b/examples/extension/main.cpp index 608ef06a..4266b807 100644 --- a/examples/extension/main.cpp +++ b/examples/extension/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char ** argv ) TQApplication a( argc, argv ); MainForm *w = new MainForm; w->show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), w, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), w, SLOT( quit() ) ); return a.exec(); } diff --git a/examples/extension/mainform.ui b/examples/extension/mainform.ui index db156785..6afd73f4 100644 --- a/examples/extension/mainform.ui +++ b/examples/extension/mainform.ui @@ -29,7 +29,7 @@ - tquitPushButton + quitPushButton &Quit @@ -45,10 +45,10 @@ optionsDlg() - tquitPushButton + quitPushButton clicked() MainForm - tquit() + quit() @@ -64,7 +64,7 @@ optionsDlg() - tquit() + quit() init() diff --git a/examples/extension/mainform.ui.h b/examples/extension/mainform.ui.h index 82fc700d..c531b997 100644 --- a/examples/extension/mainform.ui.h +++ b/examples/extension/mainform.ui.h @@ -40,7 +40,7 @@ void MainForm::optionsDlg() } -void MainForm::tquit() +void MainForm::quit() { TQApplication::exit( 0 ); } diff --git a/examples/hello/main.cpp b/examples/hello/main.cpp index 45e9e58e..d8e401b3 100644 --- a/examples/hello/main.cpp +++ b/examples/hello/main.cpp @@ -31,7 +31,7 @@ int main( int argc, char **argv ) #ifndef QT_NO_WIDGET_TOPEXTRA // for TQt/Embedded minimal build h.setCaption( "TQt says hello" ); #endif - TQObject::connect( &h, SIGNAL(clicked()), &a, SLOT(tquit()) ); + TQObject::connect( &h, SIGNAL(clicked()), &a, SLOT(quit()) ); h.setFont( TQFont("times",32,TQFont::Bold) ); // default font h.setBackgroundColor( TQt::white ); // default bg color a.setMainWidget( &h ); diff --git a/examples/helpdemo/doc/manual.html b/examples/helpdemo/doc/manual.html index 8410a99d..7816c7f0 100644 --- a/examples/helpdemo/doc/manual.html +++ b/examples/helpdemo/doc/manual.html @@ -60,6 +60,6 @@





        Close Button

        -

        Click this button to tquit this example application.

        +

        Click this button to quit this example application.

        diff --git a/examples/helpdemo/main.cpp b/examples/helpdemo/main.cpp index c044c179..8cb33995 100644 --- a/examples/helpdemo/main.cpp +++ b/examples/helpdemo/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char ** argv ) TQApplication a( argc, argv ); HelpDemo help; help.show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } diff --git a/examples/helpviewer/main.cpp b/examples/helpviewer/main.cpp index 20ddd2de..d6264c09 100644 --- a/examples/helpviewer/main.cpp +++ b/examples/helpviewer/main.cpp @@ -35,7 +35,7 @@ int main( int argc, char ** argv ) help->showMaximized(); TQObject::connect( &a, SIGNAL(lastWindowClosed()), - &a, SLOT(tquit()) ); + &a, SLOT(quit()) ); return a.exec(); } diff --git a/examples/i18n/main.cpp b/examples/i18n/main.cpp index 2c9fb2fc..adc8728f 100644 --- a/examples/i18n/main.cpp +++ b/examples/i18n/main.cpp @@ -135,7 +135,7 @@ int main( int argc, char** argv ) MyWidget* w = showLang((const char*)qm[i]); if( w == 0 ) exit( 0 ); - TQObject::connect(w, SIGNAL(closed()), qApp, SLOT(tquit())); + TQObject::connect(w, SIGNAL(closed()), qApp, SLOT(quit())); w->setGeometry(x,y,197,356); w->show(); if ( tight ) { diff --git a/examples/i18n/mywidget.cpp b/examples/i18n/mywidget.cpp index 94e21144..c31483f6 100644 --- a/examples/i18n/mywidget.cpp +++ b/examples/i18n/mywidget.cpp @@ -32,7 +32,7 @@ MyWidget::MyWidget( TQWidget* parent, const char* name ) setCentralWidget(central); TQPopupMenu* file = new TQPopupMenu(this); - file->insertItem( tr("E&xit"), qApp, SLOT(tquit()), + file->insertItem( tr("E&xit"), qApp, SLOT(quit()), TQAccel::stringToKey(tr("Ctrl+Q")) ); menuBar()->insertItem( tr("&File"), file ); diff --git a/examples/layout/layout.cpp b/examples/layout/layout.cpp index 26f2a8d1..9e2034a3 100644 --- a/examples/layout/layout.cpp +++ b/examples/layout/layout.cpp @@ -36,7 +36,7 @@ ExampleWidget::ExampleWidget( TQWidget *parent, const char *name ) menubar->setSeparator( TQMenuBar::InWindowsStyle ); TQPopupMenu* popup; popup = new TQPopupMenu( this ); - popup->insertItem( "&Quit", qApp, SLOT(tquit()) ); + popup->insertItem( "&Quit", qApp, SLOT(quit()) ); menubar->insertItem( "&File", popup ); // ...and tell the layout about it. diff --git a/examples/life/lifedlg.cpp b/examples/life/lifedlg.cpp index 1f9af427..a7beffaa 100644 --- a/examples/life/lifedlg.cpp +++ b/examples/life/lifedlg.cpp @@ -55,7 +55,7 @@ LifeDialog::LifeDialog( int scale, TQWidget * parent, const char * name ) life->move( SIDEBORDER, TOPBORDER ); - connect( qb, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( qb, SIGNAL(clicked()), qApp, SLOT(quit()) ); qb->setGeometry( SIDEBORDER, SIDEBORDER, qb->sizeHint().width(), 25 ); timer = new LifeTimer( this ); diff --git a/examples/mdi/main.cpp b/examples/mdi/main.cpp index 1bda1da2..5892ac98 100644 --- a/examples/mdi/main.cpp +++ b/examples/mdi/main.cpp @@ -16,7 +16,7 @@ int main( int argc, char ** argv ) { a.setMainWidget(mw); mw->setCaption( "TQt Example - Multiple Documents Interface (MDI)" ); mw->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); int res = a.exec(); return res; } diff --git a/examples/menu/menu.cpp b/examples/menu/menu.cpp index f71b8152..d7bf3978 100644 --- a/examples/menu/menu.cpp +++ b/examples/menu/menu.cpp @@ -137,7 +137,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name ) file->insertSeparator(); file->insertItem( "&Print", print, CTRL+Key_P ); file->insertSeparator(); - file->insertItem( "E&xit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "E&xit", qApp, SLOT(quit()), CTRL+Key_Q ); TQPopupMenu *edit = new TQPopupMenu( this ); Q_CHECK_PTR( edit ); diff --git a/examples/movies/main.cpp b/examples/movies/main.cpp index 5aaea565..abb1cf0b 100644 --- a/examples/movies/main.cpp +++ b/examples/movies/main.cpp @@ -225,7 +225,7 @@ public: public slots: void startMovie(const TQString& filename); // TQDialog's method - normally closes the file dialog. - // We want it left open, and we want Cancel to tquit everything. + // We want it left open, and we want Cancel to quit everything. void done( int r ); }; @@ -251,7 +251,7 @@ void MovieStarter::startMovie(const TQString& filename) void MovieStarter::done( int r ) { if (r != Accepted) - qApp->tquit(); // end on Cancel + qApp->quit(); // end on Cancel setResult( r ); // And don't hide. @@ -276,7 +276,7 @@ int main(int argc, char **argv) (void)new MovieScreen(argv[arg], TQMovie(argv[arg]), 0, 0, TQt::WDestructiveClose); } - TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit())); + TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit())); } else { // "GUI" mode - open a chooser for movies // diff --git a/examples/network/archivesearch/main.cpp b/examples/network/archivesearch/main.cpp index c08a0003..8a8588a1 100644 --- a/examples/network/archivesearch/main.cpp +++ b/examples/network/archivesearch/main.cpp @@ -17,7 +17,7 @@ int main(int argc, char **argv) ad.show(); TQObject::connect( &a, SIGNAL(lastWindowClosed()), - &a, SLOT(tquit()) ); + &a, SLOT(quit()) ); return a.exec(); } diff --git a/examples/network/clientserver/client/client.cpp b/examples/network/clientserver/client/client.cpp index d76b59a9..0155a4fa 100644 --- a/examples/network/clientserver/client/client.cpp +++ b/examples/network/clientserver/client/client.cpp @@ -30,11 +30,11 @@ public: inputText = new TQLineEdit( hb ); TQPushButton *send = new TQPushButton( tr("Send") , hb ); TQPushButton *close = new TQPushButton( tr("Close connection") , this ); - TQPushButton *tquit = new TQPushButton( tr("Quit") , this ); + TQPushButton *quit = new TQPushButton( tr("Quit") , this ); connect( send, SIGNAL(clicked()), SLOT(sendToServer()) ); connect( close, SIGNAL(clicked()), SLOT(closeConnection()) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); // create the socket and connect various of its signals socket = new TQSocket( this ); diff --git a/examples/network/clientserver/server/server.cpp b/examples/network/clientserver/server/server.cpp index f80adda8..b6ac4479 100644 --- a/examples/network/clientserver/server/server.cpp +++ b/examples/network/clientserver/server/server.cpp @@ -118,12 +118,12 @@ public: TQLabel *lb = new TQLabel( itext, this ); lb->setAlignment( AlignHCenter ); infoText = new TQTextView( this ); - TQPushButton *tquit = new TQPushButton( tr("Quit") , this ); + TQPushButton *quit = new TQPushButton( tr("Quit") , this ); connect( server, SIGNAL(newConnect(ClientSocket*)), SLOT(newConnect(ClientSocket*)) ); - connect( tquit, SIGNAL(clicked()), qApp, - SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, + SLOT(quit()) ); } ~ServerInfo() diff --git a/examples/network/httpd/httpd.cpp b/examples/network/httpd/httpd.cpp index fd42891b..f96fc455 100644 --- a/examples/network/httpd/httpd.cpp +++ b/examples/network/httpd/httpd.cpp @@ -98,12 +98,12 @@ public: TQLabel *lb = new TQLabel( itext, this ); lb->setAlignment( AlignHCenter ); infoText = new TQTextView( this ); - TQPushButton *tquit = new TQPushButton( "tquit" , this ); + TQPushButton *quit = new TQPushButton( "quit" , this ); connect( httpd, SIGNAL(newConnect()), SLOT(newConnect()) ); connect( httpd, SIGNAL(endConnect()), SLOT(endConnect()) ); connect( httpd, SIGNAL(wroteToClient()), SLOT(wroteToClient()) ); - connect( tquit, SIGNAL(pressed()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(pressed()), qApp, SLOT(quit()) ); } ~HttpInfo() diff --git a/examples/network/infoprotocol/infoclient/client.cpp b/examples/network/infoprotocol/infoclient/client.cpp index 24861ab5..a1852eb2 100644 --- a/examples/network/infoprotocol/infoclient/client.cpp +++ b/examples/network/infoprotocol/infoclient/client.cpp @@ -28,7 +28,7 @@ ClientInfo::ClientInfo( TQWidget *parent, const char *name ) : connect( infoList, SIGNAL(selected(const TQString&)), SLOT(selectItem(const TQString&)) ); connect( btnConnect, SIGNAL(clicked()), SLOT(connectToServer()) ); connect( btnBack, SIGNAL(clicked()), SLOT(stepBack()) ); - connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(quit()) ); } diff --git a/examples/network/infoprotocol/infoserver/server.cpp b/examples/network/infoprotocol/infoserver/server.cpp index 4e5ef6d1..e85e6120 100644 --- a/examples/network/infoprotocol/infoserver/server.cpp +++ b/examples/network/infoprotocol/infoserver/server.cpp @@ -23,7 +23,7 @@ ServerInfo::ServerInfo( Q_UINT16 port, TQWidget *parent, const char *name ) : { SimpleServer *server = new SimpleServer( port, this, "simple server" ); connect( server, SIGNAL(newConnect()), SLOT(newConnect()) ); - connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(quit()) ); } void ServerInfo::newConnect() diff --git a/examples/network/infoprotocol/infourlclient/client.cpp b/examples/network/infoprotocol/infourlclient/client.cpp index ba61d3b3..a1625e29 100644 --- a/examples/network/infoprotocol/infourlclient/client.cpp +++ b/examples/network/infoprotocol/infourlclient/client.cpp @@ -22,7 +22,7 @@ ClientInfo::ClientInfo( TQWidget *parent, const char *name ) : ClientInfoBase( parent, name ) { connect( btnOpen, SIGNAL(clicked()), SLOT(downloadFile()) ); - connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(quit()) ); connect( &op, SIGNAL( data( const TQByteArray &, TQNetworkOperation * ) ), this, SLOT( newData( const TQByteArray & ) ) ); } diff --git a/examples/network/networkprotocol/nntp.cpp b/examples/network/networkprotocol/nntp.cpp index eccc1f97..6a4e1245 100644 --- a/examples/network/networkprotocol/nntp.cpp +++ b/examples/network/networkprotocol/nntp.cpp @@ -103,7 +103,7 @@ void Nntp::close() { // close the command socket if ( commandSocket->isOpen() ) { - commandSocket->writeBlock( "tquit\r\n", strlen( "tquit\r\n" ) ); + commandSocket->writeBlock( "quit\r\n", strlen( "quit\r\n" ) ); commandSocket->close(); } } diff --git a/examples/network/remotecontrol/main.cpp b/examples/network/remotecontrol/main.cpp index c153d02d..c617df23 100644 --- a/examples/network/remotecontrol/main.cpp +++ b/examples/network/remotecontrol/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char **argv ) { TQApplication a( argc, argv ); StartUp s; - TQObject::connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + TQObject::connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } diff --git a/examples/network/remotecontrol/remotectrl.ui b/examples/network/remotecontrol/remotectrl.ui index c28482ff..13a9fd79 100644 --- a/examples/network/remotecontrol/remotectrl.ui +++ b/examples/network/remotecontrol/remotectrl.ui @@ -123,7 +123,7 @@ - tquitButton + quitButton &Quit @@ -135,7 +135,7 @@ - tquitButton + quitButton clicked() RemoteCtrl close() diff --git a/examples/opengl/box/globjwin.cpp b/examples/opengl/box/globjwin.cpp index f4af52c3..4d88f240 100644 --- a/examples/opengl/box/globjwin.cpp +++ b/examples/opengl/box/globjwin.cpp @@ -25,7 +25,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name ) // Create a menu TQPopupMenu *file = new TQPopupMenu( this ); - file->insertItem( "Exit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "Exit", qApp, SLOT(quit()), CTRL+Key_Q ); // Create a menu bar TQMenuBar *m = new TQMenuBar( this ); diff --git a/examples/opengl/glpixmap/globjwin.cpp b/examples/opengl/glpixmap/globjwin.cpp index 6341c3e0..c7cd9b67 100644 --- a/examples/opengl/glpixmap/globjwin.cpp +++ b/examples/opengl/glpixmap/globjwin.cpp @@ -46,7 +46,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name ) insertMenuItemId = file->insertItem( "Insert Pixmap Here", this, SLOT(makePixmapForMenu()) ); file->insertSeparator(); - file->insertItem( "Exit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "Exit", qApp, SLOT(quit()), CTRL+Key_Q ); // Create a menu bar TQMenuBar *m = new TQMenuBar( this ); diff --git a/examples/opengl/overlay/globjwin.cpp b/examples/opengl/overlay/globjwin.cpp index fd554551..24dda2fa 100644 --- a/examples/opengl/overlay/globjwin.cpp +++ b/examples/opengl/overlay/globjwin.cpp @@ -22,7 +22,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name ) { // Create a menu TQPopupMenu *file = new TQPopupMenu( this ); - file->insertItem( "Exit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "Exit", qApp, SLOT(quit()), CTRL+Key_Q ); // Create a menu bar TQMenuBar *m = new TQMenuBar( this ); diff --git a/examples/opengl/sharedbox/globjwin.cpp b/examples/opengl/sharedbox/globjwin.cpp index f908add4..0b0a6049 100644 --- a/examples/opengl/sharedbox/globjwin.cpp +++ b/examples/opengl/sharedbox/globjwin.cpp @@ -26,7 +26,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name ) TQPopupMenu *file = new TQPopupMenu( this ); file->insertItem( "Delete Left TQGLWidget", this, SLOT(deleteFirstWidget()) ); - file->insertItem( "Exit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "Exit", qApp, SLOT(quit()), CTRL+Key_Q ); // Create a menu bar TQMenuBar *m = new TQMenuBar( this ); diff --git a/examples/opengl/texture/globjwin.cpp b/examples/opengl/texture/globjwin.cpp index e46833fa..bb57307e 100644 --- a/examples/opengl/texture/globjwin.cpp +++ b/examples/opengl/texture/globjwin.cpp @@ -36,7 +36,7 @@ GLObjectWindow::GLObjectWindow( TQWidget* parent, const char* name ) file->insertItem( "Toggle Animation", c, SLOT(toggleAnimation()), CTRL+Key_A ); file->insertSeparator(); - file->insertItem( "Exit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "Exit", qApp, SLOT(quit()), CTRL+Key_Q ); // Create a menu bar TQMenuBar *m = new TQMenuBar( this ); diff --git a/examples/picture/picture.cpp b/examples/picture/picture.cpp index 44420d08..d04f1889 100644 --- a/examples/picture/picture.cpp +++ b/examples/picture/picture.cpp @@ -92,7 +92,7 @@ void PictureDisplay::keyPressEvent( TQKeyEvent *k ) pict->load( name ); update(); break; - case 'q': // tquit + case 'q': // quit TQApplication::exit(); break; } diff --git a/examples/process/process.cpp b/examples/process/process.cpp index 32368dc5..8204d84e 100644 --- a/examples/process/process.cpp +++ b/examples/process/process.cpp @@ -32,16 +32,16 @@ public slots: private: TQProcess *proc; TQTextView *output; - TQPushButton *tquitButton; + TQPushButton *quitButton; }; UicManager::UicManager() { // Layout output = new TQTextView( this ); - tquitButton = new TQPushButton( tr("Quit"), this ); - connect( tquitButton, SIGNAL(clicked()), - qApp, SLOT(tquit()) ); + quitButton = new TQPushButton( tr("Quit"), this ); + connect( quitButton, SIGNAL(clicked()), + qApp, SLOT(quit()) ); resize( 500, 500 ); // TQProcess related code diff --git a/examples/progress/progress.cpp b/examples/progress/progress.cpp index fa8ff1d6..882d3118 100644 --- a/examples/progress/progress.cpp +++ b/examples/progress/progress.cpp @@ -151,7 +151,7 @@ public: file->insertItem( drawItemText(i), i ); connect( menubar, SIGNAL(activated(int)), this, SLOT(doMenuItem(int)) ); file->insertSeparator(); - file->insertItem( "Quit", qApp, SLOT(tquit()) ); + file->insertItem( "Quit", qApp, SLOT(quit()) ); options = new TQPopupMenu(); Q_CHECK_PTR( options ); diff --git a/examples/qmag/qmag.cpp b/examples/qmag/qmag.cpp index e747bab4..ca86b623 100644 --- a/examples/qmag/qmag.cpp +++ b/examples/qmag/qmag.cpp @@ -49,7 +49,7 @@ private: TQComboBox *refresh; TQPushButton *saveButton; TQPushButton *multiSaveButton; - TQPushButton *tquitButton; + TQPushButton *quitButton; TQPixmap pm; // pixmap, magnified TQPixmap p; // pixmap TQImage image; // image of pixmap (for RGB) @@ -126,12 +126,12 @@ MagWidget::MagWidget( TQWidget *parent, const char *name ) multiSaveButton->setGeometry( saveButton->geometry().right() + 2, 2, 10+multiSaveButton->fontMetrics().width("MultiSave"), 20 ); - tquitButton = new TQPushButton( this ); - Q_CHECK_PTR(tquitButton); - connect( tquitButton, SIGNAL(clicked()), qApp, SLOT(tquit()) ); - tquitButton->setText( "Quit" ); - tquitButton->setGeometry( multiSaveButton->geometry().right() + 2, 2, - 10+tquitButton->fontMetrics().width("Quit"), 20 ); + quitButton = new TQPushButton( this ); + Q_CHECK_PTR(quitButton); + connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) ); + quitButton->setText( "Quit" ); + quitButton->setGeometry( multiSaveButton->geometry().right() + 2, 2, + 10+quitButton->fontMetrics().width("Quit"), 20 ); #else zoom = 0; multiSaveButton = 0; @@ -150,8 +150,8 @@ MagWidget::MagWidget( TQWidget *parent, const char *name ) yoffset = zoom->height() // top buttons + 4 // space around top buttons + rgb->height(); // color-value text height - setMinimumSize( tquitButton->pos().x(), yoffset+20 ); - resize( tquitButton->geometry().topRight().x() + 2, yoffset+60 ); + setMinimumSize( quitButton->pos().x(), yoffset+20 ); + resize( quitButton->geometry().topRight().x() + 2, yoffset+60 ); #else yoffset = 0; resize(350,350); diff --git a/examples/qmag/qmag.doc b/examples/qmag/qmag.doc index 5084f395..f7fac63a 100644 --- a/examples/qmag/qmag.doc +++ b/examples/qmag/qmag.doc @@ -6,7 +6,7 @@ \title QMag This is a simple magnifier-type program. It shows how one can do - some tquite low-level operations in a portable way using Qt. + some quite low-level operations in a portable way using Qt. Run it, click in the magnifier window, then click where you want to magnify or drag out a rectangle. Two combo boxes let you select diff --git a/examples/qwerty/main.cpp b/examples/qwerty/main.cpp index b514126e..727a3aaf 100644 --- a/examples/qwerty/main.cpp +++ b/examples/qwerty/main.cpp @@ -32,6 +32,6 @@ int main( int argc, char **argv ) e->show(); } } - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } diff --git a/examples/regexptester/main.cpp b/examples/regexptester/main.cpp index 493c955a..1e0949c7 100644 --- a/examples/regexptester/main.cpp +++ b/examples/regexptester/main.cpp @@ -6,6 +6,6 @@ int main(int argc, char **argv) TQApplication app(argc, argv); RegexpTester form; form.show(); - app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(tquit())); + app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); return app.exec(); } diff --git a/examples/regexptester/regexptester.cpp b/examples/regexptester/regexptester.cpp index 326c0204..91e544de 100644 --- a/examples/regexptester/regexptester.cpp +++ b/examples/regexptester/regexptester.cpp @@ -39,7 +39,7 @@ RegexpTester::RegexpTester(TQWidget* parent, const char* name, bool modal, executePushButton = new TQPushButton(this); executePushButton->setDefault(true); copyPushButton = new TQPushButton(this); - tquitPushButton = new TQPushButton(this); + quitPushButton = new TQPushButton(this); statusBar = new TQStatusBar(this); TQGridLayout *gridLayout = new TQGridLayout(2, 2, 6); @@ -55,7 +55,7 @@ RegexpTester::RegexpTester(TQWidget* parent, const char* name, bool modal, TQVBoxLayout *buttonLayout = new TQVBoxLayout(0, 6, 6); buttonLayout->addWidget(executePushButton); buttonLayout->addWidget(copyPushButton); - buttonLayout->addWidget(tquitPushButton); + buttonLayout->addWidget(quitPushButton); buttonLayout->addStretch(1); TQHBoxLayout *middleLayout = new TQHBoxLayout(0, 6, 6); middleLayout->addWidget(resultTable); @@ -72,7 +72,7 @@ RegexpTester::RegexpTester(TQWidget* parent, const char* name, bool modal, connect(copyPushButton, SIGNAL(clicked()), this, SLOT(copy())); connect(executePushButton, SIGNAL(clicked()), this, SLOT(execute())); - connect(tquitPushButton, SIGNAL(clicked()), this, SLOT(accept())); + connect(quitPushButton, SIGNAL(clicked()), this, SLOT(accept())); execute(); } @@ -174,6 +174,6 @@ void RegexpTester::languageChange() wildcardCheckBox->setText(tr("&Wildcard")); copyPushButton->setText(tr("&Copy")); executePushButton->setText(tr("&Execute")); - tquitPushButton->setText(tr("&Quit")); + quitPushButton->setText(tr("&Quit")); } diff --git a/examples/regexptester/regexptester.h b/examples/regexptester/regexptester.h index faff773b..5bed34a1 100644 --- a/examples/regexptester/regexptester.h +++ b/examples/regexptester/regexptester.h @@ -28,7 +28,7 @@ public: TQTable *resultTable; TQPushButton *executePushButton; TQPushButton *copyPushButton; - TQPushButton *tquitPushButton; + TQPushButton *quitPushButton; TQStatusBar *statusBar; public slots: diff --git a/examples/richtext/richtext.cpp b/examples/richtext/richtext.cpp index e2b393ea..e12aaf0b 100644 --- a/examples/richtext/richtext.cpp +++ b/examples/richtext/richtext.cpp @@ -100,7 +100,7 @@ MyRichText::MyRichText( TQWidget *parent, const char *name ) bPrev->setEnabled( FALSE ); - connect( bClose, SIGNAL( clicked() ), qApp, SLOT( tquit() ) ); + connect( bClose, SIGNAL( clicked() ), qApp, SLOT( quit() ) ); connect( bPrev, SIGNAL( clicked() ), this, SLOT( prev() ) ); connect( bNext, SIGNAL( clicked() ), this, SLOT( next() ) ); diff --git a/examples/rot13/rot13.cpp b/examples/rot13/rot13.cpp index 967c72de..e44d7b87 100644 --- a/examples/rot13/rot13.cpp +++ b/examples/rot13/rot13.cpp @@ -21,14 +21,14 @@ Rot13::Rot13() connect( left, SIGNAL(textChanged()), this, SLOT(changeRight()) ); connect( right, SIGNAL(textChanged()), this, SLOT(changeLeft()) ); - TQPushButton * tquit = new TQPushButton( "&Quit", this ); - tquit->setFocusPolicy( NoFocus ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + TQPushButton * quit = new TQPushButton( "&Quit", this ); + quit->setFocusPolicy( NoFocus ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQGridLayout * l = new TQGridLayout( this, 2, 2, 5 ); l->addWidget( left, 0, 0 ); l->addWidget( right, 0, 1 ); - l->addWidget( tquit, 1, 1, AlignRight ); + l->addWidget( quit, 1, 1, AlignRight ); left->setFocus(); } diff --git a/examples/scrollview/scrollview.cpp b/examples/scrollview/scrollview.cpp index 994cd292..4e0cfcf1 100644 --- a/examples/scrollview/scrollview.cpp +++ b/examples/scrollview/scrollview.cpp @@ -43,7 +43,7 @@ public: for (int y=0; y<2000-h; y+=h+10) { if (y == 0) { TQButton* q=new TQPushButton("Quit", this); - connect(q, SIGNAL(clicked()), qApp, SLOT(tquit())); + connect(q, SIGNAL(clicked()), qApp, SLOT(quit())); } else { TQString str; if ( b > 0 ) { @@ -207,7 +207,7 @@ public: TQPopupMenu* file = new TQPopupMenu( menubar ); Q_CHECK_PTR( file ); menubar->insertItem( "&File", file ); - file->insertItem( "Quit", qApp, SLOT(tquit()) ); + file->insertItem( "Quit", qApp, SLOT(quit()) ); vp_options = new TQPopupMenu( menubar ); Q_CHECK_PTR( vp_options ); @@ -433,7 +433,7 @@ int main( int argc, char **argv ) ve3.setCaption("TQt Example - Scrollviews"); ve3.show(); - TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit())); + TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit())); return a.exec(); } diff --git a/examples/showimg/main.cpp b/examples/showimg/main.cpp index 213b9121..e8c936b8 100644 --- a/examples/showimg/main.cpp +++ b/examples/showimg/main.cpp @@ -50,7 +50,7 @@ int main( int argc, char **argv ) } } - TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit())); + TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit())); return a.exec(); } diff --git a/examples/showimg/showimg.cpp b/examples/showimg/showimg.cpp index 905f8184..7b987af1 100644 --- a/examples/showimg/showimg.cpp +++ b/examples/showimg/showimg.cpp @@ -57,7 +57,7 @@ ImageViewer::ImageViewer( TQWidget *parent, const char *name, int wFlags ) si = file->insertItem( "Save image", saveimage ); sp = file->insertItem( "Save pixmap", savepixmap ); file->insertSeparator(); - file->insertItem( "E&xit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "E&xit", qApp, SLOT(quit()), CTRL+Key_Q ); edit = new TQPopupMenu( menubar ); menubar->insertItem( "&Edit", edit ); diff --git a/examples/sound/sound.cpp b/examples/sound/sound.cpp index 45ce6156..e020e1a2 100644 --- a/examples/sound/sound.cpp +++ b/examples/sound/sound.cpp @@ -50,7 +50,7 @@ SoundPlayer::SoundPlayer() : file->insertItem("Play 3 and 4 together", this, SLOT(doPlay34())); file->insertItem("Play all together", this, SLOT(doPlay1234())); file->insertSeparator(); - file->insertItem("E&xit", qApp, SLOT(tquit())); + file->insertItem("E&xit", qApp, SLOT(quit())); menuBar()->insertItem("&File", file); } diff --git a/examples/tabdialog/tabdialog.cpp b/examples/tabdialog/tabdialog.cpp index 774b74c7..fd5837d7 100644 --- a/examples/tabdialog/tabdialog.cpp +++ b/examples/tabdialog/tabdialog.cpp @@ -25,7 +25,7 @@ TabDialog::TabDialog( TQWidget *parent, const char *name, const TQString &_filen setupTab2(); setupTab3(); - connect( this, SIGNAL( applyButtonPressed() ), qApp, SLOT( tquit() ) ); + connect( this, SIGNAL( applyButtonPressed() ), qApp, SLOT( quit() ) ); } void TabDialog::setupTab1() diff --git a/examples/tetrix/qtetrix.cpp b/examples/tetrix/qtetrix.cpp index 68b49c25..655c2e71 100644 --- a/examples/tetrix/qtetrix.cpp +++ b/examples/tetrix/qtetrix.cpp @@ -111,12 +111,12 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name ) showLines->setFrameStyle(TQFrame::Sunken|TQFrame::Box); showLevel->setFrameStyle(TQFrame::Sunken|TQFrame::Box); #endif - tquitButton = new TQPushButton("&Quit",this); + quitButton = new TQPushButton("&Quit",this); startButton = new TQPushButton("&New Game",this); pauseButton = new TQPushButton("&Pause",this); // Don't let the buttons get keyboard focus - tquitButton->setFocusPolicy( TQWidget::NoFocus ); + quitButton->setFocusPolicy( TQWidget::NoFocus ); startButton->setFocusPolicy( TQWidget::NoFocus ); pauseButton->setFocusPolicy( TQWidget::NoFocus ); @@ -140,7 +140,7 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name ) SLOT(setNum(int))); #endif connect( startButton, SIGNAL(clicked()), board, SLOT(start()) ); - connect( tquitButton , SIGNAL(clicked()), SLOT(tquit())); + connect( quitButton , SIGNAL(clicked()), SLOT(quit())); connect( pauseButton, SIGNAL(clicked()), board, SLOT(pause()) ); board->setGeometry( 150, 20, 153, 333 ); @@ -158,7 +158,7 @@ TQTetrix::TQTetrix( TQWidget *parent, const char *name ) showLines->setNum( 0 ); #endif startButton->setGeometry( 46, 288, 90, 30 ); - tquitButton->setGeometry( 370, 265, 90, 30 ); + quitButton->setGeometry( 370, 265, 90, 30 ); pauseButton->setGeometry( 370, 310, 90, 30 ); board->revealNextPiece(TRUE); @@ -170,7 +170,7 @@ void TQTetrix::gameOver() } -void TQTetrix::tquit() +void TQTetrix::quit() { - qApp->tquit(); + qApp->quit(); } diff --git a/examples/tetrix/qtetrix.h b/examples/tetrix/qtetrix.h index 36d8bd04..5b39051b 100644 --- a/examples/tetrix/qtetrix.h +++ b/examples/tetrix/qtetrix.h @@ -46,7 +46,7 @@ public: public slots: void gameOver(); - void tquit(); + void quit(); private: void keyPressEvent( TQKeyEvent *e ) { board->keyPressEvent(e); } @@ -61,7 +61,7 @@ private: TQLabel *showLevel; TQLabel *showLines; #endif - TQPushButton *tquitButton; + TQPushButton *quitButton; TQPushButton *startButton; TQPushButton *pauseButton; }; diff --git a/examples/textedit/main.cpp b/examples/textedit/main.cpp index db2ad21a..31b5412a 100644 --- a/examples/textedit/main.cpp +++ b/examples/textedit/main.cpp @@ -17,6 +17,6 @@ int main( int argc, char ** argv ) mw->setCaption( "Richtext Editor" ); mw->resize( 640, 800 ); mw->show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } diff --git a/examples/textedit/textedit.cpp b/examples/textedit/textedit.cpp index a64c9d94..b2507478 100644 --- a/examples/textedit/textedit.cpp +++ b/examples/textedit/textedit.cpp @@ -315,7 +315,7 @@ void TextEdit::fileClose() void TextEdit::fileExit() { - qApp->tquit(); + qApp->quit(); } void TextEdit::editUndo() diff --git a/examples/themes/themes.cpp b/examples/themes/themes.cpp index 6e5b95bb..f448e342 100644 --- a/examples/themes/themes.cpp +++ b/examples/themes/themes.cpp @@ -86,7 +86,7 @@ Themes::Themes( TQWidget *parent, const char *name, WFlags f ) } ag->addTo(style); style->insertSeparator(); - style->insertItem("&Quit", qApp, SLOT( tquit() ), CTRL | Key_Q ); + style->insertItem("&Quit", qApp, SLOT( quit() ), CTRL | Key_Q ); TQPopupMenu * help = new TQPopupMenu( this ); menuBar()->insertSeparator(); diff --git a/examples/tictac/tictac.cpp b/examples/tictac/tictac.cpp index 60cd0eb7..e3d15eea 100644 --- a/examples/tictac/tictac.cpp +++ b/examples/tictac/tictac.cpp @@ -323,12 +323,12 @@ TicTacToe::TicTacToe( int boardSize, TQWidget *parent, const char *name ) newGame = new TQPushButton( "Play!", this ); connect( newGame, SIGNAL(clicked()), SLOT(newGameClicked()) ); - tquit = new TQPushButton( "Quit", this ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + quit = new TQPushButton( "Quit", this ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQHBoxLayout * b = new TQHBoxLayout; l->addLayout( b ); b->addWidget( newGame ); - b->addWidget( tquit ); + b->addWidget( quit ); newState(); } diff --git a/examples/tictac/tictac.h b/examples/tictac/tictac.h index 876def88..72de5278 100644 --- a/examples/tictac/tictac.h +++ b/examples/tictac/tictac.h @@ -83,7 +83,7 @@ private: // -------------------------------------------------------------------------- // TicTacToe implements the complete game. // TicTacToe is a composite widget that contains a TicTacGameBoard and -// two push buttons for starting the game and tquitting. +// two push buttons for starting the game and quitting. // class TicTacToe : public TQWidget @@ -98,7 +98,7 @@ private: void newState(); TQComboBox *whoStarts; TQPushButton *newGame; - TQPushButton *tquit; + TQPushButton *quit; TQLabel *message; TicTacGameBoard *board; }; diff --git a/examples/widgets/widgets.cpp b/examples/widgets/widgets.cpp index 10ce7ece..513a6e6e 100644 --- a/examples/widgets/widgets.cpp +++ b/examples/widgets/widgets.cpp @@ -181,7 +181,7 @@ WidgetView::WidgetView( TQWidget *parent, const char *name ) id = popup->insertItem( openIcon, "&Open...", this, SLOT( open() ) ); popup->insertSeparator(); - popup->insertItem( "Quit", qApp, SLOT(tquit()), CTRL+Key_Q ); + popup->insertItem( "Quit", qApp, SLOT(quit()), CTRL+Key_Q ); textStylePopup = popup = new TQPopupMenu( this ); menuBar()->insertItem( "&Edit", popup ); diff --git a/qmake/book/qmake-commandreference.leaf b/qmake/book/qmake-commandreference.leaf index e20c4218..1e499ab7 100644 --- a/qmake/book/qmake-commandreference.leaf +++ b/qmake/book/qmake-commandreference.leaf @@ -1954,7 +1954,7 @@ Note: the QMAKESPEC path will automatically be added to the It is common on UNIX to be able to install from the same utility as you build with (e.g make install). For this \e qmake has introduce the -concept of an install set. The notation for this is tquite simple, +concept of an install set. The notation for this is quite simple, first you fill in an "object" in qmake for example: \code @@ -2104,7 +2104,7 @@ qmake backends (currently this is only supported by the UNIX \link #MAKEFILE_GENERATOR generator \endlink). The interfaces to customizing the Makefile are done through "objects" as in -other places in qmake. The notation for this is tquite simple, first you +other places in qmake. The notation for this is quite simple, first you fill in an "object" in qmake for example: \code diff --git a/qmake/book/qmake-concepts.leaf b/qmake/book/qmake-concepts.leaf index 3f71bdf9..09dadad3 100644 --- a/qmake/book/qmake-concepts.leaf +++ b/qmake/book/qmake-concepts.leaf @@ -11,7 +11,7 @@ also contains additional features to support Qt development. \e qmake generates a makefile based on the information in a project file. Project files are created by the developer. Project files are -usually simple, but can be tquite sophisticated if retquired. +usually simple, but can be quite sophisticated if retquired. \e qmake can also generate projects for Microsoft Visual studio without having to change the project file. diff --git a/src/3rdparty/libjpeg/jdct.h b/src/3rdparty/libjpeg/jdct.h index d4d1ae42..ebaf7301 100644 --- a/src/3rdparty/libjpeg/jdct.h +++ b/src/3rdparty/libjpeg/jdct.h @@ -67,7 +67,7 @@ typedef FAST_FLOAT FLOAT_MULT_TYPE; /* preferred floating type */ /* * Each IDCT routine is responsible for range-limiting its results and * converting them to unsigned form (0..MAXJSAMPLE). The raw outputs could - * be tquite far out of range if the input data is corrupt, so a bulletproof + * be quite far out of range if the input data is corrupt, so a bulletproof * range-limiting step is retquired. We use a mask-and-table-lookup method * to do the combined operations tquickly. See the comments with * prepare_range_limit_table (in jdmaster.c) for more info. diff --git a/src/3rdparty/libjpeg/jdhuff.c b/src/3rdparty/libjpeg/jdhuff.c index c95f49e9..a8587242 100644 --- a/src/3rdparty/libjpeg/jdhuff.c +++ b/src/3rdparty/libjpeg/jdhuff.c @@ -275,7 +275,7 @@ jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, boolean isDC, int tblno, * On most machines MIN_GET_BITS should be 25 to allow the full 32-bit width * of get_buffer to be used. (On machines with wider words, an even larger * buffer could be used.) However, on some machines 32-bit shifts are - * tquite slow and take time proportional to the number of places shifted. + * quite slow and take time proportional to the number of places shifted. * (This is true with most PC compilers, for instance.) In this case it may * be a win to set MIN_GET_BITS to the minimum value of 15. This reduces the * average shift distance at the cost of more calls to jpeg_fill_bit_buffer. diff --git a/src/3rdparty/libjpeg/jmemmgr.c b/src/3rdparty/libjpeg/jmemmgr.c index d46b9572..99146731 100644 --- a/src/3rdparty/libjpeg/jmemmgr.c +++ b/src/3rdparty/libjpeg/jmemmgr.c @@ -329,7 +329,7 @@ alloc_small (j_common_ptr cinfo, int pool_id, size_t sizeofobject) * * The external semantics of these are the same as "small" objects, * except that FAR pointers are used on 80x86. However the pool - * management heuristics are tquite different. We assume that each + * management heuristics are quite different. We assume that each * request is large enough that it may as well be passed directly to * jpeg_get_large; the pool management just links everything together * so that we can free it all on demand. diff --git a/src/3rdparty/libjpeg/jquant2.c b/src/3rdparty/libjpeg/jquant2.c index 66dfee61..06671126 100644 --- a/src/3rdparty/libjpeg/jquant2.c +++ b/src/3rdparty/libjpeg/jquant2.c @@ -573,7 +573,7 @@ select_colors (j_decompress_ptr cinfo, int desired_colors) * We re-use the histogram space as an "inverse color map", essentially a * cache for the results of nearest-color searches. All colors within a * histogram cell will be mapped to the same colormap entry, namely the one - * closest to the cell's center. This may not be tquite the closest entry to + * closest to the cell's center. This may not be quite the closest entry to * the actual input color, but it's almost as good. A zero in the cache * indicates we haven't found the nearest color for that cell yet; the array * is cleared to zeroes before starting the mapping pass. When we find the diff --git a/src/3rdparty/libjpeg/libjpeg.doc b/src/3rdparty/libjpeg/libjpeg.doc index 01835b2c..95da39e7 100644 --- a/src/3rdparty/libjpeg/libjpeg.doc +++ b/src/3rdparty/libjpeg/libjpeg.doc @@ -443,7 +443,7 @@ stdio stream (if necessary) afterwards. If you have requested a multi-pass operating mode, such as Huffman code optimization, jpeg_finish_compress() will perform the additional passes using data buffered by the first pass. In this case jpeg_finish_compress() may take -tquite a while to complete. With the default compression parameters, this will +quite a while to complete. With the default compression parameters, this will not happen. It is an error to call jpeg_finish_compress() before writing the necessary @@ -620,7 +620,7 @@ Typical code is just If you have requested a multi-pass operating mode, such as 2-pass color quantization, jpeg_start_decompress() will do everything needed before data -output can begin. In this case jpeg_start_decompress() may take tquite a while +output can begin. In this case jpeg_start_decompress() may take quite a while to complete. With a single-scan (non progressive) JPEG file and default decompression parameters, this will not happen; jpeg_start_decompress() will return tquickly. @@ -1003,7 +1003,7 @@ int v_samp_factor Horizontal and vertical sampling factors for the component; must be 1..4 according to the JPEG standard. Note that larger sampling factors indicate a higher-resolution component; many people find - this behavior tquite unintuitive. The default values are 2,2 for + this behavior quite unintuitive. The default values are 2,2 for luminance components and 1,1 for chrominance components, except for grayscale where 1,1 is used. @@ -1931,7 +1931,7 @@ something like this: ... jpeg_finish_output() } while (! final_pass); -rather than tquitting as soon as jpeg_input_complete() returns TRUE. This +rather than quitting as soon as jpeg_input_complete() returns TRUE. This arrangement makes it simple to use higher-quality decoding parameters for the final pass. But if you don't want to use special parameters for the final pass, the right loop logic is like this: @@ -2108,7 +2108,7 @@ result at any time after jpeg_read_header() completes. It is also worth noting that when you use jpeg_consume_input() to let input processing get ahead of output processing, the resulting pattern of access to -the coefficient buffer is tquite nonsequential. It's best to use the memory +the coefficient buffer is quite nonsequential. It's best to use the memory manager jmemnobs.c if you can (ie, if you have enough real or virtual main memory). If not, at least make sure that max_memory_to_use is set as high as possible. If the JPEG memory manager has to use a temporary file, you will @@ -2890,7 +2890,7 @@ expect that few applications will need more than four or so. On machines with unusual data type sizes, you may be able to improve performance or reduce memory space by tweaking the various typedefs in jmorecfg.h. In particular, on some RISC CPUs, access to arrays of "short"s -is tquite slow; consider trading memory for speed by making JCOEF, INT16, and +is quite slow; consider trading memory for speed by making JCOEF, INT16, and UINT16 be "int" or "unsigned int". UINT8 is also a candidate to become int. You probably don't want to make JSAMPLE be int unless you have lots of memory to burn. diff --git a/src/3rdparty/libjpeg/structure.doc b/src/3rdparty/libjpeg/structure.doc index 0601ee7a..b9b20cc8 100644 --- a/src/3rdparty/libjpeg/structure.doc +++ b/src/3rdparty/libjpeg/structure.doc @@ -489,7 +489,7 @@ shown are: * Color reduction: this module handles color precision reduction, e.g., generating 15-bit color (5 bits/primary) from JPEG's 24-bit output. - Not tquite clear yet how this should be handled... should we merge it with + Not quite clear yet how this should be handled... should we merge it with colorspace conversion??? Note that some high-speed operating modes might condense the entire @@ -722,7 +722,7 @@ decoding need not worry about this, since they will just store the same values again if forced to repeat the MCU. This approach would probably not work for an arithmetic codec, since its -modifiable state is tquite large and couldn't be copied cheaply. Instead it +modifiable state is quite large and couldn't be copied cheaply. Instead it would have to suspend and resume exactly at the point of the buffer end. The JPEG marker reader is designed to cope with suspension at an arbitrary diff --git a/src/3rdparty/libmng/doc/libmng.txt b/src/3rdparty/libmng/doc/libmng.txt index 67b26f50..95c086db 100644 --- a/src/3rdparty/libmng/doc/libmng.txt +++ b/src/3rdparty/libmng/doc/libmng.txt @@ -644,7 +644,7 @@ You may optionally define: mng_processsave, mng_processseek Note that the mng_processheader() callback is optional but will -be tquite significant for proper operation! +be quite significant for proper operation! Displaying an image will fail if you are creating a file or already displaying one. Yes, you can't display it twice! @@ -979,7 +979,7 @@ by using the mng_getlasterror() function: Please note that you must have a pretty good understanding of the chunk specification. Unlike the read functions, there are virtually no checks, -so it is tquite possible to write completely wrong files. +so it is quite possible to write completely wrong files. It is a good practice to read back your file into the library to verify its integrity. diff --git a/src/3rdparty/libmng/doc/man/libmng.3 b/src/3rdparty/libmng/doc/man/libmng.3 index 3c88d8a0..c86faf61 100644 --- a/src/3rdparty/libmng/doc/man/libmng.3 +++ b/src/3rdparty/libmng/doc/man/libmng.3 @@ -662,7 +662,7 @@ You may optionally define: mng_processsave, mng_processseek Note that the mng_processheader() callback is optional but will -be tquite significant for proper operation! +be quite significant for proper operation! Displaying an image will fail if you are creating a file or already displaying one. Yes, you can't display it twice! @@ -999,7 +999,7 @@ by using the mng_getlasterror() function: Please note that you must have a pretty good understanding of the chunk specification. Unlike the read functions, there are virtually no checks, -so it is tquite possible to write completely wrong files. +so it is quite possible to write completely wrong files. It is a good practice to read back your file into the library to verify its integrity. diff --git a/src/3rdparty/libmng/libmng_jpeg.c b/src/3rdparty/libmng/libmng_jpeg.c index 925c1605..a4e55013 100644 --- a/src/3rdparty/libmng/libmng_jpeg.c +++ b/src/3rdparty/libmng/libmng_jpeg.c @@ -552,7 +552,7 @@ mng_retcode mngjpeg_decompressdata (mng_datap pData, MNG_ALLOC (pData, pData->pJPEGrow, pData->iJPEGrowlen) - pData->iJPEGrgbrow = 0; /* tquite empty up to now */ + pData->iJPEGrgbrow = 0; /* quite empty up to now */ } pData->pJPEGcurrent = (mng_uint8p)pData->pJPEGdinfo->src->next_input_byte; @@ -888,7 +888,7 @@ mng_retcode mngjpeg_decompressdata2 (mng_datap pData, MNG_ALLOC (pData, pData->pJPEGrow2, pData->iJPEGrowlen2) - pData->iJPEGalpharow = 0; /* tquite empty up to now */ + pData->iJPEGalpharow = 0; /* quite empty up to now */ } pData->pJPEGcurrent2 = (mng_uint8p)pData->pJPEGdinfo2->src->next_input_byte; diff --git a/src/3rdparty/libpng/png.h b/src/3rdparty/libpng/png.h index e983bc77..b48a8609 100644 --- a/src/3rdparty/libpng/png.h +++ b/src/3rdparty/libpng/png.h @@ -1609,14 +1609,14 @@ extern PNG_EXPORT(void,png_set_crc_action) PNGARG((png_structp png_ptr, /* Values for png_set_crc_action() to say how to handle CRC errors in * ancillary and critical chunks, and whether to use the data contained * therein. Note that it is impossible to "discard" data in a critical - * chunk. For versions prior to 0.90, the action was always error/tquit, + * chunk. For versions prior to 0.90, the action was always error/quit, * whereas in version 0.90 and later, the action for CRC errors in ancillary * chunks is warn/discard. These values should NOT be changed. * * value action:critical action:ancillary */ -#define PNG_CRC_DEFAULT 0 /* error/tquit warn/discard data */ -#define PNG_CRC_ERROR_QUIT 1 /* error/tquit error/tquit */ +#define PNG_CRC_DEFAULT 0 /* error/quit warn/discard data */ +#define PNG_CRC_ERROR_QUIT 1 /* error/quit error/quit */ #define PNG_CRC_WARN_DISCARD 2 /* (INVALID) warn/discard data */ #define PNG_CRC_WARN_USE 3 /* warn/use data warn/use data */ #define PNG_CRC_QUIET_USE 4 /* tquiet/use data tquiet/use data */ diff --git a/src/3rdparty/libpng/pngrtran.c b/src/3rdparty/libpng/pngrtran.c index 73b81332..4f002c80 100644 --- a/src/3rdparty/libpng/pngrtran.c +++ b/src/3rdparty/libpng/pngrtran.c @@ -37,7 +37,7 @@ png_set_crc_action(png_structp png_ptr, int crit_action, int ancil_action) break; case PNG_CRC_WARN_DISCARD: /* not a valid action for critical data */ png_warning(png_ptr, "Can't discard critical data on CRC error."); - case PNG_CRC_ERROR_QUIT: /* error/tquit */ + case PNG_CRC_ERROR_QUIT: /* error/quit */ case PNG_CRC_DEFAULT: default: png_ptr->flags &= ~PNG_FLAG_CRC_CRITICAL_MASK; @@ -57,7 +57,7 @@ png_set_crc_action(png_structp png_ptr, int crit_action, int ancil_action) png_ptr->flags |= PNG_FLAG_CRC_ANCILLARY_USE | PNG_FLAG_CRC_ANCILLARY_NOWARN; break; - case PNG_CRC_ERROR_QUIT: /* error/tquit */ + case PNG_CRC_ERROR_QUIT: /* error/quit */ png_ptr->flags &= ~PNG_FLAG_CRC_ANCILLARY_MASK; png_ptr->flags |= PNG_FLAG_CRC_ANCILLARY_NOWARN; break; diff --git a/src/3rdparty/libpng/scripts/pngdef.pas b/src/3rdparty/libpng/scripts/pngdef.pas index 3aeb067d..ecfb8feb 100644 --- a/src/3rdparty/libpng/scripts/pngdef.pas +++ b/src/3rdparty/libpng/scripts/pngdef.pas @@ -200,14 +200,14 @@ const // Values for png_set_crc_action() to say how to handle CRC errors in // ancillary and critical chunks, and whether to use the data contained // therein. Note that it is impossible to "discard" data in a critical -// chunk. For versions prior to 0.90, the action was always error/tquit, +// chunk. For versions prior to 0.90, the action was always error/quit, // whereas in version 0.90 and later, the action for CRC errors in ancillary // chunks is warn/discard. These values should NOT be changed. // value action:critical action:ancillary - PNG_CRC_DEFAULT = 0; // error/tquit warn/discard data - PNG_CRC_ERROR_QUIT = 1; // error/tquit error/tquit + PNG_CRC_DEFAULT = 0; // error/quit warn/discard data + PNG_CRC_ERROR_QUIT = 1; // error/quit error/quit PNG_CRC_WARN_DISCARD = 2; // (INVALID) warn/discard data PNG_CRC_WARN_USE = 3; // warn/use data warn/use data PNG_CRC_QUIET_USE = 4; // tquiet/use data tquiet/use data diff --git a/src/3rdparty/sqlite/shell.c b/src/3rdparty/sqlite/shell.c index 9348c330..58771aa7 100644 --- a/src/3rdparty/sqlite/shell.c +++ b/src/3rdparty/sqlite/shell.c @@ -488,7 +488,7 @@ static char zHelp[] = ".output FILENAME Send output to FILENAME\n" ".output stdout Send output to the screen\n" ".prompt MAIN CONTINUE Replace the standard prompts\n" - ".tquit Exit this program\n" + ".quit Exit this program\n" ".read FILENAME Execute SQL in FILENAME\n" #ifdef SQLITE_HAS_CODEC ".rekey OLD NEW NEW Change the encryption key\n" @@ -770,7 +770,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){ } }else - if( c=='q' && strncmp(azArg[0], "tquit", n)==0 ){ + if( c=='q' && strncmp(azArg[0], "quit", n)==0 ){ rc = 1; }else diff --git a/src/3rdparty/zlib/deflate.c b/src/3rdparty/zlib/deflate.c index 1ca5397c..7e970d43 100644 --- a/src/3rdparty/zlib/deflate.c +++ b/src/3rdparty/zlib/deflate.c @@ -123,7 +123,7 @@ local void check_match OF((deflate_state *s, IPos start, IPos match, typedef struct config_s { ush good_length; /* reduce lazy search above this match length */ ush max_lazy; /* do not perform lazy search above this match length */ - ush nice_length; /* tquit search above this match length */ + ush nice_length; /* quit search above this match length */ ush max_chain; compress_func func; } config; diff --git a/src/3rdparty/zlib/deflate.h b/src/3rdparty/zlib/deflate.h index 87b0b582..410681d1 100644 --- a/src/3rdparty/zlib/deflate.h +++ b/src/3rdparty/zlib/deflate.h @@ -110,7 +110,7 @@ typedef struct internal_state { * bytes. With this organization, matches are limited to a distance of * wSize-MAX_MATCH bytes, but this ensures that IO is always * performed with a length multiple of the block size. Also, it limits - * the window size to 64K, which is tquite useful on MSDOS. + * the window size to 64K, which is quite useful on MSDOS. * To do: use the user input buffer as sliding window. */ diff --git a/src/3rdparty/zlib/gzio.c b/src/3rdparty/zlib/gzio.c index 14213d6b..74fc4954 100644 --- a/src/3rdparty/zlib/gzio.c +++ b/src/3rdparty/zlib/gzio.c @@ -333,7 +333,7 @@ local void check_header(s) if ((flags & EXTRA_FIELD) != 0) { /* skip the extra field */ len = (uInt)get_byte(s); len += ((uInt)get_byte(s))<<8; - /* len is garbage if EOF but the loop below will tquit anyway */ + /* len is garbage if EOF but the loop below will quit anyway */ while (len-- != 0 && get_byte(s) != EOF) ; } if ((flags & ORIG_NAME) != 0) { /* skip the original file name */ diff --git a/src/3rdparty/zlib/zlib.h b/src/3rdparty/zlib/zlib.h index b4c94422..07c50c67 100644 --- a/src/3rdparty/zlib/zlib.h +++ b/src/3rdparty/zlib/zlib.h @@ -563,7 +563,7 @@ ZEXTERN int Q_ZEXPORT deflateCopy OF((z_streamp dest, tried, for example when there are several ways of pre-processing the input data with a filter. The streams that will be discarded should then be freed by calling deflateEnd. Note that deflateCopy duplicates the internal - compression state which can be tquite large, so this strategy is slow and + compression state which can be quite large, so this strategy is slow and can consume lots of memory. deflateCopy returns Z_OK if success, Z_MEM_ERROR if there was not diff --git a/src/codecs/qrtlcodec.cpp b/src/codecs/qrtlcodec.cpp index bd06308a..7443178d 100644 --- a/src/codecs/qrtlcodec.cpp +++ b/src/codecs/qrtlcodec.cpp @@ -388,7 +388,7 @@ static TQChar::Direction findBasicDirection(TQString str) reordering only takes place within one line of text, whereas line breaks are determined in visual order. - Visually ordered Hebrew is still used tquite often in some places, + Visually ordered Hebrew is still used quite often in some places, mainly in email communication (since most email programs still don't understand logically ordered Hebrew) and on web pages. The use on web pages is rapidly decreasing, due to the availability of diff --git a/src/dialogs/qdialog.cpp b/src/dialogs/qdialog.cpp index 6bd440de..9ef43e99 100644 --- a/src/dialogs/qdialog.cpp +++ b/src/dialogs/qdialog.cpp @@ -456,7 +456,7 @@ int TQDialog::exec() last window closed, the TQApplication::lastWindowClosed() signal is emitted. - \sa accept(), reject(), TQApplication::mainWidget(), TQApplication::tquit() + \sa accept(), reject(), TQApplication::mainWidget(), TQApplication::quit() */ void TQDialog::done( int r ) @@ -487,7 +487,7 @@ void TQDialog::done( int r ) emit qApp->lastWindowClosed(); } if ( isMain ) - qApp->tquit(); + qApp->quit(); else if ( testWFlags(WDestructiveClose) ) { clearWFlags(WDestructiveClose); deleteLater(); diff --git a/src/dialogs/qfiledialog.cpp b/src/dialogs/qfiledialog.cpp index 4eeb6621..da570509 100644 --- a/src/dialogs/qfiledialog.cpp +++ b/src/dialogs/qfiledialog.cpp @@ -4063,7 +4063,7 @@ void TQFileDialog::listBoxSelectionChanged() // click on the item. Perhaps at some point we should have a call to // updateFileNameEdit(TQListViewItem) which also emits fileHighlighted() for // ExistingFiles. For better or for worse, this clones the behaivor of the - // "Details" view tquite well. + // "Details" view quite well. if ( mcitem->isSelected() && i != d->lastEFSelected ) { TQUrl u( d->url, TQFileDialogPrivate::encodeFileName( ((TQFileDialogPrivate::File*)(mcitem)->i)->info.name()) ); d->lastEFSelected = i; diff --git a/src/dialogs/qwizard.cpp b/src/dialogs/qwizard.cpp index 08213577..eb7ef305 100644 --- a/src/dialogs/qwizard.cpp +++ b/src/dialogs/qwizard.cpp @@ -166,7 +166,7 @@ TQWizard::TQWizard( TQWidget *parent, const char *name, bool modal, : TQDialog( parent, name, modal, f ) { d = new TQWizardPrivate(); - d->current = 0; // not tquite true, but... + d->current = 0; // not quite true, but... d->ws = new TQWidgetStack( this, "qt_widgetstack" ); d->pages.setAutoDelete( TRUE ); d->title = new TQLabel( this, "title label" ); diff --git a/src/kernel/qaccel.cpp b/src/kernel/qaccel.cpp index b761c736..6c4dcde2 100644 --- a/src/kernel/qaccel.cpp +++ b/src/kernel/qaccel.cpp @@ -685,8 +685,8 @@ static int get_seq_id() \code TQAccel *a = new TQAccel( myWindow ); // create accels for myWindow a->insertItem( CTRL + Key_P, 200 ); // Ctrl+P, e.g. to print document - a->insertItem( ALT + Key_X, 201 ); // Alt+X, e.g. to tquit - a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to tquit + a->insertItem( ALT + Key_X, 201 ); // Alt+X, e.g. to quit + a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to quit a->insertItem( Key_D ); // gets a unique negative id < -1 a->insertItem( CTRL + SHIFT + Key_P ); // gets a unique negative id < -1 \endcode @@ -781,7 +781,7 @@ void TQAccel::setItemEnabled( int id, bool enable ) receiver. \code - a->connectItem( 201, mainView, SLOT(tquit()) ); + a->connectItem( 201, mainView, SLOT(quit()) ); \endcode Of course, you can also send a signal as \a member. diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index 437361f8..6c0bde41 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -188,7 +188,7 @@ enter_loop(), exit_loop(), exit(), - tquit(). + quit(). sendEvent(), postEvent(), sendPostedEvents(), @@ -952,8 +952,8 @@ void TQApplication::initialize( int argc, char **argv ) app_argc = argc; app_argv = argv; - tquit_now = FALSE; - tquit_code = 0; + quit_now = FALSE; + quit_code = 0; TQWidget::createMapper(); // create widget mapper #ifndef QT_NO_PALETTE (void) palette(); // trigger creation of application palette @@ -2130,20 +2130,20 @@ TQFontMetrics TQApplication::fontMetrics() Tells the application to exit with return code 0 (success). Equivalent to calling TQApplication::exit( 0 ). - It's common to connect the lastWindowClosed() signal to tquit(), and + It's common to connect the lastWindowClosed() signal to quit(), and you also often connect e.g. TQButton::clicked() or signals in TQAction, TQPopupMenu or TQMenuBar to it. Example: \code - TQPushButton *tquitButton = new TQPushButton( "Quit" ); - connect( tquitButton, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + TQPushButton *quitButton = new TQPushButton( "Quit" ); + connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) ); \endcode \sa exit() aboutToQuit() lastWindowClosed() TQAction */ -void TQApplication::tquit() +void TQApplication::quit() { TQApplication::exit( 0 ); } @@ -2161,15 +2161,15 @@ void TQApplication::tquit() TQPopupMenu* file = new TQPopupMenu( this ); file->insertItem( "&Quit", qApp, SLOT(closeAllWindows()), CTRL+Key_Q ); - // when the last window is closed, the application should tquit - connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( tquit() ) ); + // when the last window is closed, the application should quit + connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( quit() ) ); \endcode The windows are closed in random order, until one window does not accept the close event. \sa TQWidget::close(), TQWidget::closeEvent(), lastWindowClosed(), - tquit(), topLevelWidgets(), TQWidget::isTopLevel() + quit(), topLevelWidgets(), TQWidget::isTopLevel() */ void TQApplication::closeAllWindows() @@ -2219,7 +2219,7 @@ void TQApplication::aboutTQt() top level window. The signal is very useful when your application has many top level - widgets but no main widget. You can then connect it to the tquit() + widgets but no main widget. You can then connect it to the quit() slot. For convenience, this signal is \e not emitted for transient top level @@ -2231,16 +2231,16 @@ void TQApplication::aboutTQt() /*! \fn void TQApplication::aboutToQuit() - This signal is emitted when the application is about to tquit the + This signal is emitted when the application is about to quit the main event loop, e.g. when the event loop level drops to zero. - This may happen either after a call to tquit() from inside the + This may happen either after a call to quit() from inside the application or when the users shuts down the entire desktop session. The signal is particularly useful if your application has to do some last-second cleanup. Note that no user interaction is possible in this state. - \sa tquit() + \sa quit() */ @@ -2551,7 +2551,7 @@ bool TQApplication::event( TQEvent *e ) if(ce->isAccepted()) return TRUE; } else if (e->type() == TQEvent::Quit) { - tquit(); + quit(); return TRUE; } return TQObject::event(e); @@ -2738,7 +2738,7 @@ TQEventLoop *TQApplication::eventLoop() /*! Enters the main event loop and waits until exit() is called or the main widget is destroyed, and returns the value that was set to - exit() (which is 0 if exit() is called via tquit()). + exit() (which is 0 if exit() is called via quit()). It is necessary to call this function to start event handling. The main event loop receives events from the window system and @@ -2754,7 +2754,7 @@ TQEventLoop *TQApplication::eventLoop() TQTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). - \sa tquit(), exit(), processEvents(), setMainWidget() + \sa quit(), exit(), processEvents(), setMainWidget() */ int TQApplication::exec() { @@ -2775,7 +2775,7 @@ int TQApplication::exec() function \e does return to the caller -- it is event processing that stops. - \sa tquit(), exec() + \sa quit(), exec() */ void TQApplication::exit( int retcode ) { @@ -4176,7 +4176,7 @@ bool TQApplication::reverseLayout() \value RestartAnyway the application wants to be started at the start of the next session, no matter what. (This is useful for - utilities that run just after startup and then tquit.) + utilities that run just after startup and then quit.) \value RestartImmediately the application wants to be started immediately whenever it is not running. diff --git a/src/kernel/qapplication.h b/src/kernel/qapplication.h index 7a50a164..98449cf1 100644 --- a/src/kernel/qapplication.h +++ b/src/kernel/qapplication.h @@ -307,7 +307,7 @@ signals: void guiThreadAwake(); public slots: - void tquit(); + void quit(); void closeAllWindows(); void aboutTQt(); @@ -357,8 +357,8 @@ private: int app_argc; char **app_argv; - bool tquit_now; - int tquit_code; + bool quit_now; + int quit_code; static TQStyle *app_style; static int app_cspec; #ifndef QT_NO_PALETTE diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp index 1e2b6c8e..ba926e09 100644 --- a/src/kernel/qapplication_x11.cpp +++ b/src/kernel/qapplication_x11.cpp @@ -2726,14 +2726,14 @@ GC qt_xget_temp_gc( int scrn, bool monochrome ) // get temporary GC yourself. You need not have a main widget; connecting lastWindowClosed() to - tquit() is an alternative. + quit() is an alternative. For X11, this function also resizes and moves the main widget according to the \e -geometry command-line option, so you should set the default geometry (using \l TQWidget::setGeometry()) before calling setMainWidget(). - \sa mainWidget(), exec(), tquit() + \sa mainWidget(), exec(), quit() */ void TQApplication::setMainWidget( TQWidget *mainWidget ) @@ -3334,7 +3334,7 @@ int TQApplication::x11ProcessEvent( XEvent* event ) #ifndef QT_NO_IM // Filtering input events by the input context. It has to be taken // place before any other key event consumers such as eventfilters - // and accelerators because some input methods retquire tquite + // and accelerators because some input methods retquire quite // various key combination and sequences. It often conflicts with // accelerators and so on, so we must give the input context the // filtering opportunity first to ensure all input methods work @@ -4393,7 +4393,7 @@ bool TQETWidget::translateWheelEvent( int global_x, int global_y, int delta, int bool TQETWidget::translateXinputEvent( const XEvent *ev ) { #if defined (Q_OS_IRIX) - // Wacom has put defines in their wacom.h file so it would be tquite wise + // Wacom has put defines in their wacom.h file so it would be quite wise // to use them, need to think of a decent way of not using // it when it doesn't exist... XDeviceState *s; @@ -6405,8 +6405,8 @@ static void sm_dieCallback( SmcConn smcConn, SmPointer /* clientData */) if (smcConn != smcConnection ) return; resetSmState(); - TQEvent tquitEvent(TQEvent::Quit); - TQApplication::sendEvent(qApp, &tquitEvent); + TQEvent quitEvent(TQEvent::Quit); + TQApplication::sendEvent(qApp, &quitEvent); } static void sm_shutdownCancelledCallback( SmcConn smcConn, SmPointer /* clientData */) diff --git a/src/kernel/qasyncio.cpp b/src/kernel/qasyncio.cpp index e8c12748..5fd05685 100644 --- a/src/kernel/qasyncio.cpp +++ b/src/kernel/qasyncio.cpp @@ -309,7 +309,7 @@ void TQIODeviceSource::rewind() and a sink, and data will be moved during subsequent event processing. Note that each source can only provide data to one sink and each sink - can only receive data from one source (although it is tquite possible + can only receive data from one source (although it is quite possible to write a multiplexing sink that is multiple sources). */ diff --git a/src/kernel/qevent.cpp b/src/kernel/qevent.cpp index 6881c806..b787122d 100644 --- a/src/kernel/qevent.cpp +++ b/src/kernel/qevent.cpp @@ -1447,7 +1447,7 @@ void TQFocusEvent::resetReason() \sa TQWidget::close(), TQWidget::hide(), TQObject::destroyed(), TQApplication::setMainWidget(), TQApplication::lastWindowClosed(), - TQApplication::exec(), TQApplication::tquit() + TQApplication::exec(), TQApplication::quit() */ /*! diff --git a/src/kernel/qevent.h b/src/kernel/qevent.h index 8f270684..dcc53586 100644 --- a/src/kernel/qevent.h +++ b/src/kernel/qevent.h @@ -83,7 +83,7 @@ public: Show = 17, // widget is shown Hide = 18, // widget is hidden Close = 19, // request to close widget - Quit = 20, // request to tquit application + Quit = 20, // request to quit application Reparent = 21, // widget has been reparented ShowMinimized = 22, // widget is shown minimized ShowNormal = 23, // widget is shown normal diff --git a/src/kernel/qeventloop.cpp b/src/kernel/qeventloop.cpp index 480cbf54..2dab316d 100644 --- a/src/kernel/qeventloop.cpp +++ b/src/kernel/qeventloop.cpp @@ -139,7 +139,7 @@ TQEventLoop::~TQEventLoop() TQTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). - \sa TQApplication::tquit(), exit(), processEvents() + \sa TQApplication::quit(), exit(), processEvents() */ int TQEventLoop::exec() { @@ -149,12 +149,12 @@ int TQEventLoop::exec() // cleanup d->looplevel = 0; - d->tquitnow = FALSE; + d->quitnow = FALSE; d->exitloop = FALSE; d->shortcut = FALSE; - // don't reset tquitcode! + // don't reset quitcode! - return d->tquitcode; + return d->quitcode; } /*! \fn void TQEventLoop::exit( int retcode = 0 ) @@ -171,14 +171,14 @@ int TQEventLoop::exec() function \e does return to the caller -- it is event processing that stops. - \sa TQApplication::tquit(), exec() + \sa TQApplication::quit(), exec() */ void TQEventLoop::exit( int retcode ) { - if ( d->tquitnow ) // preserve existing tquitcode + if ( d->quitnow ) // preserve existing quitcode return; - d->tquitcode = retcode; - d->tquitnow = TRUE; + d->quitcode = retcode; + d->quitnow = TRUE; d->exitloop = TRUE; d->shortcut = TRUE; } @@ -201,13 +201,13 @@ int TQEventLoop::enterLoop() processEvents( AllEvents | WaitForMore ); d->looplevel--; - // restore the exitloop state, but if tquitnow is TRUE, we need to keep + // restore the exitloop state, but if quitnow is TRUE, we need to keep // exitloop set so that all other event loops drop out. - d->exitloop = old_exitloop || d->tquitnow; - d->shortcut = d->tquitnow; + d->exitloop = old_exitloop || d->quitnow; + d->shortcut = d->quitnow; if ( d->looplevel < 1 ) { - d->tquitnow = FALSE; + d->quitnow = FALSE; d->exitloop = FALSE; d->shortcut = FALSE; emit qApp->aboutToQuit(); @@ -258,7 +258,7 @@ void TQEventLoop::processEvents( ProcessEventsFlags flags, int maxTime ) { TQTime start = TQTime::currentTime(); TQTime now; - while ( ! d->tquitnow && processEvents( flags & ~WaitForMore ) ) { + while ( ! d->quitnow && processEvents( flags & ~WaitForMore ) ) { now = TQTime::currentTime(); if ( start.msecsTo( now ) > maxTime ) break; diff --git a/src/kernel/qeventloop_p.h b/src/kernel/qeventloop_p.h index d70bb0ef..c1c00b82 100644 --- a/src/kernel/qeventloop_p.h +++ b/src/kernel/qeventloop_p.h @@ -108,15 +108,15 @@ public: void reset() { looplevel = 0; - tquitcode = 0; - tquitnow = FALSE; + quitcode = 0; + quitnow = FALSE; exitloop = FALSE; shortcut = FALSE; } int looplevel; - int tquitcode; - unsigned int tquitnow : 1; + int quitcode; + unsigned int quitnow : 1; unsigned int exitloop : 1; unsigned int shortcut : 1; diff --git a/src/kernel/qeventloop_x11.cpp b/src/kernel/qeventloop_x11.cpp index 76d2e62e..6ada21dc 100644 --- a/src/kernel/qeventloop_x11.cpp +++ b/src/kernel/qeventloop_x11.cpp @@ -211,8 +211,8 @@ bool TQEventLoop::processEvents( ProcessEventsFlags flags ) return TRUE; } - // don't block if exitLoop() or exit()/tquit() has been called. - bool canWait = d->exitloop || d->tquitnow ? FALSE : (flags & WaitForMore); + // don't block if exitLoop() or exit()/quit() has been called. + bool canWait = d->exitloop || d->quitnow ? FALSE : (flags & WaitForMore); // Process timers and socket notifiers - the common UNIX stuff diff --git a/src/kernel/qfont.cpp b/src/kernel/qfont.cpp index 671e5685..9543be66 100644 --- a/src/kernel/qfont.cpp +++ b/src/kernel/qfont.cpp @@ -458,7 +458,7 @@ TQFontEngineData::~TQFontEngineData() \value Sinhala is used for Sri Lanka's majority language Sinhala and is also employed to write Pali, Sanskrit, and Tamil. \value Thai is used to write Thai and other Southeast Asian languages. - \value Lao is a language and script tquite similar to Thai. + \value Lao is a language and script quite similar to Thai. \value Tibetan is the script used to write Tibetan in several countries like Tibet, the bordering Indian regions and Nepal. It is also used in the Buddist philosophy and diff --git a/src/kernel/qimage.cpp b/src/kernel/qimage.cpp index f26f24c0..82630a29 100644 --- a/src/kernel/qimage.cpp +++ b/src/kernel/qimage.cpp @@ -2949,7 +2949,7 @@ TQImage TQImage::scaleHeight( int h ) const #ifndef QT_NO_IMAGE_TRANSFORMATION TQImage TQImage::xForm( const TQWMatrix &matrix ) const { - // This function uses the same algorithm as (and steals tquite some + // This function uses the same algorithm as (and steals quite some // code from) TQPixmap::xForm(). if ( isNull() ) diff --git a/src/kernel/qinputcontext.cpp b/src/kernel/qinputcontext.cpp index 3d50405e..40614d8f 100644 --- a/src/kernel/qinputcontext.cpp +++ b/src/kernel/qinputcontext.cpp @@ -153,7 +153,7 @@ public: reduce resource consumption. In ideal case, each text widgets should be allocated dedicated input context. But some complex input contexts retquire slightly heavy resource such as 100 - kilobytes of memory. It prevents tquite many text widgets from + kilobytes of memory. It prevents quite many text widgets from being used concurrently. To resolve such problem, we can share an input context. There is @@ -463,7 +463,7 @@ bool TQInputContext::isComposing() const The filtering opportunity is always given to the input context as soon as possible. It has to be taken place before any other key event consumers such as eventfilters and accelerators because some - input methods retquire tquite various key combination and + input methods retquire quite various key combination and sequences. It often conflicts with accelerators and so on, so we must give the input context the filtering opportunity first to ensure all input methods work properly regardless of application diff --git a/src/kernel/qnetworkprotocol.cpp b/src/kernel/qnetworkprotocol.cpp index 8f095fae..bb79296f 100644 --- a/src/kernel/qnetworkprotocol.cpp +++ b/src/kernel/qnetworkprotocol.cpp @@ -503,7 +503,7 @@ void TQNetworkProtocol::setUrl( TQUrlOperator *u ) /*! For processing operations the network protocol base class calls - this method tquite often. This should be reimplemented by new + this method quite often. This should be reimplemented by new network protocols. It should return TRUE if the connection is OK (open); otherwise it should return FALSE. If the connection is not open the protocol should open it. diff --git a/src/kernel/qobject.cpp b/src/kernel/qobject.cpp index 242a35e6..adf4fec9 100644 --- a/src/kernel/qobject.cpp +++ b/src/kernel/qobject.cpp @@ -1156,7 +1156,7 @@ const TQObjectList *TQObject::objectTrees() Note that \a inheritsClass uses single inheritance from TQObject, the way inherits() does. According to inherits(), TQMenuBar - inherits TQWidget but not TQMenuData. This does not tquite match + inherits TQWidget but not TQMenuData. This does not quite match reality, but is the best that can be done on the wide variety of compilers TQt supports. diff --git a/src/kernel/qpalette.cpp b/src/kernel/qpalette.cpp index 31e43672..77ddf8a8 100644 --- a/src/kernel/qpalette.cpp +++ b/src/kernel/qpalette.cpp @@ -163,7 +163,7 @@ \value NColorRoles Internal. Note that text colors can be used for things other than just - words; text colors are \e usually used for text, but it's tquite + words; text colors are \e usually used for text, but it's quite common to use the text color roles for lines, icons, etc. This image shows most of the color roles in use: diff --git a/src/kernel/qpixmap.cpp b/src/kernel/qpixmap.cpp index f719a830..b7c5ac65 100644 --- a/src/kernel/qpixmap.cpp +++ b/src/kernel/qpixmap.cpp @@ -1133,7 +1133,7 @@ static TQPixmap grabChildWidgets( TQWidget * w ) !((TQWidget *)child)->isHidden() && !((TQWidget *)child)->isTopLevel() && ((TQWidget *)child)->geometry().intersects( w->rect() ) ) { - // those conditions aren't tquite right, it's possible + // those conditions aren't quite right, it's possible // to have a grandchild completely outside its // grandparent, but partially inside its parent. no // point in optimizing for that. diff --git a/src/kernel/qpsprinter.cpp b/src/kernel/qpsprinter.cpp index 66621591..5a4c76ee 100644 --- a/src/kernel/qpsprinter.cpp +++ b/src/kernel/qpsprinter.cpp @@ -2627,7 +2627,7 @@ void TQPSPrinterFontTTF::download(TQTextStream& s,bool global) s << Trademark; s << ") def\n"; - /* This information is not tquite correct. */ + /* This information is not quite correct. */ s << "/Weight ("; s << Style; s << ") def\n"; diff --git a/src/kernel/qpsprinter.ps b/src/kernel/qpsprinter.ps index 4fbd9854..12a4c407 100644 --- a/src/kernel/qpsprinter.ps +++ b/src/kernel/qpsprinter.ps @@ -638,7 +638,7 @@ % if encoding is false the default one will be used. /MF { % newname encoding fontlist % this function tries to find a suitable postscript font. - % We try tquite hard not to get courier for a + % We try quite hard not to get courier for a % proportional font. The following takes an array of fonts. % The algorithm will take the first font that % gives a match (defined as not resulting in a courier font). diff --git a/src/kernel/qscriptengine_x11.cpp b/src/kernel/qscriptengine_x11.cpp index 20b01dc5..3d0ad3b4 100644 --- a/src/kernel/qscriptengine_x11.cpp +++ b/src/kernel/qscriptengine_x11.cpp @@ -2402,7 +2402,7 @@ static inline KhmerCharClass getKhmerCharClass(const TQChar &uc) // eliminating it would very much complicate the table, and it does not create typing // problems, as the case above. // -// The table is tquite complex, in order to limit the number of coeng consonants +// The table is quite complex, in order to limit the number of coeng consonants // to 2 (by means of the table). // // There a peculiarity, as far as Unicode is concerned: diff --git a/src/kernel/qt_x11_p.h b/src/kernel/qt_x11_p.h index f3447dea..a573ba64 100644 --- a/src/kernel/qt_x11_p.h +++ b/src/kernel/qt_x11_p.h @@ -89,7 +89,7 @@ #if defined (QT_TABLET_SUPPORT) # include #if defined (Q_OS_IRIX) -# include // wacom driver defines for IRIX (tquite handy) +# include // wacom driver defines for IRIX (quite handy) #endif #endif // QT_TABLET_SUPPORT diff --git a/src/kernel/qtimer.cpp b/src/kernel/qtimer.cpp index f6a02ee9..39ace415 100644 --- a/src/kernel/qtimer.cpp +++ b/src/kernel/qtimer.cpp @@ -308,7 +308,7 @@ bool TQSingleShotTimer::event( TQEvent * ) int main( int argc, char **argv ) { TQApplication a( argc, argv ); - TQTimer::singleShot( 10*60*1000, &a, SLOT(tquit()) ); + TQTimer::singleShot( 10*60*1000, &a, SLOT(quit()) ); ... // create and show your widgets return a.exec(); } diff --git a/src/kernel/qwidget.cpp b/src/kernel/qwidget.cpp index f531cfc9..4d851988 100644 --- a/src/kernel/qwidget.cpp +++ b/src/kernel/qwidget.cpp @@ -288,7 +288,7 @@ widget flag). \i \c{const char *name = 0} is the widget name of the new widget. You can access it using name(). The widget name is little - used by programmers but is tquite useful with GUI builders such as + used by programmers but is quite useful with GUI builders such as \e{TQt Designer} (you can name a widget in \e{TQt Designer}, and connect() to it using the name in your code). The dumpObjectTree() debugging function also uses it. @@ -333,10 +333,10 @@ mouse button is held down, this popup immediately steals the mouse events. - \i mouseDoubleClickEvent() - not tquite as obvious as it might seem. + \i mouseDoubleClickEvent() - not quite as obvious as it might seem. If the user double-clicks, the widget receives a mouse press event (perhaps a mouse move event or two if they don't hold the mouse - tquite steady), a mouse release event and finally this event. It is + quite steady), a mouse release event and finally this event. It is \e{not possible} to distinguish a click from a double click until you've seen whether the second click arrives. (This is one reason why most GUI books recommend that double clicks be an extension of single clicks, @@ -956,7 +956,7 @@ TQWidget::~TQWidget() if ( TQApplication::main_widget == this ) { // reset main widget TQApplication::main_widget = 0; if (qApp) - qApp->tquit(); + qApp->quit(); } if ( hasFocus() ) @@ -4274,7 +4274,7 @@ void TQWidget::polish() Note that closing the \l TQApplication::mainWidget() terminates the application. - \sa closeEvent(), TQCloseEvent, hide(), TQApplication::tquit(), + \sa closeEvent(), TQCloseEvent, hide(), TQApplication::quit(), TQApplication::setMainWidget(), TQApplication::lastWindowClosed() */ @@ -4316,7 +4316,7 @@ bool TQWidget::close( bool alsoDelete ) emit qApp->lastWindowClosed(); } if ( isMain ) - qApp->tquit(); + qApp->quit(); if ( deleted ) return TRUE; is_closing = 0; diff --git a/src/network/qsocket.cpp b/src/network/qsocket.cpp index 2e62f799..b0dc6b67 100644 --- a/src/network/qsocket.cpp +++ b/src/network/qsocket.cpp @@ -274,7 +274,7 @@ void TQSocketPrivate::setSocketDevice( TQSocket *q, TQSocketDevice *device ) also for reading. The match isn't perfect, since the TQIODevice API is designed for devices that are controlled by the same machine, and an asynchronous peer-to-peer network connection isn't - tquite like that. For example, there is nothing that matches + quite like that. For example, there is nothing that matches TQIODevice::size() exactly. The documentation for open(), close(), flush(), size(), at(), atEnd(), readBlock(), writeBlock(), getch(), putch(), ungetch() and readLine() describes the diff --git a/src/network/qsocketdevice_unix.cpp b/src/network/qsocketdevice_unix.cpp index dab9208d..952ba415 100644 --- a/src/network/qsocketdevice_unix.cpp +++ b/src/network/qsocketdevice_unix.cpp @@ -561,7 +561,7 @@ bool TQSocketDevice::bind( const TQHostAddress &address, Q_UINT16 port ) /*! Specifies how many pending connections a server socket can have. Returns TRUE if the operation was successful; otherwise returns - FALSE. A \a backlog value of 50 is tquite common. + FALSE. A \a backlog value of 50 is quite common. The listen() call only applies to sockets where type() is \c Stream, i.e. not to \c Datagram sockets. listen() must not be diff --git a/src/opengl/qgl_x11.cpp b/src/opengl/qgl_x11.cpp index 9e58d524..7857d5fe 100644 --- a/src/opengl/qgl_x11.cpp +++ b/src/opengl/qgl_x11.cpp @@ -512,7 +512,7 @@ bool TQGLContext::chooseContext( const TQGLContext* shareContext ) visual that matches the format, reducing the demands if the original request cannot be met. - The algorithm for reducing the demands of the format is tquite + The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has spcific retquirements on visual selection. diff --git a/src/styles/qcdestyle.cpp b/src/styles/qcdestyle.cpp index 3a5baf37..663c4301 100644 --- a/src/styles/qcdestyle.cpp +++ b/src/styles/qcdestyle.cpp @@ -57,7 +57,7 @@ versions of the Common Desktop Environment (CDE). The main differences are thinner frames and more modern radio buttons and checkboxes. Together with a dark background and a bright - text/foreground color, the style looks tquite attractive (at least + text/foreground color, the style looks quite attractive (at least for Motif fans). Note that the functions provided by TQCDEStyle are diff --git a/src/styles/qmotifstyle.cpp b/src/styles/qmotifstyle.cpp index 19673e1f..d3623158 100644 --- a/src/styles/qmotifstyle.cpp +++ b/src/styles/qmotifstyle.cpp @@ -226,7 +226,7 @@ void TQMotifStyle::drawPrimitive( PrimitiveElement pe, int cx = r.width()/2 - 1; int cy = r.height()/2; int e = r.width()/2 - 1; - for ( int i = 0; i < 3; i++ ) { //penWidth 2 doesn't tquite work + for ( int i = 0; i < 3; i++ ) { //penWidth 2 doesn't quite work a.setPoints( 4, cx-e, cy, cx, cy-e, cx+e, cy, cx, cy+e ); p->drawPolygon( a ); e--; diff --git a/src/widgets/qlistbox.cpp b/src/widgets/qlistbox.cpp index d767db49..31485527 100644 --- a/src/widgets/qlistbox.cpp +++ b/src/widgets/qlistbox.cpp @@ -892,7 +892,7 @@ int TQListBoxPixmap::rtti() const New items can be inserted using insertItem(), insertStrList() or insertStringList(). inSort() is obsolete because this method is - tquite inefficient. It's preferable to insert the items normally + quite inefficient. It's preferable to insert the items normally and call sort() afterwards, or to insert a sorted TQStringList(). By default, vertical and horizontal scroll bars are added and @@ -3963,7 +3963,7 @@ TQRect TQListBox::itemRect( TQListBoxItem *item ) const /*! \obsolete - Using this method is tquite inefficient. We suggest to use insertItem() + Using this method is quite inefficient. We suggest to use insertItem() for inserting and sort() afterwards. Inserts \a lbi at its sorted position in the list box and returns the @@ -3995,7 +3995,7 @@ int TQListBox::inSort( const TQListBoxItem * lbi ) /*! \obsolete \overload - Using this method is tquite inefficient. We suggest to use insertItem() + Using this method is quite inefficient. We suggest to use insertItem() for inserting and sort() afterwards. Inserts a new item of \a text at its sorted position in the list box and diff --git a/src/widgets/qmenubar.cpp b/src/widgets/qmenubar.cpp index e0a7c431..3d7082ba 100644 --- a/src/widgets/qmenubar.cpp +++ b/src/widgets/qmenubar.cpp @@ -168,10 +168,10 @@ extern int qt_xfocusout_grab_counter; // defined in qapplication_x11.cpp \row \i config, options, setup, settings or preferences \i Application Menu | Preferences \i If this entry is not found the Settings item will be disabled - \row \i tquit or exit + \row \i quit or exit \i Application Menu | Quit \i If this entry is not found a default Quit item will be - created to call TQApplication::tquit() + created to call TQApplication::quit() \endtable \link menu-example.html menu/menu.cpp\endlink is an example of diff --git a/src/widgets/qmenudata.cpp b/src/widgets/qmenudata.cpp index 98aa064d..34fedde7 100644 --- a/src/widgets/qmenudata.cpp +++ b/src/widgets/qmenudata.cpp @@ -351,7 +351,7 @@ void TQMenuData::removePopup( TQPopupMenu *popup ) pulldown menus into a menu bar. The number of insert functions may look confusing, but they are - actually tquite simple to use. + actually quite simple to use. This default version inserts a menu item with the text \a text, the accelerator key \a accel, an id and an optional index and @@ -905,7 +905,7 @@ TQKeySequence TQMenuData::accel( int id ) const fileMenu->insertItem( "Open Document", 67 ); // add "Open" item fileMenu->setAccel( CTRL + Key_O, 67 ); // Ctrl+O to open fileMenu->insertItem( "Quit", 69 ); // add "Quit" item - fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to tquit + fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to quit mainMenu->insertItem( "File", fileMenu ); // add the file menu \endcode diff --git a/src/widgets/qscrollview.cpp b/src/widgets/qscrollview.cpp index 44b6347a..8c661d1e 100644 --- a/src/widgets/qscrollview.cpp +++ b/src/widgets/qscrollview.cpp @@ -356,7 +356,7 @@ void TQScrollViewData::viewportResized( int w, int h ) The TQScrollView is a large canvas - potentially larger than the coordinate system normally supported by the underlying window - system. This is important because it is tquite easy to go beyond + system. This is important because it is quite easy to go beyond these limitations (e.g. many web pages are more than 32000 pixels high). Additionally, the TQScrollView can have TQWidgets positioned on it that scroll around with the drawn content. These sub-widgets @@ -2610,7 +2610,7 @@ void TQScrollView::enableClipper(bool y) or a scrolling background if \a y is FALSE. By default, the background is scrolling. - Be aware that this mode is tquite slow, as a full repaint of the + Be aware that this mode is quite slow, as a full repaint of the visible area has to be triggered on every contents move. \sa hasStaticBackground() diff --git a/src/widgets/qtooltip.cpp b/src/widgets/qtooltip.cpp index ec2df8a1..f121a38e 100644 --- a/src/widgets/qtooltip.cpp +++ b/src/widgets/qtooltip.cpp @@ -686,15 +686,15 @@ void TQTipManager::setWakeUpDelay ( int i ) TQToolTip::add() with the widget and tip as arguments: \code - TQToolTip::add( tquitButton, "Leave the application" ); + TQToolTip::add( quitButton, "Leave the application" ); \endcode This is the simplest and most common use of TQToolTip. The tip - will be deleted automatically when \e tquitButton is deleted, but + will be deleted automatically when \e quitButton is deleted, but you can remove it yourself, too: \code - TQToolTip::remove( tquitButton ); + TQToolTip::remove( quitButton ); \endcode You can also display another text (typically in a \link TQStatusBar @@ -703,7 +703,7 @@ void TQTipManager::setWakeUpDelay ( int i ) connected to the appropriate status bar: \code - TQToolTip::add( tquitButton, "Leave the application", grp, + TQToolTip::add( quitButton, "Leave the application", grp, "Leave the application, prompting to save if necessary" ); TQToolTip::add( closeButton, "Close this window", grp, "Close this window, prompting to save if necessary" ); diff --git a/src/workspace/qworkspace.cpp b/src/workspace/qworkspace.cpp index c08e04f7..5963bfdc 100644 --- a/src/workspace/qworkspace.cpp +++ b/src/workspace/qworkspace.cpp @@ -1027,7 +1027,7 @@ void TQWorkspace::showEvent( TQShowEvent *e ) TQWidget *w = new TQWidget(NULL, "TQDoesNotExist", WType_Dialog | WStyle_Customize | WStyle_NoBorder); // if(qApp->mainWidget() == o) -// TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit())); +// TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit())); TQDesktopWidget *dw = TQApplication::desktop(); w->setGeometry(dw->availableGeometry(dw->screenNumber(o))); o->reparent(w, TQPoint(0, 0), TRUE); diff --git a/src/xml/qxml.cpp b/src/xml/qxml.cpp index 8de32e51..3fdbd755 100644 --- a/src/xml/qxml.cpp +++ b/src/xml/qxml.cpp @@ -2969,7 +2969,7 @@ bool TQXmlSimpleReader::parse( const TQXmlInputSource *input, bool incremental ) If the input source returns an empty string for the function TQXmlInputSource::data(), then this means that the end of the XML - file has been reached; this is tquite important, especially if you + file has been reached; this is quite important, especially if you want to use the reader to parse more than one XML file. The case of the end of the XML file being reached without having diff --git a/tools/assistant/helpdialogimpl.cpp b/tools/assistant/helpdialogimpl.cpp index 2aa7ecd9..f166b86b 100644 --- a/tools/assistant/helpdialogimpl.cpp +++ b/tools/assistant/helpdialogimpl.cpp @@ -292,7 +292,7 @@ void HelpDialog::timerEvent(TQTimerEvent *e) help->setWindowOpacity((opacity-=4)/255.0); if (opacity<=0) #endif - qApp->tquit(); + qApp->quit(); } diff --git a/tools/assistant/main.cpp b/tools/assistant/main.cpp index 9e3c9dae..4d2c82fc 100644 --- a/tools/assistant/main.cpp +++ b/tools/assistant/main.cpp @@ -332,7 +332,7 @@ int main( int argc, char ** argv ) else if ( file.isEmpty() ) mw->showLinks( links ); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); int appExec = a.exec(); delete (MainWindow*)mw; diff --git a/tools/designer/designer/configtoolboxdialog.ui.h b/tools/designer/designer/configtoolboxdialog.ui.h index 1ef3884e..d536310e 100644 --- a/tools/designer/designer/configtoolboxdialog.ui.h +++ b/tools/designer/designer/configtoolboxdialog.ui.h @@ -102,7 +102,7 @@ void ConfigToolboxDialog::addTool() listViewCommon->ensureItemVisible( i ); } else if ( !addKids ) { // Children processing not set, so set it - // Also find the item were we shall tquit + // Also find the item were we shall quit // processing children...if any such item addKids = TRUE; nextSibling = (*it)->nextSibling(); diff --git a/tools/designer/designer/listviewdnd.cpp b/tools/designer/designer/listviewdnd.cpp index f4191269..f9fa8d7d 100644 --- a/tools/designer/designer/listviewdnd.cpp +++ b/tools/designer/designer/listviewdnd.cpp @@ -153,7 +153,7 @@ int ListViewDnd::buildFlatList( ListViewItemList & list ) list.append( *it ); } else if ( !addKids ) { // Children processing not set, so set it - // Also find the item were we shall tquit + // Also find the item were we shall quit // processing children...if any such item addKids = TRUE; nextSibling = (*it)->nextSibling(); diff --git a/tools/designer/examples/addressbook/main.cpp b/tools/designer/examples/addressbook/main.cpp index 76ad6321..f96b6a33 100644 --- a/tools/designer/examples/addressbook/main.cpp +++ b/tools/designer/examples/addressbook/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char ** argv ) TQApplication a( argc, argv ); AddressBook *w = new AddressBook; w->show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } diff --git a/tools/designer/examples/metric/main.cpp b/tools/designer/examples/metric/main.cpp index d7a20ab4..fb7cfc76 100644 --- a/tools/designer/examples/metric/main.cpp +++ b/tools/designer/examples/metric/main.cpp @@ -7,6 +7,6 @@ int main( int argc, char ** argv ) ConversionForm *w = new ConversionForm; w->show(); a.setMainWidget( w ); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } diff --git a/tools/designer/examples/metric/metric.ui b/tools/designer/examples/metric/metric.ui index aba8c2ef..d2ae5456 100644 --- a/tools/designer/examples/metric/metric.ui +++ b/tools/designer/examples/metric/metric.ui @@ -277,7 +277,7 @@ - tquitButton + quitButton &Quit @@ -295,7 +295,7 @@ clear() - tquitButton + quitButton clicked() ConversionForm close() @@ -350,7 +350,7 @@ decimalsSpinBox clearButton calculateButton - tquitButton + quitButton metric.ui.h diff --git a/tools/designer/examples/multiclip/multiclip.ui b/tools/designer/examples/multiclip/multiclip.ui index 52f83f82..f1312fd9 100644 --- a/tools/designer/examples/multiclip/multiclip.ui +++ b/tools/designer/examples/multiclip/multiclip.ui @@ -101,7 +101,7 @@ - tquitPushButton + quitPushButton &Quit @@ -163,7 +163,7 @@ - tquitPushButton + quitPushButton clicked() MulticlipForm accept() @@ -201,6 +201,6 @@ addPushButton copyPushButton deletePushButton - tquitPushButton + quitPushButton diff --git a/tools/designer/examples/receiver1/mainform.ui b/tools/designer/examples/receiver1/mainform.ui index c4db7442..3f332675 100644 --- a/tools/designer/examples/receiver1/mainform.ui +++ b/tools/designer/examples/receiver1/mainform.ui @@ -27,7 +27,7 @@
        - tquitPushButton + quitPushButton &Quit @@ -67,7 +67,7 @@ creditDialog() - tquitPushButton + quitPushButton clicked() MainForm accept() diff --git a/tools/designer/examples/receiver2/mainform.ui b/tools/designer/examples/receiver2/mainform.ui index b69bca55..4d52c281 100644 --- a/tools/designer/examples/receiver2/mainform.ui +++ b/tools/designer/examples/receiver2/mainform.ui @@ -32,7 +32,7 @@ - tquitPushButton + quitPushButton &Quit @@ -72,7 +72,7 @@ creditDialog() - tquitPushButton + quitPushButton clicked() MainForm accept() diff --git a/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp b/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp index a9ae3b7e..c412505a 100644 --- a/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp +++ b/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp @@ -76,7 +76,7 @@ static TQString generateMainCppCode( const TQString &formname, const TQString &i code += " TQApplication a( argc, argv );\n"; code += " " + formname + " w;\n"; code += " w.show();\n"; - code += " a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) );\n"; + code += " a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );\n"; code += " return a.exec();\n"; code += "}\n"; return code; diff --git a/tools/designer/plugins/glade/glade2ui.cpp b/tools/designer/plugins/glade/glade2ui.cpp index 89337eb5..44965b6e 100644 --- a/tools/designer/plugins/glade/glade2ui.cpp +++ b/tools/designer/plugins/glade/glade2ui.cpp @@ -447,7 +447,7 @@ static TQString accelerate( const TQString& gtkLabel ) { TQString qtLabel = gtkLabel; qtLabel.replace( '&', TQString("&&") ); - // close but not tquite right + // close but not quite right qtLabel.replace( TQChar('_'), TQChar('&') ); return qtLabel; } diff --git a/tools/designer/uilib/test/main.cpp b/tools/designer/uilib/test/main.cpp index 6cd12eef..f8ce38c5 100644 --- a/tools/designer/uilib/test/main.cpp +++ b/tools/designer/uilib/test/main.cpp @@ -45,6 +45,6 @@ int main( int argc, char ** argv ) if ( !w ) return 0; w->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } diff --git a/tools/linguist/book/linguist-programmer.leaf b/tools/linguist/book/linguist-programmer.leaf index d74fdf1f..1376503b 100644 --- a/tools/linguist/book/linguist-programmer.leaf +++ b/tools/linguist/book/linguist-programmer.leaf @@ -181,8 +181,8 @@ and Ctrl key accelerators are also translatable: \quotefile tt3/mainwindow.cpp -\skipto tquit() -\printline tquit() +\skipto quit() +\printline quit() \printuntil Quit It is strongly recommended that the two argument form of \c tr() is used @@ -649,8 +649,8 @@ once for the accelerator. \index Ctrl Key \index Alt Key -\skipto tquit() -\printline tquit() +\skipto quit() +\printline quit() \printuntil Ctrl+Q Note the use of \c tr() to support different keys in other languages. @@ -903,8 +903,8 @@ user-visible source texts that must be marked for translation. We must translate the window's caption. -\skipto tquit -\printline tquit +\skipto quit +\printline quit \printuntil Help We also need to translate the menu items. Note that the two argument @@ -991,7 +991,7 @@ these are not correct for the second occurrence of each word, but they provide a good starting point. Change the second "Ativado" into "Ativadas" and the second -"Desativado" into "Desativadas", then save and tquit. Run \l lrelease +"Desativado" into "Desativadas", then save and quit. Run \l lrelease to obtain an up-to-date binary \c tt3_pt.qm file, and run Troll Print (or rather Troll Imprimir). @@ -1103,7 +1103,7 @@ Translate "\TROLL PRINT\" as "\TROLL IMPRIMIR\". When you're translating "Two-sided", press the \e {Guess Again} button to translate "Two-sided", but change the "2" into "Dois". -Save and tquit, then run \l lrelease. The Portuguese version +Save and quit, then run \l lrelease. The Portuguese version should look like this: \img tt3_11_pt.png diff --git a/tools/linguist/book/linguist-translator.leaf b/tools/linguist/book/linguist-translator.leaf index e20d7921..16b1c485 100644 --- a/tools/linguist/book/linguist-translator.leaf +++ b/tools/linguist/book/linguist-translator.leaf @@ -43,7 +43,7 @@ previous translations. Each has a keyboard shortcut, e.g. guess into the Translation area. (Mouse users can double click a phrase or guess to move it into the Translation area.) At the end of the session choose \Menu File|Save from the menu bar and then -\Menu File|Exit to tquit. +\Menu File|Exit to quit. \section1 Qt Linguist's Main Window diff --git a/tools/linguist/tutorial/tt2/mainwindow.cpp b/tools/linguist/tutorial/tt2/mainwindow.cpp index 542846b4..fd381c28 100644 --- a/tools/linguist/tutorial/tt2/mainwindow.cpp +++ b/tools/linguist/tutorial/tt2/mainwindow.cpp @@ -19,7 +19,7 @@ MainWindow::MainWindow( TQWidget *parent, const char *name ) setCentralWidget( ap ); TQPopupMenu *file = new TQPopupMenu( this ); - file->insertItem( tr("E&xit"), qApp, SLOT(tquit()), + file->insertItem( tr("E&xit"), qApp, SLOT(quit()), tr("Ctrl+Q", "Quit") ); menuBar()->insertItem( tr("&File"), file ); menuBar()->setSeparator( TQMenuBar::InWindowsStyle ); diff --git a/tools/linguist/tutorial/tt3/mainwindow.cpp b/tools/linguist/tutorial/tt3/mainwindow.cpp index a0aca2b9..20edb3fb 100644 --- a/tools/linguist/tutorial/tt3/mainwindow.cpp +++ b/tools/linguist/tutorial/tt3/mainwindow.cpp @@ -22,7 +22,7 @@ MainWindow::MainWindow( TQWidget *parent, const char *name ) setCentralWidget( pp ); TQPopupMenu *file = new TQPopupMenu( this ); - file->insertItem( tr("E&xit"), qApp, SLOT(tquit()), + file->insertItem( tr("E&xit"), qApp, SLOT(quit()), tr("Ctrl+Q", "Quit") ); TQPopupMenu *help = new TQPopupMenu( this ); help->insertItem( tr("&About"), this, SLOT(about()), Key_F1 ); diff --git a/tools/qconfig/main.cpp b/tools/qconfig/main.cpp index 001fa81f..b9d66a4d 100644 --- a/tools/qconfig/main.cpp +++ b/tools/qconfig/main.cpp @@ -306,7 +306,7 @@ Main::Main() file->insertSeparator(); file->insertItem( "&Test all", this, SLOT(testAll()), CTRL+Key_T ); file->insertSeparator(); - file->insertItem( "E&xit", qApp, SLOT(tquit()), CTRL+Key_Q ); + file->insertItem( "E&xit", qApp, SLOT(quit()), CTRL+Key_Q ); menuBar()->insertItem( "&File",file ); diff --git a/tools/qvfb/qvfb.cpp b/tools/qvfb/qvfb.cpp index 3334ca50..ea65f9bb 100644 --- a/tools/qvfb/qvfb.cpp +++ b/tools/qvfb/qvfb.cpp @@ -135,7 +135,7 @@ void TQVFb::createMenu(TQMenuData *menu) file->insertItem( "&Save image...", this, SLOT(saveImage()), ALT+CTRL+Key_S ); file->insertItem( "&Animation...", this, SLOT(toggleAnimation()), ALT+CTRL+Key_A ); file->insertSeparator(); - file->insertItem( "&Quit", qApp, SLOT(tquit()) ); + file->insertItem( "&Quit", qApp, SLOT(quit()) ); menu->insertItem( "&File", file ); diff --git a/tutorial/t10/main.cpp b/tutorial/t10/main.cpp index a0c659d7..47f86fc3 100644 --- a/tutorial/t10/main.cpp +++ b/tutorial/t10/main.cpp @@ -24,10 +24,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); @@ -48,7 +48,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name ) force, SLOT(setValue(int)) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/tutorial/t11/main.cpp b/tutorial/t11/main.cpp index cdfb36eb..64704783 100644 --- a/tutorial/t11/main.cpp +++ b/tutorial/t11/main.cpp @@ -24,10 +24,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); @@ -53,7 +53,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name ) connect( shoot, SIGNAL(clicked()), cannonField, SLOT(shoot()) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/tutorial/t12/main.cpp b/tutorial/t12/main.cpp index 20c291b3..8ee86522 100644 --- a/tutorial/t12/main.cpp +++ b/tutorial/t12/main.cpp @@ -24,10 +24,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); @@ -53,7 +53,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name ) connect( shoot, SIGNAL(clicked()), cannonField, SLOT(shoot()) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/tutorial/t13/gamebrd.cpp b/tutorial/t13/gamebrd.cpp index cf15f9ef..0380f2dd 100644 --- a/tutorial/t13/gamebrd.cpp +++ b/tutorial/t13/gamebrd.cpp @@ -19,10 +19,10 @@ GameBoard::GameBoard( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); @@ -67,7 +67,7 @@ GameBoard::GameBoard( TQWidget *parent, const char *name ) = new TQLabel( "SHOTS LEFT", this, "shotsleftLabel" ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/tutorial/t14/gamebrd.cpp b/tutorial/t14/gamebrd.cpp index 2570eb42..078c5c85 100644 --- a/tutorial/t14/gamebrd.cpp +++ b/tutorial/t14/gamebrd.cpp @@ -21,10 +21,10 @@ GameBoard::GameBoard( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); @@ -78,10 +78,10 @@ GameBoard::GameBoard( TQWidget *parent, const char *name ) accel->connectItem( accel->insertItem( Key_Return ), this, SLOT(fire()) ); accel->connectItem( accel->insertItem( CTRL+Key_Q ), - qApp, SLOT(tquit()) ); + qApp, SLOT(quit()) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( box, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/tutorial/t2/main.cpp b/tutorial/t2/main.cpp index 1b3da3f1..93ab932d 100644 --- a/tutorial/t2/main.cpp +++ b/tutorial/t2/main.cpp @@ -13,13 +13,13 @@ int main( int argc, char **argv ) { TQApplication a( argc, argv ); - TQPushButton tquit( "Quit", 0 ); - tquit.resize( 75, 30 ); - tquit.setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton quit( "Quit", 0 ); + quit.resize( 75, 30 ); + quit.setFont( TQFont( "Times", 18, TQFont::Bold ) ); - TQObject::connect( &tquit, SIGNAL(clicked()), &a, SLOT(tquit()) ); + TQObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) ); - a.setMainWidget( &tquit ); - tquit.show(); + a.setMainWidget( &quit ); + quit.show(); return a.exec(); } diff --git a/tutorial/t3/main.cpp b/tutorial/t3/main.cpp index 34f47fc9..26aaaf46 100644 --- a/tutorial/t3/main.cpp +++ b/tutorial/t3/main.cpp @@ -16,10 +16,10 @@ int main( int argc, char **argv ) TQVBox box; box.resize( 200, 120 ); - TQPushButton tquit( "Quit", &box ); - tquit.setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton quit( "Quit", &box ); + quit.setFont( TQFont( "Times", 18, TQFont::Bold ) ); - TQObject::connect( &tquit, SIGNAL(clicked()), &a, SLOT(tquit()) ); + TQObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) ); a.setMainWidget( &box ); box.show(); diff --git a/tutorial/t4/main.cpp b/tutorial/t4/main.cpp index 04562d07..e50ec663 100644 --- a/tutorial/t4/main.cpp +++ b/tutorial/t4/main.cpp @@ -22,11 +22,11 @@ MyWidget::MyWidget( TQWidget *parent, const char *name ) setMinimumSize( 200, 120 ); setMaximumSize( 200, 120 ); - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setGeometry( 62, 40, 75, 30 ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setGeometry( 62, 40, 75, 30 ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); } diff --git a/tutorial/t5/main.cpp b/tutorial/t5/main.cpp index 64ee0436..44dfcc03 100644 --- a/tutorial/t5/main.cpp +++ b/tutorial/t5/main.cpp @@ -22,10 +22,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQVBox( parent, name ) { - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQLCDNumber *lcd = new TQLCDNumber( 2, this, "lcd" ); diff --git a/tutorial/t6/main.cpp b/tutorial/t6/main.cpp index 16d593f2..a296d487 100644 --- a/tutorial/t6/main.cpp +++ b/tutorial/t6/main.cpp @@ -38,10 +38,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQVBox( parent, name ) { - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQGrid *grid = new TQGrid( 4, this ); diff --git a/tutorial/t7/main.cpp b/tutorial/t7/main.cpp index 24679770..c2221a6d 100644 --- a/tutorial/t7/main.cpp +++ b/tutorial/t7/main.cpp @@ -24,10 +24,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQVBox( parent, name ) { - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); TQGrid *grid = new TQGrid( 4, this ); diff --git a/tutorial/t8/main.cpp b/tutorial/t8/main.cpp index 9acd0382..1aef5b4e 100644 --- a/tutorial/t8/main.cpp +++ b/tutorial/t8/main.cpp @@ -24,10 +24,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); @@ -43,7 +43,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name ) TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); //2x2, 10 pixel border - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( angle, 1, 0, TQt::AlignTop ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); diff --git a/tutorial/t9/main.cpp b/tutorial/t9/main.cpp index 506b66f9..cf1862af 100644 --- a/tutorial/t9/main.cpp +++ b/tutorial/t9/main.cpp @@ -24,10 +24,10 @@ public: MyWidget::MyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); @@ -40,7 +40,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name ) angle, SLOT(setValue(int)) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( angle, 1, 0, TQt::AlignTop ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 );