diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /kresources/kolab/kcal/incidence.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/kolab/kcal/incidence.cpp')
-rw-r--r-- | kresources/kolab/kcal/incidence.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/kolab/kcal/incidence.cpp b/kresources/kolab/kcal/incidence.cpp index de076eb98..060b9b93f 100644 --- a/kresources/kolab/kcal/incidence.cpp +++ b/kresources/kolab/kcal/incidence.cpp @@ -49,7 +49,7 @@ using namespace Kolab; -Incidence::Incidence( KCal::ResourceKolab *res, const TQString &subResource, Q_UINT32 sernum, +Incidence::Incidence( KCal::ResourceKolab *res, const TQString &subResource, TQ_UINT32 sernum, const TQString& tz ) : KolabBase( tz ), mFloatingStatus( Unset ), mHasAlarm( false ), mResource( res ), @@ -175,7 +175,7 @@ bool Incidence::loadAttendeeAttribute( TQDomElement& element, TQString tagName = e.tagName(); if ( tagName == "display-name" ) { - // Quote the text in case it contains commas or other quotable chars. + // Quote the text in case it tqcontains commas or other quotable chars. TQString tusername = KPIM::quoteNameIfNecessary( e.text() ); TQString tname, temail; @@ -559,7 +559,7 @@ bool Incidence::saveAttributes( TQDomElement& element ) const saveAttachments( element ); if ( mHasAlarm ) { // Alarms should be minutes before. Libkcal uses event time + alarm time - int alarmTime = qRound( -alarm() ); + int alarmTime = tqRound( -alarm() ); writeString( element, "alarm", TQString::number( alarmTime ) ); } saveAlarms( element ); @@ -900,7 +900,7 @@ void Incidence::saveTo( KCal::Incidence* incidence ) if ( mHasAlarm && mAlarms.isEmpty() ) { KCal::Alarm* alarm = incidence->newAlarm(); - alarm->setStartOffset( qRound( mAlarm * 60.0 ) ); + alarm->setStartOffset( tqRound( mAlarm * 60.0 ) ); alarm->setEnabled( true ); alarm->setType( KCal::Alarm::Display ); } else if ( !mAlarms.isEmpty() ) { |