summaryrefslogtreecommitdiffstats
path: root/libkcal/alarm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/alarm.h')
-rw-r--r--libkcal/alarm.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libkcal/alarm.h b/libkcal/alarm.h
index 893e7be41..fc85e96f7 100644
--- a/libkcal/alarm.h
+++ b/libkcal/alarm.h
@@ -52,7 +52,7 @@ class LIBKCAL_EXPORT Alarm : public CustomProperties
/**
Construct a new alarm with variables initialized to "sane" values.
*/
- explicit Alarm( Incidence *parent );
+ explicit Alarm( Incidence *tqparent );
/**
Destruct Alarm object.
*/
@@ -95,7 +95,7 @@ class LIBKCAL_EXPORT Alarm : public CustomProperties
@param text text to display when the alarm is triggered.
*/
- void setDisplayAlarm( const TQString &text = TQString::null );
+ void setDisplayAlarm( const TQString &text = TQString() );
/**
Set the text to be displayed when the alarm is triggered.
@@ -113,7 +113,7 @@ class LIBKCAL_EXPORT Alarm : public CustomProperties
@param audioFile optional file to play when the alarm is triggered.
*/
- void setAudioAlarm( const TQString &audioFile = TQString::null );
+ void setAudioAlarm( const TQString &audioFile = TQString() );
/**
Set the file to play when the audio alarm is triggered.
Ignored if the alarm is not an audio alarm.
@@ -122,7 +122,7 @@ class LIBKCAL_EXPORT Alarm : public CustomProperties
/**
Return the name of the audio file for the alarm.
- @return The audio file for the alarm, or TQString::null if not an audio alarm.
+ @return The audio file for the alarm, or TQString() if not an audio alarm.
*/
TQString audioFile() const;
@@ -133,7 +133,7 @@ class LIBKCAL_EXPORT Alarm : public CustomProperties
@param arguments arguments to supply to programFile.
*/
void setProcedureAlarm( const TQString &programFile,
- const TQString &arguments = TQString::null );
+ const TQString &arguments = TQString() );
/**
Set the program file to execute when the alarm is triggered.
Ignored if the alarm is not a procedure alarm.
@@ -142,7 +142,7 @@ class LIBKCAL_EXPORT Alarm : public CustomProperties
/**
Return the name of the program file to execute when the alarm is triggered.
- @return the program file name, or TQString::null if not a procedure alarm.
+ @return the program file name, or TQString() if not a procedure alarm.
*/
TQString programFile() const;
/**
@@ -153,7 +153,7 @@ class LIBKCAL_EXPORT Alarm : public CustomProperties
/**
Return the arguments to the program to run when the alarm is triggered.
- @return the program arguments, or TQString::null if not a procedure alarm.
+ @return the program arguments, or TQString() if not a procedure alarm.
*/
TQString programArguments() const;
@@ -227,7 +227,7 @@ class LIBKCAL_EXPORT Alarm : public CustomProperties
/**
Return the email body text.
- @return the body text, or TQString::null if not an email alarm.
+ @return the body text, or TQString() if not an email alarm.
*/
TQString mailText() const;
@@ -342,13 +342,13 @@ class LIBKCAL_EXPORT Alarm : public CustomProperties
bool enabled() const;
/**
- Set the alarm's parent incidence.
+ Set the alarm's tqparent incidence.
*/
void setParent( Incidence * );
/**
- Get the alarm's parent incidence.
+ Get the alarm's tqparent incidence.
*/
- Incidence *parent() const { return mParent; }
+ Incidence *tqparent() const { return mParent; }
protected:
/**