diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 539a1fd1ae6290cc3eec745226c0ce45b02c1545 (patch) | |
tree | e1cf785f3b349d568bade07dccdb5b39eb862331 /parts/documentation/protocols/chm | |
parent | 82324bf130254bac6932131a55607c866773ca84 (diff) | |
download | tdevelop-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')
-rw-r--r-- | parts/documentation/protocols/chm/chm.cpp | 14 | ||||
-rw-r--r-- | parts/documentation/protocols/chm/kchmpart.cpp | 4 | ||||
-rw-r--r-- | parts/documentation/protocols/chm/kchmpart.h | 2 |
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 ); |