diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /libkcal/calendarresources.h | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip |
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
Diffstat (limited to 'libkcal/calendarresources.h')
-rw-r--r-- | libkcal/calendarresources.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libkcal/calendarresources.h b/libkcal/calendarresources.h index 3f6015020..1b884b6a2 100644 --- a/libkcal/calendarresources.h +++ b/libkcal/calendarresources.h @@ -75,12 +75,12 @@ class LIBKCAL_EXPORT CalendarResources : { public: DestinationPolicy( CalendarResourceManager *manager, - TQWidget *tqparent = 0 ) : - mManager( manager ), mParent( tqparent ) {} + TQWidget *parent = 0 ) : + mManager( manager ), mParent( parent ) {} virtual ResourceCalendar *destination( Incidence *incidence ) = 0; - virtual TQWidget *tqparent() { return mParent; } - virtual void setParent( TQWidget *newtqparent ) { mParent = newtqparent; } + virtual TQWidget *parent() { return mParent; } + virtual void setParent( TQWidget *newparent ) { mParent = newparent; } bool hasCalendarResources(); protected: CalendarResourceManager *resourceManager() @@ -98,8 +98,8 @@ class LIBKCAL_EXPORT CalendarResources : { public: StandardDestinationPolicy( CalendarResourceManager *manager, - TQWidget *tqparent = 0 ) : - DestinationPolicy( manager, tqparent ) {} + TQWidget *parent = 0 ) : + DestinationPolicy( manager, parent ) {} ResourceCalendar *destination( Incidence *incidence ); @@ -115,8 +115,8 @@ class LIBKCAL_EXPORT CalendarResources : { public: AskDestinationPolicy( CalendarResourceManager *manager, - TQWidget *tqparent = 0 ) : - DestinationPolicy( manager, tqparent ) {} + TQWidget *parent = 0 ) : + DestinationPolicy( manager, parent ) {} ResourceCalendar *destination( Incidence *incidence ); @@ -271,8 +271,8 @@ class LIBKCAL_EXPORT CalendarResources : void setAskDestinationPolicy(); /** - Returns the current tqparent for new dialogs. This is a bad hack, but we need - to properly set the tqparent for the resource selection dialog. Otherwise + Returns the current parent for new dialogs. This is a bad hack, but we need + to properly set the parent for the resource selection dialog. Otherwise the dialog will not be modal to the editor dialog in korganizer and the user can still work in the editor dialog (and thus crash korganizer). Afterwards we need to reset it (to avoid pointers to widgets that are @@ -280,12 +280,12 @@ class LIBKCAL_EXPORT CalendarResources : */ TQWidget *dialogParentWidget(); /** - Set the widget tqparent for new dialogs. This is a bad hack, but we need - to properly set the tqparent for the resource selection dialog. Otherwise + Set the widget parent for new dialogs. This is a bad hack, but we need + to properly set the parent for the resource selection dialog. Otherwise the dialog will not be modal to the editor dialog in korganizer and the user can still work in the editor dialog (and thus crash korganizer). */ - void setDialogParentWidget( TQWidget *tqparent ); + void setDialogParentWidget( TQWidget *parent ); /** Request ticket for saving the Calendar. If a ticket is returned the |