summaryrefslogtreecommitdiffstats
path: root/korganizer/calendarview.cpp
diff options
context:
space:
mode:
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 ) {