summaryrefslogtreecommitdiffstats
path: root/languages/perl/perlparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/perl/perlparser.cpp')
-rw-r--r--languages/perl/perlparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/perl/perlparser.cpp b/languages/perl/perlparser.cpp
index 4ab48333..520daab3 100644
--- a/languages/perl/perlparser.cpp
+++ b/languages/perl/perlparser.cpp
@@ -437,7 +437,7 @@ void perlparser::addParentClass(const TQString& tqparent)
void perlparser::addUseLib(const TQString& lib)
{
if (!m_model->hasFile(lib)) {
- if (m_usefiles.tqfindIndex(lib) == -1) {
+ if (m_usefiles.findIndex(lib) == -1) {
//only add if not already parsed or in the list
kdDebug(9016) << "add lib for later parsing [" << lib << "]" << endl;
m_usefiles.append(lib);
@@ -478,7 +478,7 @@ TQString perlparser::findLib( const TQString& lib)
TQString result;
TQString file=lib;
- file.tqreplace( TQRegExp("::"), TQString("/"));
+ file.replace( TQRegExp("::"), TQString("/"));
//find the correct path by using the INC list
TQStringList::Iterator inc = m_INClist.begin();