diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/extensions | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/extensions')
-rw-r--r-- | tqtinterface/qt4/extensions/extensions.pro | 2 | ||||
-rw-r--r-- | tqtinterface/qt4/extensions/nsplugin/src/npwin.cpp | 2 | ||||
-rw-r--r-- | tqtinterface/qt4/extensions/nsplugin/src/qnp.cpp | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/tqtinterface/qt4/extensions/extensions.pro b/tqtinterface/qt4/extensions/extensions.pro index 6e254d1..2d01491 100644 --- a/tqtinterface/qt4/extensions/extensions.pro +++ b/tqtinterface/qt4/extensions/extensions.pro @@ -1,6 +1,6 @@ TEMPLATE = subdirs -tqcontains( TQT_PRODUCT, qt-(enterprise|internal|eval) ) { +contains( TQT_PRODUCT, qt-(enterprise|internal|eval) ) { win32: SUBDIRS = activeqt x11: SUBDIRS = motif } diff --git a/tqtinterface/qt4/extensions/nsplugin/src/npwin.cpp b/tqtinterface/qt4/extensions/nsplugin/src/npwin.cpp index fe2548e..fc25212 100644 --- a/tqtinterface/qt4/extensions/nsplugin/src/npwin.cpp +++ b/tqtinterface/qt4/extensions/nsplugin/src/npwin.cpp @@ -325,7 +325,7 @@ void NPN_tqStatus(NPP instance, const char *message) g_pNavigatorFuncs->status(instance, message); } -/* returns the user agent string of Navigator, which tqcontains version info +/* returns the user agent string of Navigator, which contains version info */ const char* NPN_UserAgent(NPP instance) { diff --git a/tqtinterface/qt4/extensions/nsplugin/src/qnp.cpp b/tqtinterface/qt4/extensions/nsplugin/src/qnp.cpp index 987e6a8..5dc6684 100644 --- a/tqtinterface/qt4/extensions/nsplugin/src/qnp.cpp +++ b/tqtinterface/qt4/extensions/nsplugin/src/qnp.cpp @@ -294,7 +294,7 @@ static jref plugin_java_class = 0; ** NPP_GetJavaClass is called during initialization to ask your plugin ** what its associated Java class is. If you don't have one, just return ** NULL. Otherwise, use the javah-generated "use_" function to both -** initialize your class and return it. If you can't tqfind your class, an +** initialize your class and return it. If you can't find your class, an ** error will be signalled by "use_" and will cause the Navigator to ** complain to the user. */ @@ -1688,12 +1688,12 @@ Boolean qnpxt_event_dispatcher( XEvent *event ) TQApplication::sendPostedEvents(); TQWidgetIntDict *mapper = &static_d->mapper; - TQWidget* qnpxt = mapper->tqfind( event->xany.window ); - if ( !qnpxt && TQWidget::tqfind( event->xany.window) == 0 ) { + TQWidget* qnpxt = mapper->find( event->xany.window ); + if ( !qnpxt && TQWidget::find( event->xany.window) == 0 ) { // event is not for TQt, try Xt Widget w = XtWindowToWidget( TQPaintDevice::x11AppDisplay(), event->xany.window ); - while ( w && ! ( qnpxt = mapper->tqfind( XtWindow( w ) ) ) ) { + while ( w && ! ( qnpxt = mapper->find( XtWindow( w ) ) ) ) { if ( XtIsShell( w ) ) { break; } @@ -1796,7 +1796,7 @@ Boolean qnpxt_event_dispatcher( XEvent *event ) TQWidget *qw = 0; Widget xw = XtWindowToWidget( TQPaintDevice::x11AppDisplay(), event->xany.window ); - while ( xw && !( qw = mapper->tqfind( XtWindow( xw ) ) ) ) + while ( xw && !( qw = mapper->find( XtWindow( xw ) ) ) ) xw = XtParent( xw ); while ( qw && qw != TQApplication::activeModalWidget() ) @@ -1933,7 +1933,7 @@ void TQNPXt::unregisterWidget( TQWidget* w ) void qnpxt_socknot_handler( XtPointer pointer, int *, XtInputId *id ) { TQNPXt *eventloop = (TQNPXt *) pointer; - TQSocketNotifier *socknot = static_d->socknotDict.tqfind( *id ); + TQSocketNotifier *socknot = static_d->socknotDict.find( *id ); if ( ! socknot ) // this shouldn't happen return; eventloop->setSocketNotifierPending( socknot ); |