summaryrefslogtreecommitdiffstats
path: root/libkcal/calendarresources.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/calendarresources.h')
-rw-r--r--libkcal/calendarresources.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/libkcal/calendarresources.h b/libkcal/calendarresources.h
index 9a93be53..3f601502 100644
--- a/libkcal/calendarresources.h
+++ b/libkcal/calendarresources.h
@@ -66,6 +66,7 @@ class LIBKCAL_EXPORT CalendarResources :
public KRES::ManagerObserver<ResourceCalendar>
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@class DestinationPolicy
@@ -74,12 +75,12 @@ class LIBKCAL_EXPORT CalendarResources :
{
public:
DestinationPolicy( CalendarResourceManager *manager,
- TQWidget *parent = 0 ) :
- mManager( manager ), mParent( parent ) {}
+ TQWidget *tqparent = 0 ) :
+ mManager( manager ), mParent( tqparent ) {}
virtual ResourceCalendar *destination( Incidence *incidence ) = 0;
- virtual TQWidget *parent() { return mParent; }
- virtual void setParent( TQWidget *newparent ) { mParent = newparent; }
+ virtual TQWidget *tqparent() { return mParent; }
+ virtual void setParent( TQWidget *newtqparent ) { mParent = newtqparent; }
bool hasCalendarResources();
protected:
CalendarResourceManager *resourceManager()
@@ -97,8 +98,8 @@ class LIBKCAL_EXPORT CalendarResources :
{
public:
StandardDestinationPolicy( CalendarResourceManager *manager,
- TQWidget *parent = 0 ) :
- DestinationPolicy( manager, parent ) {}
+ TQWidget *tqparent = 0 ) :
+ DestinationPolicy( manager, tqparent ) {}
ResourceCalendar *destination( Incidence *incidence );
@@ -114,8 +115,8 @@ class LIBKCAL_EXPORT CalendarResources :
{
public:
AskDestinationPolicy( CalendarResourceManager *manager,
- TQWidget *parent = 0 ) :
- DestinationPolicy( manager, parent ) {}
+ TQWidget *tqparent = 0 ) :
+ DestinationPolicy( manager, tqparent ) {}
ResourceCalendar *destination( Incidence *incidence );
@@ -270,8 +271,8 @@ class LIBKCAL_EXPORT CalendarResources :
void setAskDestinationPolicy();
/**
- 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
+ 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
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
@@ -279,12 +280,12 @@ class LIBKCAL_EXPORT CalendarResources :
*/
TQWidget *dialogParentWidget();
/**
- 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
+ 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
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 *parent );
+ void setDialogParentWidget( TQWidget *tqparent );
/**
Request ticket for saving the Calendar. If a ticket is returned the