summaryrefslogtreecommitdiffstats
path: root/languages/ada/ada_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ada/ada_utils.cpp')
-rw-r--r--languages/ada/ada_utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/ada/ada_utils.cpp b/languages/ada/ada_utils.cpp
index 6e4bea13..516218c8 100644
--- a/languages/ada/ada_utils.cpp
+++ b/languages/ada/ada_utils.cpp
@@ -16,7 +16,7 @@
TQString qtext (const RefAdaAST& n)
{
- return TQString::fromLatin1 (text (n).c_str ());
+ return TQString::tqfromLatin1 (text (n).c_str ());
}
TQStringList qnamelist (const RefAdaAST& n)
@@ -30,7 +30,7 @@ TQString ada_spec_filename (const TQString& comp_unit_name)
{
TQString fn (comp_unit_name.lower ());
- fn.replace (TQRegExp("."), "-");
+ fn.tqreplace (TQRegExp("."), "-");
fn += ".ads";
return fn;
}
@@ -44,7 +44,7 @@ TQString fq_specfilename (const TQString& comp_unit_name)
TQString adaincpath = getenv ("ADA_INCLUDE_PATH");
if (adaincpath.isNull ())
- return TQString::null;
+ return TQString();
TQStringList dirs = TQStringList::split (':', adaincpath);
TQString fq_filename;
@@ -64,6 +64,6 @@ TQString fq_specfilename (const TQString& comp_unit_name)
} else {
kdDebug () << "Cannot find file " << fname << endl;
}
- return TQString::null;
+ return TQString();
}