diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /src | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'src')
56 files changed, 129 insertions, 129 deletions
diff --git a/src/3rdparty/libjpeg/jdct.h b/src/3rdparty/libjpeg/jdct.h index d4d1ae422..ebaf73013 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 c95f49e94..a8587242b 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 d46b9572c..99146731a 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 66dfee61f..06671126c 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 01835b2c9..95da39e78 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 0601ee7a9..b9b20cc83 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 67b26f509..95c086db6 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 3c88d8a06..c86faf615 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 925c1605c..a4e550135 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 e983bc775..b48a86094 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 73b813326..4f002c806 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 3aeb067d8..ecfb8feb3 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 9348c3308..58771aa78 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 1ca5397c6..7e970d43b 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 87b0b582c..410681d18 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 14213d6ba..74fc49545 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 b4c944227..07c50c676 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 bd06308a5..7443178d5 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 6bd440def..9ef43e998 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 4eeb6621b..da5705092 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 08213577b..eb7ef3058 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 b761c7365..6c4dcde23 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 437361f88..6c0bde41e 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 7a50a164e..98449cf12 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 1e2b6c8e3..ba926e09d 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 e8c12748a..5fd05685b 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 6881c806a..b787122d2 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 8f2706841..dcc535861 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 480cbf54a..2dab316d0 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 d70bb0efd..c1c00b820 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 76d2e62e0..6ada21dcb 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 671e56852..9543be663 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 f26f24c00..82630a296 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 3d50405ea..40614d8ff 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 8f095faea..bb79296fc 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 242a35e69..adf4fec9d 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 31e43672b..77ddf8a8b 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 f719a8303..b7c5ac65e 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 66621591e..5a4c76ee0 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 4fbd98546..12a4c4077 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 20b01dc5b..3d0ad3b43 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 f3447dea1..a573ba64f 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 <X11/extensions/XInput.h> #if defined (Q_OS_IRIX) -# include <wacom.h> // wacom driver defines for IRIX (tquite handy) +# include <wacom.h> // 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 f6a02ee96..39ace4152 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 f531cfc94..4d8519884 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 2e62f7998..b0dc6b67e 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 dab9208dd..952ba4150 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 9e58d5244..7857d5fe2 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 3a5baf375..663c4301d 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 19673e1f6..d36231582 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 d767db495..314855271 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 e0a7c431b..3d7082ba3 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 <application name> \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 98aa064d1..34fedde74 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 44b6347a9..8c661d1ee 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 ec2df8a15..f121a38ea 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 c08e04f75..5963bfdc9 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 8de32e51b..3fdbd7550 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 |