From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/calendarview.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'korganizer/calendarview.cpp') diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index e5203ae1b..5b6d94928 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -112,8 +112,8 @@ using namespace KOrg; -CalendarView::CalendarView( TQWidget *tqparent, const char *name ) - : CalendarViewBase( tqparent, name ), +CalendarView::CalendarView( TQWidget *parent, const char *name ) + : CalendarViewBase( parent, name ), mHistory( 0 ), mCalendar( CalendarNull::self() ), mChanger( 0 ) @@ -456,13 +456,13 @@ bool CalendarView::openCalendar(const TQString& filename, bool merge) i18n( "No calendars found, unable to merge the file into your calendar." ) ); return false; } - // FIXME: This is a nasty hack, since we need to set a tqparent for the + // FIXME: This is a nasty hack, since we need to set a parent for the // resource selection dialog. However, we don't have any UI methods // in the calendar, only in the CalendarResources::DestinationPolicy // So we need to type-cast it and extract it from the CalendarResources - TQWidget *tmptqparent = 0; + TQWidget *tmpparent = 0; if ( cl ) { - tmptqparent = cl->dialogParentWidget(); + tmpparent = cl->dialogParentWidget(); cl->setDialogParentWidget( this ); } @@ -2216,13 +2216,13 @@ bool CalendarView::editIncidence( Incidence *incidence, const TQDate &date, bool return false; } - // FIXME: This is a nasty hack, since we need to set a tqparent for the + // FIXME: This is a nasty hack, since we need to set a parent for the // resource selection dialog. However, we don't have any UI methods // in the calendar, only in the CalendarResources::DestinationPolicy // So we need to type-cast it and extract it from the CalendarResources - TQWidget *tmptqparent = 0; + TQWidget *tmpparent = 0; if ( stdcal ) { - tmptqparent = stdcal->dialogParentWidget(); + tmpparent = stdcal->dialogParentWidget(); stdcal->setDialogParentWidget( this ); } @@ -2343,7 +2343,7 @@ void CalendarView::deleteTodoIncidence ( Todo *todo, bool force ) // Delete only the father if( km == KMessageBox::Yes ) { // Instead of making a subto-do independent, why not relate - // it to it's dead father's tqparent? + // it to it's dead father's parent? makeChildrenIndependent ( todo ); mChanger->deleteIncidence( todo, this ); } else if ( km == KMessageBox::No ) { -- cgit v1.2.1