diff options
Diffstat (limited to 'tools/tqconfig/main.cpp')
| -rw-r--r-- | tools/tqconfig/main.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tools/tqconfig/main.cpp b/tools/tqconfig/main.cpp index f1407e4a1..1eb3bb476 100644 --- a/tools/tqconfig/main.cpp +++ b/tools/tqconfig/main.cpp @@ -189,9 +189,9 @@ public: CheckBox), id(i) { - setOpen(TRUE); + setOpen(true); label = text(0); - avl = TRUE; + avl = true; } // We reverse the logic @@ -270,7 +270,7 @@ Main::Main() lv = new TQListView(horizontal); lv->setSorting(-1); - lv->setRootIsDecorated(TRUE); + lv->setRootIsDecorated(true); lv->addColumn("ID"); info = new Info(horizontal); @@ -463,8 +463,8 @@ void Main::loadFeatures(const TQString& filename) TQString sec; TQString lab; TQString doc; - bool on = FALSE; - bool docmode = FALSE; + bool on = false; + bool docmode = false; TQStringList deps; do { @@ -475,7 +475,7 @@ void Main::loadFeatures(const TQString& filename) if ( on ) { if ( docmode ) { if ( token[0] == "*/" ) - docmode = FALSE; + docmode = false; else if ( lab.isEmpty() ) lab = line.stripWhiteSpace(); else @@ -491,7 +491,7 @@ void Main::loadFeatures(const TQString& filename) doc = ""; lab = ""; } else if ( token[0] == "/*!" ) { - docmode = TRUE; + docmode = true; } else if ( token[0] == "//" ) { token.remove(token.begin()); sec = token.join(" "); @@ -516,7 +516,7 @@ void Main::loadFeatures(const TQString& filename) tqDebug("Cannot parse: %s",token.join(" ").ascii()); } } else if ( token[0] == "#include" ) { - on = TRUE; + on = true; } } while (!s.atEnd()); #endif @@ -572,7 +572,7 @@ void Main::loadConfig(const TQString& filename) TQRegExp qt_no_xxx("TQT_NO_[A-Z_0-9]*"); for (TQStringList::Iterator ch = choices.begin(); ch != choices.end(); ++ch) { - item[*ch]->setDefined(FALSE); + item[*ch]->setDefined(false); } do { TQString line = s.readLine(); @@ -580,7 +580,7 @@ void Main::loadConfig(const TQString& filename) if ( token[0] == "#define" ) { ChoiceItem* i = item[token[1]]; if ( i ) - i->setDefined(TRUE); + i->setDefined(true); else tqDebug("The item %s is not used by tqfeatures.h", token[1].latin1()); } @@ -599,14 +599,14 @@ void Main::updateAvailability(TQListViewItem* i) { ChoiceItem* d = item[*it]; TQStringList ddeps = dependencies[d->id]; - bool av = TRUE; + bool av = true; for (TQStringList::ConstIterator dit = ddeps.begin(); av && dit != ddeps.end(); ++dit) { ChoiceItem* dd = item[*dit]; if ( dd ) { if ( dd->isDefined() || !dd->isAvailable() ) - av = FALSE; + av = false; } else tqDebug("%s ???",(*dit).latin1()); } @@ -665,7 +665,7 @@ void Main::selectId(const TQString& id) { TQListViewItem* it = item[id]; if ( it ) { - lv->setSelected(it,TRUE); + lv->setSelected(it,true); lv->ensureItemVisible(it); } } |
