summaryrefslogtreecommitdiffstats
path: root/parts/documentation/protocols/chm/chm.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit539a1fd1ae6290cc3eec745226c0ce45b02c1545 (patch)
treee1cf785f3b349d568bade07dccdb5b39eb862331 /parts/documentation/protocols/chm/chm.cpp
parent82324bf130254bac6932131a55607c866773ca84 (diff)
downloadtdevelop-539a1fd1ae6290cc3eec745226c0ce45b02c1545.tar.gz
tdevelop-539a1fd1ae6290cc3eec745226c0ce45b02c1545.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/documentation/protocols/chm/chm.cpp')
-rw-r--r--parts/documentation/protocols/chm/chm.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/parts/documentation/protocols/chm/chm.cpp b/parts/documentation/protocols/chm/chm.cpp
index dbcbb07f..6ae9b2e2 100644
--- a/parts/documentation/protocols/chm/chm.cpp
+++ b/parts/documentation/protocols/chm/chm.cpp
@@ -178,11 +178,11 @@ void ChmProtocol::get( const KURL& url )
TQRegExp mergeParam("<param name=\"Merge\" value=\"(.*)\">", false);
mergeParam.setMinimal(true);
- std::stack<int> tqparents;
+ std::stack<int> parents;
int counter = 1;
int current = 0;
int old = 0, pos = 0;
- tqparents.push(0);
+ parents.push(0);
while ((pos = s.tqfind(object, pos)) != -1) {
if(htmlOutput) output += s.mid(old, pos - old);
if(catalog) {
@@ -191,12 +191,12 @@ void ChmProtocol::get( const KURL& url )
int pos = 0;
while( (pos = ms.tqfind(ex, pos)) != -1) {
if(ms.mid(pos, 4) == "<UL>") {
- tqparents.push(current);
+ parents.push(current);
} else{
- if(tqparents.empty()){
+ if(parents.empty()){
}else{
- current = tqparents.top();
- tqparents.pop();
+ current = parents.top();
+ parents.pop();
}
}
pos++;
@@ -221,7 +221,7 @@ void ChmProtocol::get( const KURL& url )
KURL u = url;
u.setPath(bigpath + local);
TQString str;
- output += str.sprintf("%i\n%i\n", tqparents.top(), current);
+ output += str.sprintf("%i\n%i\n", parents.top(), current);
output += name + "\n" + u.prettyURL() + "\n";
}
m_bIndex = 1;