summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/kcal/resourcescalix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/scalix/kcal/resourcescalix.cpp')
-rw-r--r--kresources/scalix/kcal/resourcescalix.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/scalix/kcal/resourcescalix.cpp b/kresources/scalix/kcal/resourcescalix.cpp
index 645c5b88e..eeebb32f8 100644
--- a/kresources/scalix/kcal/resourcescalix.cpp
+++ b/kresources/scalix/kcal/resourcescalix.cpp
@@ -63,7 +63,7 @@ static const char* incidenceInlineMimeType = "text/calendar";
ResourceScalix::ResourceScalix( const KConfig *config )
: ResourceCalendar( config ), ResourceScalixBase( "ResourceScalix-libkcal" ),
- mCalendar( TQString::tqfromLatin1("UTC") ), mOpen( false )
+ mCalendar( TQString::fromLatin1("UTC") ), mOpen( false )
{
setType( "scalix" );
connect( &mResourceChangedTimer, TQT_SIGNAL( timeout() ),
@@ -268,8 +268,8 @@ bool ResourceScalix::doSave()
void ResourceScalix::incidenceUpdated( KCal::IncidenceBase* incidencebase )
{
if ( incidencebase->isReadOnly() ) return; // Should not happen (TM)
- incidencebase->setSynctqStatus( KCal::Event::SYNCMOD );
- incidencebase->setLastModified( TQDateTime::tqcurrentDateTime() );
+ incidencebase->setSyncStatus( KCal::Event::SYNCMOD );
+ incidencebase->setLastModified( TQDateTime::currentDateTime() );
// we should probably update the revision number here,
// or internally in the Event itself when certain things change.
// need to verify with ical documentation.
@@ -325,7 +325,7 @@ void ResourceScalix::resolveConflict( KCal::Incidence* inc, const TQString& subr
} else if ( result == 0 ) { // take both
localIncidence = local->clone();
localIncidence->recreate();
- localIncidence->setSummary( i18n("Copy of: %1").tqarg(localIncidence->summary()) );
+ localIncidence->setSummary( i18n("Copy of: %1").arg(localIncidence->summary()) );
addedIncidence = inc;
}
bool silent = mSilent;