summaryrefslogtreecommitdiffstats
path: root/libkcal/calendarresources.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/calendarresources.h')
-rw-r--r--libkcal/calendarresources.h26
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