diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkcal/alarm.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-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.cpp')
-rw-r--r-- | libkcal/alarm.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libkcal/alarm.cpp b/libkcal/alarm.cpp index 8bc40f001..a860072da 100644 --- a/libkcal/alarm.cpp +++ b/libkcal/alarm.cpp @@ -29,8 +29,8 @@ using namespace KCal; -Alarm::Alarm(Incidence *parent) - : mParent(parent), +Alarm::Alarm(Incidence *tqparent) + : mParent(tqparent), mType(Invalid), mDescription(""), // to make operator==() not fail mFile(""), // to make operator==() not fail @@ -163,7 +163,7 @@ void Alarm::setAudioFile(const TQString &audioFile) TQString Alarm::audioFile() const { - return (mType == Audio) ? mFile : TQString::null; + return (mType == Audio) ? mFile : TQString(); } void Alarm::setProcedureAlarm(const TQString &programFile, const TQString &arguments) @@ -184,7 +184,7 @@ void Alarm::setProgramFile(const TQString &programFile) TQString Alarm::programFile() const { - return (mType == Procedure) ? mFile : TQString::null; + return (mType == Procedure) ? mFile : TQString(); } void Alarm::setProgramArguments(const TQString &arguments) @@ -197,7 +197,7 @@ void Alarm::setProgramArguments(const TQString &arguments) TQString Alarm::programArguments() const { - return (mType == Procedure) ? mDescription : TQString::null; + return (mType == Procedure) ? mDescription : TQString(); } void Alarm::setEmailAlarm(const TQString &subject, const TQString &text, @@ -251,7 +251,7 @@ void Alarm::setMailSubject(const TQString &mailAlarmSubject) TQString Alarm::mailSubject() const { - return (mType == Email) ? mMailSubject : TQString::null; + return (mType == Email) ? mMailSubject : TQString(); } void Alarm::setMailAttachment(const TQString &mailAttachFile) @@ -294,7 +294,7 @@ void Alarm::setMailText(const TQString &text) TQString Alarm::mailText() const { - return (mType == Email) ? mDescription : TQString::null; + return (mType == Email) ? mDescription : TQString(); } void Alarm::setDisplayAlarm(const TQString &text) @@ -315,7 +315,7 @@ void Alarm::setText(const TQString &text) TQString Alarm::text() const { - return (mType == Display) ? mDescription : TQString::null; + return (mType == Display) ? mDescription : TQString(); } void Alarm::setTime(const TQDateTime &alarmTime) @@ -476,9 +476,9 @@ Duration Alarm::endOffset() const return (mHasTime || !mEndOffset) ? Duration( 0 ) : mOffset; } -void Alarm::setParent( Incidence *parent ) +void Alarm::setParent( Incidence *tqparent ) { - mParent = parent; + mParent = tqparent; } void Alarm::customPropertyUpdated() |