summaryrefslogtreecommitdiffstats
path: root/kplato/kptresource.cc
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
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kplato/kptresource.cc
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-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/kptresource.cc')
-rw-r--r--kplato/kptresource.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptresource.cc b/kplato/kptresource.cc
index 1b732e87..448074ae 100644
--- a/kplato/kptresource.cc
+++ b/kplato/kptresource.cc
@@ -231,7 +231,7 @@ Resource::~Resource() {
}
m_requests.first();
for (; m_requests.current(); m_requests.next()) {
- m_requests.current()->tqparent()->removeResourceRequest(m_requests.current()); // deletes the request
+ m_requests.current()->parent()->removeResourceRequest(m_requests.current()); // deletes the request
}
}
@@ -432,7 +432,7 @@ void Resource::addAppointment(Schedule *node, DateTime &start, DateTime &end, do
//kdDebug()<<k_funcinfo<<endl;
Schedule *s = findSchedule(node->id());
if (s == 0) {
- s = createSchedule(node->tqparent());
+ s = createSchedule(node->parent());
}
s->addAppointment(node, start, end, load);
}
@@ -466,8 +466,8 @@ ResourceSchedule *Resource::createSchedule(TQString name, int type, long id) {
return sch;
}
-ResourceSchedule *Resource::createSchedule(Schedule *tqparent) {
- ResourceSchedule *sch = new ResourceSchedule(tqparent, this);
+ResourceSchedule *Resource::createSchedule(Schedule *parent) {
+ ResourceSchedule *sch = new ResourceSchedule(parent, this);
addSchedule(sch);
return sch;
}