summaryrefslogtreecommitdiffstats
path: root/libkcal/calendarlocal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/calendarlocal.cpp')
-rw-r--r--libkcal/calendarlocal.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkcal/calendarlocal.cpp b/libkcal/calendarlocal.cpp
index 95b5a0063..310c65d23 100644
--- a/libkcal/calendarlocal.cpp
+++ b/libkcal/calendarlocal.cpp
@@ -50,7 +50,7 @@ CalendarLocal::CalendarLocal( const TQString &timeZoneId )
void CalendarLocal::init()
{
mDeletedIncidences.setAutoDelete( true );
- mFileName = TQString::null;
+ mFileName = TQString();
}
@@ -92,7 +92,7 @@ bool CalendarLocal::save( const TQString &fileName, CalFormat *format )
void CalendarLocal::close()
{
setObserversEnabled( false );
- mFileName = TQString::null;
+ mFileName = TQString();
deleteAllEvents();
deleteAllTodos();
@@ -107,7 +107,7 @@ void CalendarLocal::close()
void CalendarLocal::closeEvents()
{
setObserversEnabled( false );
- mFileName = TQString::null;
+ mFileName = TQString();
deleteAllEvents();
@@ -120,7 +120,7 @@ void CalendarLocal::closeEvents()
void CalendarLocal::closeTodos()
{
setObserversEnabled( false );
- mFileName = TQString::null;
+ mFileName = TQString();
deleteAllTodos();
@@ -133,7 +133,7 @@ void CalendarLocal::closeTodos()
void CalendarLocal::closeJournals()
{
setObserversEnabled( false );
- mFileName = TQString::null;
+ mFileName = TQString();
deleteAllJournals();
@@ -229,7 +229,7 @@ bool CalendarLocal::addTodo( Todo *todo )
bool CalendarLocal::deleteTodo( Todo *todo )
{
- // Handle orphaned children
+ // Handle orphaned tqchildren
removeRelations( todo );
if ( mTodoList.removeRef( todo ) ) {