summaryrefslogtreecommitdiffstats
path: root/kplato/kptresource.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kplato/kptresource.cc
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kplato/kptresource.cc')
-rw-r--r--kplato/kptresource.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kplato/kptresource.cc b/kplato/kptresource.cc
index 78834b4a..1b732e87 100644
--- a/kplato/kptresource.cc
+++ b/kplato/kptresource.cc
@@ -106,7 +106,7 @@ void ResourceGroup::removeResource(Resource *resource) {
}
Resource *ResourceGroup::takeResource(Resource *resource) {
- return m_resources.take(m_resources.tqfindRef(resource));
+ return m_resources.take(m_resources.findRef(resource));
}
void ResourceGroup::removeResource(int) {
@@ -457,7 +457,7 @@ void Resource::takeSchedule(const Schedule *schedule) {
void Resource::addSchedule(Schedule *schedule) {
if (schedule == 0)
return;
- m_schedules.tqreplace(schedule->id(), schedule);
+ m_schedules.replace(schedule->id(), schedule);
}
ResourceSchedule *Resource::createSchedule(TQString name, int type, long id) {
@@ -791,10 +791,10 @@ void ResourceGroupRequest::addResourceRequest(ResourceRequest *request) {
ResourceRequest *ResourceGroupRequest::takeResourceRequest(ResourceRequest *request) {
if (request)
request->unregisterRequest();
- return m_resourceRequests.take(m_resourceRequests.tqfindRef(request));
+ return m_resourceRequests.take(m_resourceRequests.findRef(request));
}
-ResourceRequest *ResourceGroupRequest::tqfind(Resource *resource) const {
+ResourceRequest *ResourceGroupRequest::find(Resource *resource) const {
TQPtrListIterator<ResourceRequest> it(m_resourceRequests);
for (; it.current(); ++it)
if (it.current()->resource() == resource)
@@ -1075,7 +1075,7 @@ ResourceRequestCollection::~ResourceRequestCollection() {
m_requests.clear();
}
-ResourceGroupRequest *ResourceRequestCollection::tqfind(ResourceGroup *group) const {
+ResourceGroupRequest *ResourceRequestCollection::find(ResourceGroup *group) const {
TQPtrListIterator<ResourceGroupRequest> it(m_requests);
for (; it.current(); ++it) {
if (it.current()->group() == group)
@@ -1085,11 +1085,11 @@ ResourceGroupRequest *ResourceRequestCollection::tqfind(ResourceGroup *group) co
}
-ResourceRequest *ResourceRequestCollection::tqfind(Resource *resource) const {
+ResourceRequest *ResourceRequestCollection::find(Resource *resource) const {
ResourceRequest *req = 0;
TQPtrListIterator<ResourceGroupRequest> it(m_requests);
for (; !req && it.current(); ++it) {
- req = it.current()->tqfind(resource);
+ req = it.current()->find(resource);
}
return req;
}