summaryrefslogtreecommitdiffstats
path: root/kresources/kolab/kabc/contact.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 04:24:39 +0200
commitad4317e2e02c018dcfb6c49259cfdf580637f5bd (patch)
tree4ff3110491ed677d979aca9a5711507195a66715 /kresources/kolab/kabc/contact.cpp
parente3649f744289c180537d2d8474dc0e39050e654f (diff)
downloadtdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.tar.gz
tdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 716a5de8870d7c02bb4d0aed72f30291b17b763a)
Diffstat (limited to 'kresources/kolab/kabc/contact.cpp')
-rw-r--r--kresources/kolab/kabc/contact.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kresources/kolab/kabc/contact.cpp b/kresources/kolab/kabc/contact.cpp
index 85e5e270..fd2af9d5 100644
--- a/kresources/kolab/kabc/contact.cpp
+++ b/kresources/kolab/kabc/contact.cpp
@@ -293,12 +293,12 @@ TQDate Contact::anniversary() const
return mAnniversary;
}
-void Contact::setChildren( const TQString& tqchildren )
+void Contact::setChildren( const TQString& children )
{
- mChildren = tqchildren;
+ mChildren = children;
}
-TQString Contact::tqchildren() const
+TQString Contact::children() const
{
return mChildren;
}
@@ -619,7 +619,7 @@ bool Contact::loadAttribute( TQDomElement& element )
}
break;
case 'c':
- if ( tagName == "tqchildren" ) {
+ if ( tagName == "children" ) {
setChildren( element.text() );
return true;
}
@@ -798,7 +798,7 @@ bool Contact::saveAttributes( TQDomElement& element ) const
writeString( element, "x-logo", mLogoAttachmentName );
if ( !sound().isNull() )
writeString( element, "x-sound", mSoundAttachmentName );
- writeString( element, "tqchildren", tqchildren() );
+ writeString( element, "children", children() );
writeString( element, "gender", gender() );
writeString( element, "language", language() );
savePhoneAttributes( element );
@@ -1146,7 +1146,7 @@ void Contact::setFields( const KABC::Addressee* addressee )
// mailer, timezone, productId, sortString, agent, rfc2426 name()
// Things KAddressBook can't handle, so they are saved as unhandled tags:
- // initials, tqchildren, gender, language
+ // initials, children, gender, language
}
// The loading is: xml -> Contact -> addressee, this is the second part