diff options
Diffstat (limited to 'libkcal/resourcecalendar.cpp')
-rw-r--r-- | libkcal/resourcecalendar.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libkcal/resourcecalendar.cpp b/libkcal/resourcecalendar.cpp index 0b994a262..c008f0308 100644 --- a/libkcal/resourcecalendar.cpp +++ b/libkcal/resourcecalendar.cpp @@ -45,15 +45,15 @@ void ResourceCalendar::setResolveConflict( bool b) { mResolveConflict = b; } -QString ResourceCalendar::infoText() const +TQString ResourceCalendar::infoText() const { - QString txt; + TQString txt; txt += "<b>" + resourceName() + "</b>"; txt += "<br>"; KRES::Factory *factory = KRES::Factory::self( "calendar" ); - QString t = factory->typeName( type() ); + TQString t = factory->typeName( type() ); txt += i18n("Type: %1").arg( t ); addInfoText( txt ); @@ -68,7 +68,7 @@ void ResourceCalendar::writeConfig( KConfig* config ) KRES::Resource::writeConfig( config ); } -Incidence *ResourceCalendar::incidence( const QString &uid ) +Incidence *ResourceCalendar::incidence( const TQString &uid ) { Incidence *i = event( uid ); if ( i ) return i; @@ -95,16 +95,16 @@ Incidence::List ResourceCalendar::rawIncidences() return Calendar::mergeIncidenceList( rawEvents(), rawTodos(), rawJournals() ); } -void ResourceCalendar::setSubresourceActive( const QString &, bool ) +void ResourceCalendar::setSubresourceActive( const TQString &, bool ) { } -bool ResourceCalendar::addSubresource( const QString &, const QString & ) +bool ResourceCalendar::addSubresource( const TQString &, const TQString & ) { return true; } -bool ResourceCalendar::removeSubresource( const QString & ) +bool ResourceCalendar::removeSubresource( const TQString & ) { return true; } @@ -140,13 +140,13 @@ bool ResourceCalendar::load() return success; } -void ResourceCalendar::loadError( const QString &err ) +void ResourceCalendar::loadError( const TQString &err ) { kdDebug(5800) << "Error loading resource: " << err << endl; mReceivedLoadError = true; - QString msg = i18n("Error while loading %1.\n") .arg( resourceName() ); + TQString msg = i18n("Error while loading %1.\n") .arg( resourceName() ); if ( !err.isEmpty() ) { msg += err; } @@ -177,28 +177,28 @@ bool ResourceCalendar::doSave( Incidence * ) return doSave(); } -void ResourceCalendar::saveError( const QString &err ) +void ResourceCalendar::saveError( const TQString &err ) { kdDebug(5800) << "Error saving resource: " << err << endl; mReceivedSaveError = true; - QString msg = i18n("Error while saving %1.\n") .arg( resourceName() ); + TQString msg = i18n("Error while saving %1.\n") .arg( resourceName() ); if ( !err.isEmpty() ) { msg += err; } emit resourceSaveError( this, msg ); } -bool ResourceCalendar::setValue( const QString &key, const QString &value ) +bool ResourceCalendar::setValue( const TQString &key, const TQString &value ) { return false; } -QString ResourceCalendar::subresourceType( const QString &resource ) +TQString ResourceCalendar::subresourceType( const TQString &resource ) { Q_UNUSED( resource ); - return QString(); + return TQString(); } |