summaryrefslogtreecommitdiffstats
path: root/libkcal/alarm.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/alarm.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/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 893e7be4..fc85e96f 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:
/**