summaryrefslogtreecommitdiffstats
path: root/libkcal/incidence.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkcal/incidence.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/incidence.h')
-rw-r--r--libkcal/incidence.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libkcal/incidence.h b/libkcal/incidence.h
index 883d08c86..bfb883fd2 100644
--- a/libkcal/incidence.h
+++ b/libkcal/incidence.h
@@ -38,8 +38,8 @@ namespace KCal {
class Calendar;
-typedef QStringList IncidenceList;
-typedef QStringList::iterator IncidenceListIterator;
+typedef TQStringList IncidenceList;
+typedef TQStringList::iterator IncidenceListIterator;
/**
This class provides the base class common to all calendar components.
@@ -114,7 +114,7 @@ class LIBKCAL_EXPORT Incidence : public IncidenceBase, public Recurrence::Observ
};
/** Enumeration for describing an event's status. */
- enum Status {
+ enum tqStatus {
StatusNone, StatusTentative, StatusConfirmed, StatusCompleted,
StatusNeedsAction, StatusCanceled, StatusInProcess, StatusDraft,
StatusFinal,
@@ -352,7 +352,7 @@ class LIBKCAL_EXPORT Incidence : public IncidenceBase, public Recurrence::Observ
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-// %%%%% Secrecy and Status methods
+// %%%%% Secrecy and tqStatus methods
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/**
@@ -381,17 +381,17 @@ class LIBKCAL_EXPORT Incidence : public IncidenceBase, public Recurrence::Observ
Sets the incidence status to a standard status value. See
separate enum. Note that StatusX cannot be specified.
*/
- void seStatus( Status status );
+ void setqStatus( tqStatus status );
/**
Sets the incidence status to a non-standard status value.
@param status non-standard status string. If empty,
the incidence status will be set to StatusNone.
*/
- void setCustomStatus( const TQString &status );
+ void setCustomtqStatus( const TQString &status );
/**
Return the event's status.
*/
- Status status() const;
+ tqStatus status() const;
/**
Return the event's status string.
*/
@@ -399,7 +399,7 @@ class LIBKCAL_EXPORT Incidence : public IncidenceBase, public Recurrence::Observ
/**
Return human-readable translated name of status value.
*/
- static TQString statusName( Status );
+ static TQString statusName( tqStatus );
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -459,14 +459,14 @@ class LIBKCAL_EXPORT Incidence : public IncidenceBase, public Recurrence::Observ
TQDateTime recurrenceID() const;
/**
- Attach a child incidence to a parent incidence.
+ Attach a child incidence to a tqparent incidence.
@param childIncidence is the child incidence to add
@since 3.5.12
*/
void addChildIncidence( TQString childIncidence );
/**
- Detach a child incidence from its parent incidence.
+ Detach a child incidence from its tqparent incidence.
@param childIncidence is the child incidence to remove
@since 3.5.12
*/
@@ -566,7 +566,7 @@ class LIBKCAL_EXPORT Incidence : public IncidenceBase, public Recurrence::Observ
TQStringList mResources;
TQString mStatusString;
- Status mStatus;
+ tqStatus mtqStatus;
int mSecrecy;
int mPriority; // 1 = highest, 2 = less, etc.