summaryrefslogtreecommitdiffstats
path: root/libkcal/calendar.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /libkcal/calendar.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/calendar.cpp')
-rw-r--r--libkcal/calendar.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkcal/calendar.cpp b/libkcal/calendar.cpp
index 4ff7137e6..897e90175 100644
--- a/libkcal/calendar.cpp
+++ b/libkcal/calendar.cpp
@@ -474,7 +474,7 @@ bool Calendar::deleteIncidence( Incidence *incidence )
{
if ( beginChange( incidence ) ) {
if (incidence->hasRecurrenceID()) {
- // Delete this event's UID from the tqparent's list of tqchildren
+ // Delete this event's UID from the parent's list of tqchildren
Incidence *parentIncidence;
IncidenceList il = incidence->childIncidences();
IncidenceListIterator it;
@@ -841,7 +841,7 @@ void Calendar::setupRelations( Incidence *forincidence )
// kdDebug(5850) << "Calendar::setupRelations for incidence " << forincidence << " with UID " << forincidence->uid() << ", summary: " << forincidence->summary() << endl;
TQString uid = forincidence->uid();
- // First, go over the list of orphans and see if this is their tqparent
+ // First, go over the list of orphans and see if this is their parent
while ( Incidence* i = mOrphans[ uid ] ) {
mOrphans.remove( uid );
i->setRelatedTo( forincidence );
@@ -849,19 +849,19 @@ void Calendar::setupRelations( Incidence *forincidence )
mOrphanUids.remove( i->uid() );
}
- // Now see about this incidences tqparent
+ // Now see about this incidences parent
if ( !forincidence->relatedTo() && !forincidence->relatedToUid().isEmpty() ) {
// This incidence has a uid it is related to but is not registered to it yet
// Try to find it
- Incidence* tqparent = incidence( forincidence->relatedToUid() );
- if ( tqparent ) {
+ Incidence* parent = incidence( forincidence->relatedToUid() );
+ if ( parent ) {
// Found it
- forincidence->setRelatedTo( tqparent );
- tqparent->addRelation( forincidence );
+ forincidence->setRelatedTo( parent );
+ parent->addRelation( forincidence );
} else {
// Not found, put this in the mOrphans list
// Note that the mOrphans dict might have several entries with the same key! That are
- // multiple tqchildren that wait for the tqparent incidence to be inserted.
+ // multiple tqchildren that wait for the parent incidence to be inserted.
mOrphans.insert( forincidence->relatedToUid(), forincidence );
mOrphanUids.insert( forincidence->uid(), forincidence );
}
@@ -901,10 +901,10 @@ void Calendar::removeRelations( Incidence *incidence )
// Since the mOrphans dict might contain the same key (with different
// child incidence pointers!) multiple times, take care that we remove
// the correct one. So we need to remove all items with the given
- // tqparent UID, and readd those that are not for this item. Also, there
+ // parent UID, and readd those that are not for this item. Also, there
// might be other entries with differnet UID that point to this
// incidence (this might happen when the relatedTo of the item is
- // changed before its tqparent is inserted. This might happen with
+ // changed before its parent is inserted. This might happen with
// groupware servers....). Remove them, too
TQStringList relatedToUids;
// First get the list of all keys in the mOrphans list that point to the removed item