summaryrefslogtreecommitdiffstats
path: root/libkcal/resourcecalendar.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/resourcecalendar.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/resourcecalendar.cpp')
-rw-r--r--libkcal/resourcecalendar.cpp28
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();
}