summaryrefslogtreecommitdiffstats
path: root/parts/documentation/protocols/chm
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/protocols/chm')
-rw-r--r--parts/documentation/protocols/chm/chm.cpp14
-rw-r--r--parts/documentation/protocols/chm/kchmpart.cpp4
-rw-r--r--parts/documentation/protocols/chm/kchmpart.h2
3 files changed, 10 insertions, 10 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;
diff --git a/parts/documentation/protocols/chm/kchmpart.cpp b/parts/documentation/protocols/chm/kchmpart.cpp
index 7b91c7fc..951c718a 100644
--- a/parts/documentation/protocols/chm/kchmpart.cpp
+++ b/parts/documentation/protocols/chm/kchmpart.cpp
@@ -47,10 +47,10 @@ KChmPartFactory::~KChmPartFactory()
delete s_about;
}
-KParts::Part* KChmPartFactory::createPartObject( TQWidget *tqparentWidget, const char *, TQObject *,
+KParts::Part* KChmPartFactory::createPartObject( TQWidget *parentWidget, const char *, TQObject *,
const char *name, const char *, const TQStringList & )
{
- KChmPart* part = new KChmPart( tqparentWidget, name );
+ KChmPart* part = new KChmPart( parentWidget, name );
return part;
}
diff --git a/parts/documentation/protocols/chm/kchmpart.h b/parts/documentation/protocols/chm/kchmpart.h
index 37bb4695..7cbda958 100644
--- a/parts/documentation/protocols/chm/kchmpart.h
+++ b/parts/documentation/protocols/chm/kchmpart.h
@@ -39,7 +39,7 @@ class KChmPartFactory: public KParts::Factory
virtual ~KChmPartFactory();
virtual KParts::Part* createPartObject(
- TQWidget *tqparentWidget, const char *widgetName,
+ TQWidget *parentWidget, const char *widgetName,
TQObject *tqparent, const char *name,
const char *classname, const TQStringList &args );