diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 | 
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 | 
| commit | 330c33ab6f97b279737bf9527c9add7bb1475450 (patch) | |
| tree | 85cb998d3077ae295d65944ebb4d0189fc660ead /kdevdesigner/shared/widgetdatabase.cpp | |
| parent | 093de0db4fea89b3f94a2359c6981f353d035eb7 (diff) | |
| download | tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip | |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/shared/widgetdatabase.cpp')
| -rw-r--r-- | kdevdesigner/shared/widgetdatabase.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/kdevdesigner/shared/widgetdatabase.cpp b/kdevdesigner/shared/widgetdatabase.cpp index 1950ddbb..80e8c131 100644 --- a/kdevdesigner/shared/widgetdatabase.cpp +++ b/kdevdesigner/shared/widgetdatabase.cpp @@ -764,7 +764,7 @@ TQString WidgetDatabase::createWidgetName( int id )  	n = "Layout";      if ( n[ 0 ] == 'Q' && n[ 1 ].lower() != n[ 1 ] )  	n = n.mid( 1 ); -    int colonColon = n.tqfindRev( "::" ); +    int colonColon = n.findRev( "::" );      if ( colonColon != -1 )  	n = n.mid( colonColon + 2 ); @@ -783,14 +783,14 @@ int WidgetDatabase::idFromClassName( const TQString &name )      setupDataBase( -1 );      if ( name.isEmpty() )  	return 0; -    int *i = className2Id->tqfind( name ); +    int *i = className2Id->find( name );      if ( i )  	return *i;      if ( name == "FormWindow" )  	return idFromClassName( TQLAYOUTWIDGET_OBJECT_NAME_STRING );  #ifdef UIC      setupDataBase( -2 ); -    i = className2Id->tqfind( name ); +    i = className2Id->find( name );      if ( i )  	return *i;  #endif @@ -799,7 +799,7 @@ int WidgetDatabase::idFromClassName( const TQString &name )  bool WidgetDatabase::hasWidget( const TQString &name )  { -    return className2Id->tqfind( name ) != 0; +    return className2Id->find( name ) != 0;  }  WidgetDatabaseRecord *WidgetDatabase::at( int index ) @@ -832,7 +832,7 @@ void WidgetDatabase::append( WidgetDatabaseRecord *r )  TQString WidgetDatabase::widgetGroup( const TQString &g )  { -    if ( wGroups->tqfind( g.ascii() ) == -1 ) +    if ( wGroups->find( g.ascii() ) == -1 )  	wGroups->append( g.ascii() );      return g;  } @@ -866,7 +866,7 @@ int WidgetDatabase::numWidgetGroups()  bool WidgetDatabase::isGroupVisible( const TQString &g )  {      setupDataBase( -1 ); -    return invisibleGroups->tqfind( g.ascii() ) == -1; +    return invisibleGroups->find( g.ascii() ) == -1;  }  int WidgetDatabase::addCustomWidget( WidgetDatabaseRecord *r ) | 
