summaryrefslogtreecommitdiffstats
path: root/korganizer/calendarview.cpp
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 /korganizer/calendarview.cpp
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 'korganizer/calendarview.cpp')
-rw-r--r--korganizer/calendarview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 115be5ffc..e5203ae1b 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -364,7 +364,7 @@ TQPair<ResourceCalendar *, TQString> CalendarView::viewSubResourceCalendar()
KOIncidenceEditor *CalendarView::editorDialog( Incidence *incidence ) const
{
- if (mDialogList.tqfind(incidence) != mDialogList.end ())
+ if (mDialogList.find(incidence) != mDialogList.end ())
return mDialogList[incidence];
else return 0;
}
@@ -631,7 +631,7 @@ void CalendarView::readFilterSettings( KConfig *config )
}
config->setGroup( "General" );
- int pos = filterList.tqfindIndex( currentFilter );
+ int pos = filterList.findIndex( currentFilter );
mCurrentFilter = 0;
if ( pos>=0 ) {
mCurrentFilter = mFilters.at( pos );
@@ -1976,7 +1976,7 @@ void CalendarView::updateFilter()
TQStringList filters;
CalFilter *filter;
- int pos = mFilters.tqfind( mCurrentFilter );
+ int pos = mFilters.find( mCurrentFilter );
if ( pos < 0 ) {
mCurrentFilter = 0;
}
@@ -2563,7 +2563,7 @@ void CalendarView::updateCategories()
allCats.sort();
TQStringList categories( KOPrefs::instance()->mCustomCategories );
for ( TQStringList::ConstIterator si = allCats.constBegin(); si != allCats.constEnd(); ++si ) {
- if ( categories.tqfind( *si ) == categories.end() ) {
+ if ( categories.find( *si ) == categories.end() ) {
categories.append( *si );
}
}
@@ -2797,7 +2797,7 @@ void CalendarView::getIncidenceHierarchy( Incidence *inc,
Incidence::List &tqchildren )
{
// protecion against looping hierarchies
- if ( inc && !tqchildren.tqcontains( inc ) ) {
+ if ( inc && !tqchildren.contains( inc ) ) {
Incidence::List::ConstIterator it;
Incidence::List immediateChildren = inc->relations();
for ( it = immediateChildren.constBegin(); it != immediateChildren.constEnd(); ++it ) {