summaryrefslogtreecommitdiffstats
path: root/languages/fortran/ftnchekconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/fortran/ftnchekconfigwidget.cpp')
-rw-r--r--languages/fortran/ftnchekconfigwidget.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/languages/fortran/ftnchekconfigwidget.cpp b/languages/fortran/ftnchekconfigwidget.cpp
index 1c50a1e1..eaef8434 100644
--- a/languages/fortran/ftnchekconfigwidget.cpp
+++ b/languages/fortran/ftnchekconfigwidget.cpp
@@ -22,12 +22,12 @@
#include "domutil.h"
-class FtnchekItem : public QCheckListItem
+class FtnchekItem : public TQCheckListItem
{
public:
- FtnchekItem(TQListView *parent, const TQString &flagstr,
+ FtnchekItem(TQListView *tqparent, const TQString &flagstr,
const TQString &description)
- : TQCheckListItem(parent, flagstr, TQCheckListItem::CheckBox),
+ : TQCheckListItem(tqparent, flagstr, TQCheckListItem::CheckBox),
flag(flagstr), desc(description)
{
setText(1, desc);
@@ -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->find(flitem->flag);
+ TQStringList::Iterator sli = list->tqfind(flitem->flag);
if (sli != list->end()) {
flitem->setOn(true);
list->remove(sli);
@@ -70,21 +70,21 @@ void FtnchekItem::writeFlagsFromListView(TQListView *listview, TQStringList *lis
}
-class FtnchekToolTip : public QToolTip
+class FtnchekToolTip : public TQToolTip
{
public:
- FtnchekToolTip(TQWidget *parent)
- : TQToolTip(parent)
+ FtnchekToolTip(TQWidget *tqparent)
+ : TQToolTip(tqparent)
{}
protected:
void maybeTip(const TQPoint &pos)
{
- TQListView *listview = static_cast<TQListView*>(parentWidget());
+ TQListView *listview = static_cast<TQListView*>(tqparentWidget());
TQListViewItem *item = listview->itemAt(pos);
FtnchekItem *flitem = static_cast<FtnchekItem*>(item);
if (item)
- tip(listview->itemRect(item), flitem->desc);
+ tip(listview->tqitemRect(item), flitem->desc);
}
};
@@ -141,14 +141,14 @@ const char *f77_flags[] = {
const char *portability_flags[] = {
"backslash", I18N_NOOP("Backslash characters in strings"),
- "common-alignment", I18N_NOOP("COMMON block variables not in descending order of storage sizes"),
+ "common-tqalignment", I18N_NOOP("COMMON block variables not in descending order of storage sizes"),
"hollerith", I18N_NOOP("Hollerith constants"),
0, 0
};
-FtnchekConfigWidget::FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *parent, const char *name)
- : FtnchekConfigWidgetBase(parent, name), dom(projectDom)
+FtnchekConfigWidget::FtnchekConfigWidget(TQDomDocument &projectDom, TQWidget *tqparent, const char *name)
+ : FtnchekConfigWidgetBase(tqparent, name), dom(projectDom)
{
arguments_group = new TQButtonGroup;
arguments_group->insert(argumentsall_button);