summaryrefslogtreecommitdiffstats
path: root/languages/fortran
diff options
context:
space:
mode:
Diffstat (limited to 'languages/fortran')
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp10
-rw-r--r--languages/fortran/fixedformparser.cpp2
-rw-r--r--languages/fortran/fortransupportpart.cpp2
-rw-r--r--languages/fortran/ftnchekconfigwidget.cpp2
4 files changed, 8 insertions, 8 deletions
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
index 267c67f0..113b5abd 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
+++ b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
@@ -150,7 +150,7 @@ void OptimizationTab::readFlags(TQStringList *list)
if (optBox) {
TQListViewItem *item = optBox->firstChild();
for (; item; item = item->nextSibling()) {
- TQStringList::Iterator sli = list->tqfind(item->text(0));
+ TQStringList::Iterator sli = list->find(item->text(0));
if (sli != list->end()) {
static_cast<TQCheckListItem*>(item)->setOn(true);
list->remove(sli);
@@ -159,17 +159,17 @@ void OptimizationTab::readFlags(TQStringList *list)
}
TQStringList::Iterator sli;
- sli = list->tqfind("-O0");
+ sli = list->find("-O0");
if (sli != list->end()) {
O0->setChecked(true);
list->remove(sli);
}
- sli = list->tqfind("-O1");
+ sli = list->find("-O1");
if (sli != list->end()) {
O1->setChecked(true);
list->remove(sli);
}
- sli = list->tqfind("-O2");
+ sli = list->find("-O2");
if (sli != list->end()) {
O2->setChecked(true);
list->remove(sli);
@@ -220,7 +220,7 @@ void HpfTab::readFlags(TQStringList *list)
{
TQListViewItem *item = hpfBox->firstChild();
for (; item; item = item->nextSibling()) {
- TQStringList::Iterator sli = list->tqfind(item->text(0));
+ TQStringList::Iterator sli = list->find(item->text(0));
if (sli != list->end()) {
static_cast<TQCheckListItem*>(item)->setOn(true);
list->remove(sli);
diff --git a/languages/fortran/fixedformparser.cpp b/languages/fortran/fixedformparser.cpp
index 8f07ad4a..312d811e 100644
--- a/languages/fortran/fixedformparser.cpp
+++ b/languages/fortran/fixedformparser.cpp
@@ -73,7 +73,7 @@ void FixedFormParser::parse(const TQString &fileName)
while (!stream.atEnd()) {
++lineNum;
TQCString str = stream.readLine().local8Bit();
- if (!str.isEmpty() && TQCString("*Cc#!").tqfind(str[0]) != -1)
+ if (!str.isEmpty() && TQCString("*Cc#!").find(str[0]) != -1)
continue;
// Continuation line
if (str.length() > 6 && str.left(5) == " " && str[5] != ' ') {
diff --git a/languages/fortran/fortransupportpart.cpp b/languages/fortran/fortransupportpart.cpp
index 63a06584..3ac3f6e3 100644
--- a/languages/fortran/fortransupportpart.cpp
+++ b/languages/fortran/fortransupportpart.cpp
@@ -267,7 +267,7 @@ void FortranSupportPart::savedFile(const KURL &fileName)
{
kdDebug(9019) << "savedFile()" << endl;
- if (project()->allFiles().tqcontains(fileName.path().mid ( project()->projectDirectory().length() + 1 ))) {
+ if (project()->allFiles().contains(fileName.path().mid ( project()->projectDirectory().length() + 1 ))) {
maybeParse(fileName.path());
emit addedSourceInfo( fileName.path() );
}
diff --git a/languages/fortran/ftnchekconfigwidget.cpp b/languages/fortran/ftnchekconfigwidget.cpp
index c359f78d..2fcd7905 100644
--- a/languages/fortran/ftnchekconfigwidget.cpp
+++ b/languages/fortran/ftnchekconfigwidget.cpp
@@ -48,7 +48,7 @@ void FtnchekItem::readFlagsToListView(TQListView *listview, TQStringList *list)
TQListViewItem *item = listview->firstChild();
for (; item; item = item->nextSibling()) {
FtnchekItem *flitem = static_cast<FtnchekItem*>(item);
- TQStringList::Iterator sli = list->tqfind(flitem->flag);
+ TQStringList::Iterator sli = list->find(flitem->flag);
if (sli != list->end()) {
flitem->setOn(true);
list->remove(sli);