summaryrefslogtreecommitdiffstats
path: root/kresources/kolab/kcal/incidence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/kolab/kcal/incidence.cpp')
-rw-r--r--kresources/kolab/kcal/incidence.cpp8
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() ) {