summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/kmwbanners.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/cups/kmwbanners.cpp')
-rw-r--r--kdeprint/cups/kmwbanners.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeprint/cups/kmwbanners.cpp b/kdeprint/cups/kmwbanners.cpp
index 72964c697..9e930ac0e 100644
--- a/kdeprint/cups/kmwbanners.cpp
+++ b/kdeprint/cups/kmwbanners.cpp
@@ -70,7 +70,7 @@ TQString mapBanner( const TQString& ban )
if ( map.size() == 0 )
for ( int i=0; bannermap[ i ].banner; i++ )
map[ bannermap[ i ].banner ] = bannermap[ i ].name;
- TQMap<TQString,TQString>::ConstIterator it = map.tqfind( ban );
+ TQMap<TQString,TQString>::ConstIterator it = map.find( ban );
if ( it == map.end() )
return ban;
else
@@ -120,7 +120,7 @@ void KMWBanners::initPrinter(KMPrinter *p)
m_bans = TQStringList::split(',',p->option("kde-banners-supported"),false);
if (m_bans.count() == 0)
m_bans = defaultBanners();
- if (m_bans.tqfind("none") == m_bans.end())
+ if (m_bans.find("none") == m_bans.end())
m_bans.prepend("none");
for ( TQStringList::Iterator it=m_bans.begin(); it!=m_bans.end(); ++it )
{
@@ -131,8 +131,8 @@ void KMWBanners::initPrinter(KMPrinter *p)
TQStringList l = TQStringList::split(',',p->option("kde-banners"),false);
while (l.count() < 2)
l.append("none");
- m_start->setCurrentItem(m_bans.tqfindIndex(l[0]));
- m_end->setCurrentItem(m_bans.tqfindIndex(l[1]));
+ m_start->setCurrentItem(m_bans.findIndex(l[0]));
+ m_end->setCurrentItem(m_bans.findIndex(l[1]));
}
}