summaryrefslogtreecommitdiffstats
path: root/kalarm/kalarmiface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/kalarmiface.h')
-rw-r--r--kalarm/kalarmiface.h126
1 files changed, 63 insertions, 63 deletions
diff --git a/kalarm/kalarmiface.h b/kalarm/kalarmiface.h
index cd3aaf0cc..2654072ee 100644
--- a/kalarm/kalarmiface.h
+++ b/kalarm/kalarmiface.h
@@ -26,7 +26,7 @@
// No forward declarations - dcopidl2cpp won't work
#include <dcopobject.h>
#include <kurl.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
class QString;
/** KAlarmIface provides a DCOP interface for other applications to request
@@ -88,7 +88,7 @@ class KAlarmIface : virtual public DCOPObject
* current calendar file.
* @param eventId - The unique ID of the event to be cancelled, as stored in the calendar file @p url.
*/
- virtual bool cancelEvent(const QString& url, const QString& eventId) = 0;
+ virtual bool cancelEvent(const TQString& url, const TQString& eventId) = 0;
/** Trigger the immediate display or execution of an alarm, regardless of what time it is scheduled for.
* @param url - The URL (not path) of the calendar file containing the event to be triggered.
@@ -96,22 +96,22 @@ class KAlarmIface : virtual public DCOPObject
* current calendar file.
* @param eventId - The unique ID of the event to be triggered, as stored in the calendar file @p url.
*/
- virtual bool triggerEvent(const QString& url, const QString& eventId) = 0;
+ virtual bool triggerEvent(const TQString& url, const TQString& eventId) = 0;
/** Schedule a message display alarm.
* @param message The text of the message to display.
* @param startDateTime Start date/time, in the format YYYY-MM-DD[THH:MM[:SS]] or [T]HH:MM[:SS]
* @param lateCancel Late-cancellation period in minutes, or 0 for no cancellation.
* @param flags OR of flag bits defined in Flags enum.
- * @param bgColor The background colour for the alarm message window, or QString::null for the
+ * @param bgColor The background colour for the alarm message window, or TQString::null for the
* current default background colour. The string may be in any of the formats
- * accepted by QColor::QColor(const QString&).
- * @param fgColor The foreground colour for the alarm message, or QString::null for the current
+ * accepted by TQColor::TQColor(const TQString&).
+ * @param fgColor The foreground colour for the alarm message, or TQString::null for the current
* default foreground colour. The format of the string is the same as for @p bgColor.
- * @param font The font for the alarm message, or QString::null for the default message font
+ * @param font The font for the alarm message, or TQString::null for the default message font
* current at the time the message is displayed. The string should be in format
- * returned by QFont::toString().
- * @param audioFile The audio file to play when the alarm is displayed, or QString::null for none.
+ * returned by TQFont::toString().
+ * @param audioFile The audio file to play when the alarm is displayed, or TQString::null for none.
* @param reminderMins The number of minutes in advance of the main alarm and its recurrences to display
* a reminder alarm, or 0 for no reminder.
* @param recurrence Recurrence specification using iCalendar syntax (defined in RFC2445).
@@ -119,24 +119,24 @@ class KAlarmIface : virtual public DCOPObject
* @param repeatCount Simple repetition repeat count (after the first occurrence), or 0 for no sub-repetition.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleMessage(const QString& message, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& bgColor, const QString& fgColor, const QString& font,
- const KURL& audioFile, int reminderMins, const QString& recurrence,
+ virtual bool scheduleMessage(const TQString& message, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& bgColor, const TQString& fgColor, const TQString& font,
+ const KURL& audioFile, int reminderMins, const TQString& recurrence,
int repeatInterval, int repeatCount) = 0;
/** Schedule a message display alarm.
* @param message The text of the message to display.
* @param startDateTime Start date/time, in the format YYYY-MM-DD[THH:MM[:SS]] or [T]HH:MM[:SS]
* @param lateCancel Late-cancellation period in minutes, or 0 for no cancellation.
* @param flags OR of flag bits defined in Flags enum.
- * @param bgColor The background colour for the alarm message window, or QString::null for the
+ * @param bgColor The background colour for the alarm message window, or TQString::null for the
* current default background colour. The string may be in any of the formats
- * accepted by QColor::QColor(const QString&).
- * @param fgColor The foreground colour for the alarm message, or QString::null for the current
+ * accepted by TQColor::TQColor(const TQString&).
+ * @param fgColor The foreground colour for the alarm message, or TQString::null for the current
* default foreground colour. The format of the string is the same as for @p bgColor.
- * @param font The font for the alarm message, or QString::null for the default message font
+ * @param font The font for the alarm message, or TQString::null for the default message font
* current at the time the message is displayed. The string should be in format
- * returned by QFont::toString().
- * @param audioFile The audio file to play when the alarm is displayed, or QString::null for none.
+ * returned by TQFont::toString().
+ * @param audioFile The audio file to play when the alarm is displayed, or TQString::null for none.
* @param reminderMins The number of minutes in advance of the main alarm and its recurrences to display
* a reminder alarm, or 0 for no reminder.
* @param repeatType The time units to use for recurrence. The actual recurrence interval is equal to
@@ -146,8 +146,8 @@ class KAlarmIface : virtual public DCOPObject
* @param repeatCount Recurrence count (after the first occurrence), or 0 for no recurrence.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleMessage(const QString& message, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& bgColor, const QString& fgColor, const QString& font,
+ virtual bool scheduleMessage(const TQString& message, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& bgColor, const TQString& fgColor, const TQString& font,
const KURL& audioFile, int reminderMins,
int repeatType, int repeatInterval, int repeatCount) = 0;
/** Schedule a message display alarm.
@@ -155,15 +155,15 @@ class KAlarmIface : virtual public DCOPObject
* @param startDateTime Start date/time, in the format YYYY-MM-DD[THH:MM[:SS]] or [T]HH:MM[:SS]
* @param lateCancel Late-cancellation period in minutes, or 0 for no cancellation.
* @param flags OR of flag bits defined in Flags enum.
- * @param bgColor The background colour for the alarm message window, or QString::null for the
+ * @param bgColor The background colour for the alarm message window, or TQString::null for the
* current default background colour. The string may be in any of the formats
- * accepted by QColor::QColor(const QString&).
- * @param fgColor The foreground colour for the alarm message, or QString::null for the current
+ * accepted by TQColor::TQColor(const TQString&).
+ * @param fgColor The foreground colour for the alarm message, or TQString::null for the current
* default foreground colour. The format of the string is the same as for @p bgColor.
- * @param font The font for the alarm message, or QString::null for the default message font
+ * @param font The font for the alarm message, or TQString::null for the default message font
* current at the time the message is displayed. The string should be in format
- * returned by QFont::toString().
- * @param audioFile The audio file to play when the alarm is displayed, or QString::null for none.
+ * returned by TQFont::toString().
+ * @param audioFile The audio file to play when the alarm is displayed, or TQString::null for none.
* @param reminderMins The number of minutes in advance of the main alarm and its recurrences to display
* a reminder alarm, or 0 for no reminder.
* @param repeatType The time units to use for recurrence. The actual recurrence interval is equal to
@@ -173,20 +173,20 @@ class KAlarmIface : virtual public DCOPObject
* @param endDateTime Date/time after which the recurrence will end.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleMessage(const QString& message, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& bgColor, const QString& fgColor, const QString& font,
+ virtual bool scheduleMessage(const TQString& message, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& bgColor, const TQString& fgColor, const TQString& font,
const KURL& audioFile, int reminderMins,
- int repeatType, int repeatInterval, const QString& endDateTime) = 0;
+ int repeatType, int repeatInterval, const TQString& endDateTime) = 0;
/** Schedule a file display alarm.
* @param file The text or image file to display.
* @param startDateTime Start date/time, in the format YYYY-MM-DD[THH:MM[:SS]] or [T]HH:MM[:SS]
* @param lateCancel Late-cancellation period in minutes, or 0 for no cancellation.
* @param flags OR of flag bits defined in Flags enum.
- * @param bgColor The background colour for the alarm message window, or QString::null for the
+ * @param bgColor The background colour for the alarm message window, or TQString::null for the
* current default background colour. The string may be in any of the formats
- * accepted by QColor::QColor(const QString&).
- * @param audioFile The audio file to play when the alarm is displayed, or QString::null for none.
+ * accepted by TQColor::TQColor(const TQString&).
+ * @param audioFile The audio file to play when the alarm is displayed, or TQString::null for none.
* @param reminderMins The number of minutes in advance of the main alarm and its recurrences to display
* a reminder alarm, or 0 for no reminder.
* @param recurrence Recurrence specification using iCalendar syntax (defined in RFC2445).
@@ -194,18 +194,18 @@ class KAlarmIface : virtual public DCOPObject
* @param repeatCount Simple repetition repeat count (after the first occurrence), or 0 for no sub-repetition.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleFile(const KURL& file, const QString& startDateTime, int lateCancel, unsigned flags, const QString& bgColor,
- const KURL& audioFile, int reminderMins, const QString& recurrence,
+ virtual bool scheduleFile(const KURL& file, const TQString& startDateTime, int lateCancel, unsigned flags, const TQString& bgColor,
+ const KURL& audioFile, int reminderMins, const TQString& recurrence,
int repeatInterval, int repeatCount) = 0;
/** Schedule a file display alarm.
* @param file The text or image file to display.
* @param startDateTime Start date/time, in the format YYYY-MM-DD[THH:MM[:SS]] or [T]HH:MM[:SS]
* @param lateCancel Late-cancellation period in minutes, or 0 for no cancellation.
* @param flags OR of flag bits defined in Flags enum.
- * @param bgColor The background colour for the alarm message window, or QString::null for the
+ * @param bgColor The background colour for the alarm message window, or TQString::null for the
* current default background colour. The string may be in any of the formats
- * accepted by QColor::QColor(const QString&).
- * @param audioFile The audio file to play when the alarm is displayed, or QString::null for none.
+ * accepted by TQColor::TQColor(const TQString&).
+ * @param audioFile The audio file to play when the alarm is displayed, or TQString::null for none.
* @param reminderMins The number of minutes in advance of the main alarm and its recurrences to display
* a reminder alarm, or 0 for no reminder.
* @param repeatType The time units to use for recurrence. The actual recurrence interval is equal to
@@ -215,17 +215,17 @@ class KAlarmIface : virtual public DCOPObject
* @param repeatCount Recurrence count (after the first occurrence), or 0 for no recurrence.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleFile(const KURL& file, const QString& startDateTime, int lateCancel, unsigned flags, const QString& bgColor,
+ virtual bool scheduleFile(const KURL& file, const TQString& startDateTime, int lateCancel, unsigned flags, const TQString& bgColor,
const KURL& audioFile, int reminderMins, int repeatType, int repeatInterval, int repeatCount) = 0;
/** Schedule a file display alarm.
* @param file The text or image file to display.
* @param startDateTime Start date/time, in the format YYYY-MM-DD[THH:MM[:SS]] or [T]HH:MM[:SS]
* @param lateCancel Late-cancellation period in minutes, or 0 for no cancellation.
* @param flags OR of flag bits defined in Flags enum.
- * @param bgColor The background colour for the alarm message window, or QString::null for the
+ * @param bgColor The background colour for the alarm message window, or TQString::null for the
* current default background colour. The string may be in any of the formats
- * accepted by QColor::QColor(const QString&).
- * @param audioFile The audio file to play when the alarm is displayed, or QString::null for none.
+ * accepted by TQColor::TQColor(const TQString&).
+ * @param audioFile The audio file to play when the alarm is displayed, or TQString::null for none.
* @param reminderMins The number of minutes in advance of the main alarm and its recurrences to display
* a reminder alarm, or 0 for no reminder.
* @param repeatType The time units to use for recurrence. The actual recurrence interval is equal to
@@ -235,9 +235,9 @@ class KAlarmIface : virtual public DCOPObject
* @param endDateTime Date/time after which the recurrence will end.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleFile(const KURL& file, const QString& startDateTime, int lateCancel, unsigned flags, const QString& bgColor,
+ virtual bool scheduleFile(const KURL& file, const TQString& startDateTime, int lateCancel, unsigned flags, const TQString& bgColor,
const KURL& audioFile, int reminderMins,
- int repeatType, int repeatInterval, const QString& endDateTime) = 0;
+ int repeatType, int repeatInterval, const TQString& endDateTime) = 0;
/** Schedule a command execution alarm.
* @param commandLine The command line or command script to execute.
@@ -249,8 +249,8 @@ class KAlarmIface : virtual public DCOPObject
* @param repeatCount Simple repetition repeat count (after the first occurrence), or 0 for no sub-repetition.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleCommand(const QString& commandLine, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& recurrence, int repeatInterval, int repeatCount) = 0;
+ virtual bool scheduleCommand(const TQString& commandLine, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& recurrence, int repeatInterval, int repeatCount) = 0;
/** Schedule a command execution alarm.
* @param commandLine The command line or command script to execute.
* @param startDateTime Start date/time, in the format YYYY-MM-DD[THH:MM[:SS]] or [T]HH:MM[:SS]
@@ -263,7 +263,7 @@ class KAlarmIface : virtual public DCOPObject
* @param repeatCount Recurrence count (after the first occurrence), or 0 for no recurrence.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleCommand(const QString& commandLine, const QString& startDateTime, int lateCancel, unsigned flags,
+ virtual bool scheduleCommand(const TQString& commandLine, const TQString& startDateTime, int lateCancel, unsigned flags,
int repeatType, int repeatInterval, int repeatCount) = 0;
/** Schedule a command execution alarm.
* @param commandLine The command line or command script to execute.
@@ -277,11 +277,11 @@ class KAlarmIface : virtual public DCOPObject
* @param endDateTime Date/time after which the recurrence will end.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleCommand(const QString& commandLine, const QString& startDateTime, int lateCancel, unsigned flags,
- int repeatType, int repeatInterval, const QString& endDateTime) = 0;
+ virtual bool scheduleCommand(const TQString& commandLine, const TQString& startDateTime, int lateCancel, unsigned flags,
+ int repeatType, int repeatInterval, const TQString& endDateTime) = 0;
/** Schedule an email alarm.
- * @param fromID The KMail identity to use as the sender of the email, or QString::null to use KAlarm's default sender ID.
+ * @param fromID The KMail identity to use as the sender of the email, or TQString::null to use KAlarm's default sender ID.
* @param addresses Comma-separated list of addresses to send the email to.
* @param subject Subject line of the email.
* @param message Email message's body text.
@@ -295,11 +295,11 @@ class KAlarmIface : virtual public DCOPObject
* @param repeatCount Simple repetition repeat count (after the first occurrence), or 0 for no sub-repetition.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleEmail(const QString& fromID, const QString& addresses, const QString& subject, const QString& message,
- const QString& attachments, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& recurrence, int repeatInterval, int repeatCount) = 0;
+ virtual bool scheduleEmail(const TQString& fromID, const TQString& addresses, const TQString& subject, const TQString& message,
+ const TQString& attachments, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& recurrence, int repeatInterval, int repeatCount) = 0;
/** Schedule an email alarm.
- * @param fromID The KMail identity to use as the sender of the email, or QString::null to use KAlarm's default sender ID.
+ * @param fromID The KMail identity to use as the sender of the email, or TQString::null to use KAlarm's default sender ID.
* @param addresses Comma-separated list of addresses to send the email to.
* @param subject Subject line of the email.
* @param message Email message's body text.
@@ -315,11 +315,11 @@ class KAlarmIface : virtual public DCOPObject
* @param repeatCount Recurrence count (after the first occurrence), or 0 for no recurrence.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleEmail(const QString& fromID, const QString& addresses, const QString& subject, const QString& message,
- const QString& attachments, const QString& startDateTime, int lateCancel, unsigned flags,
+ virtual bool scheduleEmail(const TQString& fromID, const TQString& addresses, const TQString& subject, const TQString& message,
+ const TQString& attachments, const TQString& startDateTime, int lateCancel, unsigned flags,
int repeatType, int repeatInterval, int repeatCount) = 0;
/** Schedule an email alarm.
- * @param fromID The KMail identity to use as the sender of the email, or QString::null to use KAlarm's default sender ID.
+ * @param fromID The KMail identity to use as the sender of the email, or TQString::null to use KAlarm's default sender ID.
* @param addresses Comma-separated list of addresses to send the email to.
* @param subject Subject line of the email.
* @param message Email message's body text.
@@ -335,21 +335,21 @@ class KAlarmIface : virtual public DCOPObject
* @param endDateTime Date/time after which the recurrence will end.
* @return true if alarm was scheduled successfully, false if configuration errors were found.
*/
- virtual bool scheduleEmail(const QString& fromID, const QString& addresses, const QString& subject, const QString& message,
- const QString& attachments, const QString& startDateTime, int lateCancel, unsigned flags,
- int repeatType, int repeatInterval, const QString& endDateTime) = 0;
+ virtual bool scheduleEmail(const TQString& fromID, const TQString& addresses, const TQString& subject, const TQString& message,
+ const TQString& attachments, const TQString& startDateTime, int lateCancel, unsigned flags,
+ int repeatType, int repeatInterval, const TQString& endDateTime) = 0;
/** Open the alarm edit dialog to edit an existing alarm.
- * @param eventId The unique ID of the event to be edited, or QString::null to create a new alarm.
+ * @param eventId The unique ID of the event to be edited, or TQString::null to create a new alarm.
* @return false if the alarm could not be found or is read-only, true otherwise.
*/
- virtual bool edit(const QString& eventID) = 0;
+ virtual bool edit(const TQString& eventID) = 0;
/** Open the alarm edit dialog to edit a new alarm.
- * @param templateName Name of the alarm template to base the new alarm on, or QString::null if none.
+ * @param templateName Name of the alarm template to base the new alarm on, or TQString::null if none.
* If a template is specified but cannot be found, the alarm edit dialog is still
* opened but is (obviously) not preset with the template.
* @return false if an alarm template was specified but could not be found, true otherwise.
*/
- virtual bool editNew(const QString& templateName) = 0;
+ virtual bool editNew(const TQString& templateName) = 0;
};
#endif // KALARMIFACE_H