summaryrefslogtreecommitdiffstats
path: root/libkcal
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-15 12:40:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-15 12:40:29 +0900
commit2f5f281048b6969c784a62fa296e9dac65c246d3 (patch)
treebc1806e82c7188ea9ad2f8ff0653d048fc6f8700 /libkcal
parentfc33fbf5ae054e039bfd10238a5f1c6cdde6fea3 (diff)
downloadtdepim-2f5f281048b6969c784a62fa296e9dac65c246d3.tar.gz
tdepim-2f5f281048b6969c784a62fa296e9dac65c246d3.zip
Replace KDE_DEPRECATED with TDE_DEPRECATED
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkcal')
-rw-r--r--libkcal/calendarresources.h12
-rw-r--r--libkcal/event.h6
-rw-r--r--libkcal/incidencebase.h6
-rw-r--r--libkcal/incidenceformatter.h6
-rw-r--r--libkcal/resourcecached.h6
-rw-r--r--libkcal/resourcecalendar.h8
-rw-r--r--libkcal/scheduler.h2
-rw-r--r--libkcal/todo.h6
8 files changed, 26 insertions, 26 deletions
diff --git a/libkcal/calendarresources.h b/libkcal/calendarresources.h
index 20d5850c3..23539fc37 100644
--- a/libkcal/calendarresources.h
+++ b/libkcal/calendarresources.h
@@ -340,7 +340,7 @@ class LIBKCAL_EXPORT CalendarResources :
@deprecated use
addIncidence(Incidence *,ResourceCalendar *,const TQString &) instead.
*/
- KDE_DEPRECATED bool addIncidence( Incidence *incidence, ResourceCalendar *resource );
+ TDE_DEPRECATED bool addIncidence( Incidence *incidence, ResourceCalendar *resource );
/**
Insert an Incidence into a Calendar Resource.
@@ -362,7 +362,7 @@ class LIBKCAL_EXPORT CalendarResources :
@return false if the resource could not be computed or if a ticket
request fails; true otherwise.
*/
- KDE_DEPRECATED bool beginChange( Incidence *incidence );
+ TDE_DEPRECATED bool beginChange( Incidence *incidence );
/**
Flag that a change to a Calendar Incidence is starting.
@@ -385,7 +385,7 @@ class LIBKCAL_EXPORT CalendarResources :
@return false if the resource could not be computed or if a ticket
save fails; true otherwise.
*/
- KDE_DEPRECATED bool endChange( Incidence *incidence );
+ TDE_DEPRECATED bool endChange( Incidence *incidence );
/**
Flag that a change to a Calendar Incidence has completed.
@@ -427,7 +427,7 @@ class LIBKCAL_EXPORT CalendarResources :
@deprecated use
addIncidence(Incidence *,ResourceCalendar *,const TQString&) instead.
*/
- KDE_DEPRECATED bool addEvent( Event *event, ResourceCalendar *resource );
+ TDE_DEPRECATED bool addEvent( Event *event, ResourceCalendar *resource );
/**
Insert an Event into a Calendar Resource.
@@ -544,7 +544,7 @@ class LIBKCAL_EXPORT CalendarResources :
@deprecated use
addIncidence(Incidence *,ResourceCalendar *,const TQString &) instead.
*/
- KDE_DEPRECATED bool addTodo( Todo *todo, ResourceCalendar *resource );
+ TDE_DEPRECATED bool addTodo( Todo *todo, ResourceCalendar *resource );
/**
Insert an Todo into a Calendar Resource.
@@ -629,7 +629,7 @@ class LIBKCAL_EXPORT CalendarResources :
@deprecated use
addIncidence(Incidence *,ResourceCalendar *,const TQString &) instead.
*/
- KDE_DEPRECATED bool addJournal( Journal *journal, ResourceCalendar *resource );
+ TDE_DEPRECATED bool addJournal( Journal *journal, ResourceCalendar *resource );
/**
Insert a Journal into a Calendar Resource.
diff --git a/libkcal/event.h b/libkcal/event.h
index ba0780fb3..707453ae9 100644
--- a/libkcal/event.h
+++ b/libkcal/event.h
@@ -74,7 +74,7 @@ class LIBKCAL_EXPORT Event : public Incidence
settings.
@deprecated use IncidenceFormatter::timeToString()
*/
- TQString KDE_DEPRECATED dtEndTimeStr() const;
+ TQString TDE_DEPRECATED dtEndTimeStr() const;
/**
Return end date as string formatted according to the users locale
settings.
@@ -83,13 +83,13 @@ class LIBKCAL_EXPORT Event : public Incidence
long format
@deprecated use IncidenceFormatter::dateToString()
*/
- TQString KDE_DEPRECATED dtEndDateStr( bool shortfmt = true ) const;
+ TQString TDE_DEPRECATED dtEndDateStr( bool shortfmt = true ) const;
/**
Return end date and time as string formatted according to the users locale
settings.
@deprecated use IncidenceFormatter::dateTimeToString()
*/
- TQString KDE_DEPRECATED dtEndStr() const;
+ TQString TDE_DEPRECATED dtEndStr() const;
/**
Set whether the event has an end date/time.
diff --git a/libkcal/incidencebase.h b/libkcal/incidencebase.h
index d54ca8791..10a9ab209 100644
--- a/libkcal/incidencebase.h
+++ b/libkcal/incidencebase.h
@@ -139,20 +139,20 @@ class LIBKCAL_EXPORT IncidenceBase : public CustomProperties
users locale settings.
@deprecated use IncidenceFormatter::timeToString()
*/
- virtual KDE_DEPRECATED TQString dtStartTimeStr() const;
+ virtual TDE_DEPRECATED TQString dtStartTimeStr() const;
/**
returns an event's starting date as a string formatted according to the
users locale settings
@deprecated use IncidenceFormatter::dateToString()
*/
- virtual KDE_DEPRECATED TQString dtStartDateStr( bool shortfmt = true ) const;
+ virtual TDE_DEPRECATED TQString dtStartDateStr( bool shortfmt = true ) const;
/**
returns an event's starting date and time as a string formatted according
to the users locale settings
@deprecated use IncidenceFormatter::dateTimeToString()
*/
- virtual KDE_DEPRECATED TQString dtStartStr() const;
+ virtual TDE_DEPRECATED TQString dtStartStr() const;
virtual void setDuration( int seconds );
int duration() const;
diff --git a/libkcal/incidenceformatter.h b/libkcal/incidenceformatter.h
index b2dcd4324..9d6e8a758 100644
--- a/libkcal/incidenceformatter.h
+++ b/libkcal/incidenceformatter.h
@@ -52,20 +52,20 @@ class LIBKCAL_EXPORT InvitationFormatterHelper
class LIBKCAL_EXPORT IncidenceFormatter
{
public:
- static TQString KDE_DEPRECATED toolTipString( IncidenceBase *incidence, bool richText = true );
+ static TQString TDE_DEPRECATED toolTipString( IncidenceBase *incidence, bool richText = true );
static TQString toolTipStr( Calendar *calendar,
IncidenceBase *incidence,
const TQDate &date=TQDate(),
bool richText = true );
static TQString mailBodyString( IncidenceBase *incidencebase );
- static TQString KDE_DEPRECATED extensiveDisplayString( IncidenceBase *incidence );
+ static TQString TDE_DEPRECATED extensiveDisplayString( IncidenceBase *incidence );
static TQString extensiveDisplayStr( Calendar *calendar,
IncidenceBase *incidence,
const TQDate &date=TQDate() );
static TQString formatICalInvitation( TQString invitation, Calendar *mCalendar,
InvitationFormatterHelper *helper );
- static TQString KDE_DEPRECATED formatICalInvitationNoHtml( TQString invitation,
+ static TQString TDE_DEPRECATED formatICalInvitationNoHtml( TQString invitation,
Calendar *mCalendar,
InvitationFormatterHelper *helper );
static TQString formatICalInvitationNoHtml( TQString invitation,
diff --git a/libkcal/resourcecached.h b/libkcal/resourcecached.h
index 6d0458084..6465def9f 100644
--- a/libkcal/resourcecached.h
+++ b/libkcal/resourcecached.h
@@ -137,7 +137,7 @@ class TDE_EXPORT ResourceCached : public ResourceCalendar,
/**
Add event to calendar.
*/
- KDE_DEPRECATED bool addEvent( Event *event );
+ TDE_DEPRECATED bool addEvent( Event *event );
bool addEvent( Event *event, const TQString &subresource );
/**
@@ -177,7 +177,7 @@ class TDE_EXPORT ResourceCached : public ResourceCalendar,
/**
Add a todo to the todolist.
*/
- KDE_DEPRECATED bool addTodo( Todo *todo );
+ TDE_DEPRECATED bool addTodo( Todo *todo );
bool addTodo( Todo *todo, const TQString &subresource );
/**
@@ -200,7 +200,7 @@ class TDE_EXPORT ResourceCached : public ResourceCalendar,
/**
Add a Journal entry to calendar
*/
- KDE_DEPRECATED bool addJournal( Journal *journal );
+ TDE_DEPRECATED bool addJournal( Journal *journal );
bool addJournal( Journal *journal, const TQString &subresource );
/**
diff --git a/libkcal/resourcecalendar.h b/libkcal/resourcecalendar.h
index e4c97b5c6..845304212 100644
--- a/libkcal/resourcecalendar.h
+++ b/libkcal/resourcecalendar.h
@@ -144,7 +144,7 @@ class LIBKCAL_EXPORT ResourceCalendar : public KRES::Resource
Add incidence to resource.
@deprecated use addIncidence(Incidence *,const TQString &) instead.
*/
- virtual KDE_DEPRECATED bool addIncidence( Incidence * );
+ virtual TDE_DEPRECATED bool addIncidence( Incidence * );
/**
Add incidence to resource and subresource.
@@ -166,7 +166,7 @@ class LIBKCAL_EXPORT ResourceCalendar : public KRES::Resource
Add event to resource.
@deprecated use addEvent(Event *,const TQString&) instead.
*/
- virtual KDE_DEPRECATED bool addEvent( Event *event ) = 0;
+ virtual TDE_DEPRECATED bool addEvent( Event *event ) = 0;
virtual bool addEvent( Event *event, const TQString &subresource ) = 0;
/**
@@ -270,7 +270,7 @@ class LIBKCAL_EXPORT ResourceCalendar : public KRES::Resource
Add a todo to the todolist.
@deprecated use addTodo(Todo *,const TQString &) instead.
*/
- virtual KDE_DEPRECATED bool addTodo( Todo *todo ) = 0;
+ virtual TDE_DEPRECATED bool addTodo( Todo *todo ) = 0;
virtual bool addTodo( Todo *todo, const TQString &subresource ) = 0;
/**
@@ -297,7 +297,7 @@ class LIBKCAL_EXPORT ResourceCalendar : public KRES::Resource
Add a Journal entry to the resource.
@deprecated use addJournal(Journal *,const TQString &) instead.
*/
- virtual KDE_DEPRECATED bool addJournal( Journal * ) = 0;
+ virtual TDE_DEPRECATED bool addJournal( Journal * ) = 0;
virtual bool addJournal( Journal *journal, const TQString &subresource ) = 0;
/**
diff --git a/libkcal/scheduler.h b/libkcal/scheduler.h
index 4d97ab515..fe6c430a1 100644
--- a/libkcal/scheduler.h
+++ b/libkcal/scheduler.h
@@ -174,7 +174,7 @@ class LIBKCAL_EXPORT Scheduler
bool acceptRequest( IncidenceBase *, ScheduleMessage::Status status,
const TQString & attendee );
bool acceptAdd( IncidenceBase *, ScheduleMessage::Status status );
- KDE_DEPRECATED bool acceptCancel( IncidenceBase *, ScheduleMessage::Status status );
+ TDE_DEPRECATED bool acceptCancel( IncidenceBase *, ScheduleMessage::Status status );
bool acceptCancel( IncidenceBase *, ScheduleMessage::Status status,
const TQString & attendee );
bool acceptDeclineCounter( IncidenceBase *,
diff --git a/libkcal/todo.h b/libkcal/todo.h
index 74e1b39df..25e630455 100644
--- a/libkcal/todo.h
+++ b/libkcal/todo.h
@@ -68,7 +68,7 @@ class LIBKCAL_EXPORT Todo : public Incidence
settings.
@deprecated use IncidenceFormatter::timeToString()
*/
- KDE_DEPRECATED TQString dtDueTimeStr() const;
+ TDE_DEPRECATED TQString dtDueTimeStr() const;
/**
Returns due date as string formatted according to the users locale
@@ -78,14 +78,14 @@ class LIBKCAL_EXPORT Todo : public Incidence
long format.
@deprecated use IncidenceFormatter::dateToString()
*/
- KDE_DEPRECATED TQString dtDueDateStr( bool shortfmt = true ) const;
+ TDE_DEPRECATED TQString dtDueDateStr( bool shortfmt = true ) const;
/**
Returns due date and time as string formatted according to the users locale
settings.
@deprecated use IncidenceFormatter::dateTimeToString()
*/
- KDE_DEPRECATED TQString dtDueStr() const;
+ TDE_DEPRECATED TQString dtDueStr() const;
/**
Returns true if the todo has a due date, otherwise return false.