diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kplato/kptcalendar.cc | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kplato/kptcalendar.cc')
-rw-r--r-- | kplato/kptcalendar.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kplato/kptcalendar.cc b/kplato/kptcalendar.cc index 9412f30e..486c3dac 100644 --- a/kplato/kptcalendar.cc +++ b/kplato/kptcalendar.cc @@ -507,9 +507,9 @@ Calendar::Calendar() init(); } -Calendar::Calendar(TQString name, Calendar *tqparent) +Calendar::Calendar(TQString name, Calendar *parent) : m_name(name), - m_parent(tqparent), + m_parent(parent), m_project(0), m_deleted(false), m_days() { @@ -531,7 +531,7 @@ Calendar::Calendar(Calendar *calendar) const Calendar &Calendar::copy(Calendar &calendar) { m_name = calendar.name(); - m_parent = calendar.tqparent(); + m_parent = calendar.parent(); m_deleted = calendar.isDeleted(); m_id = calendar.id(); @@ -605,9 +605,9 @@ bool Calendar::load(TQDomElement &element) { //kdDebug()<<k_funcinfo<<element.text()<<endl; //bool ok; setId(element.attribute("id")); - m_parentId = element.attribute("tqparent"); + m_parentId = element.attribute("parent"); m_name = element.attribute("name",""); - //TODO tqparent + //TODO parent TQDomNodeList list = element.childNodes(); for (unsigned int i=0; i<list.count(); ++i) { @@ -651,7 +651,7 @@ void Calendar::save(TQDomElement &element) const { TQDomElement me = element.ownerDocument().createElement("calendar"); element.appendChild(me); if (m_parent && !m_parent->isDeleted()) - me.setAttribute("tqparent", m_parent->id()); + me.setAttribute("parent", m_parent->id()); me.setAttribute("name", m_name); me.setAttribute("id", m_id); m_weekdays->save(me); @@ -1014,7 +1014,7 @@ void CalendarWeekdays::printDebug(TQCString indent) { } void Calendar::printDebug(TQCString indent) { kdDebug()<<indent<<"Calendar "<<m_id<<": '"<<m_name<<"' Deleted="<<m_deleted<<endl; - kdDebug()<<indent<<" Parent: "<<(m_parent ? m_parent->name() : "No tqparent")<<endl; + kdDebug()<<indent<<" Parent: "<<(m_parent ? m_parent->name() : "No parent")<<endl; m_weekdays->printDebug(indent + " "); kdDebug()<<indent<<" Days --------"<<endl; TQPtrListIterator<CalendarDay> it = m_days; |