summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/kernel/tqapplication.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
commitb6c6d9f8dd1221e5d9dc5b674e93797761470024 (patch)
tree94563ba51148e9fd71f5c8df86439c84945d5d81 /experimental/tqtinterface/qt4/src/kernel/tqapplication.cpp
parent03256f3cd5149f3ff5f5f45765b0b0659db4e036 (diff)
downloadtde-b6c6d9f8dd1221e5d9dc5b674e93797761470024.tar.gz
tde-b6c6d9f8dd1221e5d9dc5b674e93797761470024.zip
rename the following methods:
tqparent parent tqmask mask
Diffstat (limited to 'experimental/tqtinterface/qt4/src/kernel/tqapplication.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/kernel/tqapplication.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/experimental/tqtinterface/qt4/src/kernel/tqapplication.cpp b/experimental/tqtinterface/qt4/src/kernel/tqapplication.cpp
index 0e3b55cdc..d2cc4a2bd 100644
--- a/experimental/tqtinterface/qt4/src/kernel/tqapplication.cpp
+++ b/experimental/tqtinterface/qt4/src/kernel/tqapplication.cpp
@@ -545,7 +545,7 @@ TQ_EXPORT bool qt_tryModalHelper( TQWidget *widget, TQWidget **rettop ) {
if ( !top || modal == top ) // don't block event
return TRUE;
- TQWidget * p = widget->parentWidget(); // Check if the active modal widget is a tqparent of our widget
+ TQWidget * p = widget->parentWidget(); // Check if the active modal widget is a parent of our widget
while ( p ) {
if ( p == top )
return TRUE;
@@ -1397,22 +1397,22 @@ static TQVFuncList *postRList = 0; // list of post routines
long before the TQApplication destructor is called, for example.
For modules and libraries, using a reference-counted initialization
- manager or TQt' tqparent-child delete mechanism may be better. Here is
- an example of a private class which uses the tqparent-child mechanism
+ manager or TQt' parent-child delete mechanism may be better. Here is
+ an example of a private class which uses the parent-child mechanism
to call a cleanup function at the right time:
\code
class MyPrivateInitStuff: public TQObject {
private:
- MyPrivateInitStuff( TQObject * tqparent ): TQObject( tqparent) {
+ MyPrivateInitStuff( TQObject * parent ): TQObject( parent) {
// initialization goes here
}
MyPrivateInitStuff * p;
public:
- static MyPrivateInitStuff * initStuff( TQObject * tqparent ) {
+ static MyPrivateInitStuff * initStuff( TQObject * parent ) {
if ( !p )
- p = new MyPrivateInitStuff( tqparent );
+ p = new MyPrivateInitStuff( parent );
return p;
}
@@ -1422,7 +1422,7 @@ static TQVFuncList *postRList = 0; // list of post routines
}
\endcode
- By selecting the right tqparent widget/object, this can often be made
+ By selecting the right parent widget/object, this can often be made
to clean up the module's data at the exact right moment.
*/
@@ -2920,7 +2920,7 @@ void TQApplication::setFont( const TQFont &font, bool informWidgets,
// make sure the application font is complete
app_font->detach();
- app_font->d->tqmask = TQFontPrivate::Complete;
+ app_font->d->mask = TQFontPrivate::Complete;
all = app_fonts != 0;
delete app_fonts;
@@ -3226,7 +3226,7 @@ void TQApplication::aboutTQt()
Returns the value that is returned from the receiver's event handler.
For certain types of events (e.g. mouse and key events),
- the event will be propagated to the receiver's tqparent and so on up to
+ the event will be propagated to the receiver's parent and so on up to
the top-level object if the receiver is not interested in the event
(i.e., it returns FALSE).
@@ -4656,7 +4656,7 @@ TQ_EXPORT bool qt_tryModalHelper( TQWidget *widget, TQWidget **rettop ) {
if ( !top || modal == top ) // don't block event
return TRUE;
- TQWidget * p = widget->parentWidget(); // Check if the active modal widget is a tqparent of our widget
+ TQWidget * p = widget->parentWidget(); // Check if the active modal widget is a parent of our widget
while ( p ) {
if ( p == top )
return TRUE;