summaryrefslogtreecommitdiffstats
path: root/kresources/tvanytime
diff options
context:
space:
mode:
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 )