summaryrefslogtreecommitdiffstats
path: root/kpilot/lib/pilotDateEntry.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/lib/pilotDateEntry.h')
-rw-r--r--kpilot/lib/pilotDateEntry.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpilot/lib/pilotDateEntry.h b/kpilot/lib/pilotDateEntry.h
index d9d5db2a6..43601013d 100644
--- a/kpilot/lib/pilotDateEntry.h
+++ b/kpilot/lib/pilotDateEntry.h
@@ -34,9 +34,9 @@
#include <pi-macros.h>
#include <pi-datebook.h>
-#include <qbitarray.h>
-#include <qdatetime.h>
-#include <qnamespace.h>
+#include <tqbitarray.h>
+#include <tqdatetime.h>
+#include <tqnamespace.h>
#include "pilotRecord.h"
#include "pilotAppInfo.h"
@@ -94,7 +94,7 @@ public:
* If @p richText is true, then the text representation uses qt style
* tags as well.
*/
- QString getTextRepresentation(Qt::TextFormat richText);
+ TQString getTextRepresentation(Qt::TextFormat richText);
/** Is this appointment a "floating" appointment?
*
@@ -151,7 +151,7 @@ public:
* Floating appointments are those that have a day assigned, but no time
* in that day (birthday appointments are like that).
*/
- QDateTime dtStart() const;
+ TQDateTime dtStart() const;
/** Get the end time of this appointment. See dtEnd() for caveats. */
inline struct tm getEventEnd() const
@@ -177,7 +177,7 @@ public:
* Floating appointments are those that have a day assigned, but no time
* in that day (birthday appointments are like that).
*/
- QDateTime dtEnd() const;
+ TQDateTime dtEnd() const;
/** Does this appointment have an alarm set? On the Pilot, an event
* may have an alarm (or not). If it has one, it is also enabled and
@@ -235,7 +235,7 @@ public:
/** Returns the absolute date and time that the alarm should sound for
* this appointment.
*/
- inline QDateTime dtAlarm() const
+ inline TQDateTime dtAlarm() const
{
return dtStart().addSecs(-alarmLeadTime());
}
@@ -271,7 +271,7 @@ public:
/** Returns the date and time that the repeat ends. If there is no repeat,
* returns an invalid date and time.
*/
- QDateTime dtRepeatEnd() const;
+ TQDateTime dtRepeatEnd() const;
inline int getRepeatFrequency() const
{
@@ -302,7 +302,7 @@ public:
fAppointmentInfo.repeatDays[i] = rd[i];
}
}
- inline void setRepeatDays(QBitArray rba)
+ inline void setRepeatDays(TQBitArray rba)
{
for (int i = 0; i < 7; i++)
{
@@ -329,17 +329,17 @@ public:
* entered in the day view on the handheld, and it is called the summary
* in libkcal.
*/
- void setDescription(const QString &);
+ void setDescription(const TQString &);
/** Gets the description of the appointment. See setDescription for meaning. */
- QString getDescription() const;
+ TQString getDescription() const;
/** Sets the note for the appointment. The note is the long text entry
* that is possible - but clumsy - on the handheld. It is called the
* description in libkcal.
*/
- void setNote(const QString &);
+ void setNote(const TQString &);
/** Gets the note for this appointment. See setNote for meaning. */
- QString getNote() const;
+ TQString getNote() const;
/**
* Sets the location for the appointment. For now it will be placed within
@@ -348,10 +348,10 @@ public:
* TODO: Make distinguish between handhelds that support the location field
* and the ones that don't. (Shouldn't this be done in the pilot-link lib?)
*/
- void setLocation(const QString &);
+ void setLocation(const TQString &);
/** Gets the location for this appointment. See setNote for meaning. */
- QString getLocation() const;
+ TQString getLocation() const;
protected:
void setDescriptionP(const char* desc, int l=-1);