summaryrefslogtreecommitdiffstats
path: root/kresources/tvanytime
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kresources/tvanytime
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/tvanytime')
-rw-r--r--kresources/tvanytime/COPYING4
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytime.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/kresources/tvanytime/COPYING b/kresources/tvanytime/COPYING
index 2ad70b8b1..c13faf0dd 100644
--- a/kresources/tvanytime/COPYING
+++ b/kresources/tvanytime/COPYING
@@ -59,7 +59,7 @@ modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
- 0. This License applies to any program or other work which tqcontains
+ 0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
@@ -154,7 +154,7 @@ Sections 1 and 2 above provided that you also do one of the following:
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
-code means all the source code for all modules it tqcontains, plus any
+code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
diff --git a/kresources/tvanytime/kcal_resourcetvanytime.cpp b/kresources/tvanytime/kcal_resourcetvanytime.cpp
index 2ce2e9e49..6ee6dd1c3 100644
--- a/kresources/tvanytime/kcal_resourcetvanytime.cpp
+++ b/kresources/tvanytime/kcal_resourcetvanytime.cpp
@@ -288,8 +288,8 @@ bool ResourceTVAnytime::readServiceInformation( const TQDomDocument & serviceInf
Service s;
TQDomElement e3 = n3.toElement();
if (s.loadXML( e3 ) ) {
- s.setActive( mActiveServices.tqcontains( s.id() ) );
- bool newService = !mServiceMap.tqcontains( s.id() );
+ s.setActive( mActiveServices.contains( s.id() ) );
+ bool newService = !mServiceMap.contains( s.id() );
if ( newService )
{
mServiceMap.insert( s.id(), s );
@@ -331,7 +331,7 @@ bool ResourceTVAnytime::readService( const TQString & serviceId )
if ( entryDate < TQDate::tqcurrentDate() || ( entryDate > TQDate::tqcurrentDate().addDays( prefs()->days() - 1 ) ) )
continue;
- if ( !dates.tqcontains( re.cap( 1 ) ) )
+ if ( !dates.contains( re.cap( 1 ) ) )
dates.append( re.cap( 1 ) );
}
}
@@ -454,7 +454,7 @@ bool ResourceTVAnytime::subresourceActive( const TQString & subresource ) const
void ResourceTVAnytime::setSubresourceActive( const TQString & subresource, bool active )
{
- if ( mServiceMap.tqcontains( subresource ) )
+ if ( mServiceMap.contains( subresource ) )
{
Service s = mServiceMap[ subresource ];
if ( s.active() != active )