summaryrefslogtreecommitdiffstats
path: root/kplato/kptresource.h
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.h
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.h')
-rw-r--r--kplato/kptresource.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptresource.h b/kplato/kptresource.h
index be558d93..e298a022 100644
--- a/kplato/kptresource.h
+++ b/kplato/kptresource.h
@@ -446,7 +446,7 @@ class ResourceGroupRequest {
void addResourceRequest(ResourceRequest *request);
void removeResourceRequest(ResourceRequest *request) { m_resourceRequests.removeRef(request); }
ResourceRequest *takeResourceRequest(ResourceRequest *request);
- ResourceRequest *tqfind(Resource *resource) const;
+ ResourceRequest *find(Resource *resource) const;
bool load(TQDomElement &element, Project &project);
void save(TQDomElement &element) const;
@@ -515,9 +515,9 @@ public:
request->setParent(this);
}
void removeRequest(ResourceGroupRequest *request) { m_requests.removeRef(request); }
- void takeRequest(ResourceGroupRequest *request) { m_requests.take(m_requests.tqfindRef(request)); }
- ResourceGroupRequest *tqfind(ResourceGroup *resource) const;
- ResourceRequest *tqfind(Resource *resource) const;
+ void takeRequest(ResourceGroupRequest *request) { m_requests.take(m_requests.findRef(request)); }
+ ResourceGroupRequest *find(ResourceGroup *resource) const;
+ ResourceRequest *find(Resource *resource) const;
bool isEmpty() const;
//bool load(TQDomElement &element, Project &project);