diff options
Diffstat (limited to 'kate')
| -rw-r--r-- | kate/cppsymbolviewer/cpp_parser.cpp | 8 | ||||
| -rw-r--r-- | kate/cppsymbolviewer/plugin_katesymbolviewer.cpp | 10 | ||||
| -rw-r--r-- | kate/cppsymbolviewer/tcl_parser.cpp | 4 | ||||
| -rw-r--r-- | kate/katesort/sortdialog.h | 2 | ||||
| -rw-r--r-- | kate/kpybrowser/kpybrowser.cpp | 2 | ||||
| -rw-r--r-- | kate/snippets/plugin_katesnippets.cpp | 2 | ||||
| -rw-r--r-- | kate/xmltools/pseudo_dtd.cpp | 2 |
7 files changed, 15 insertions, 15 deletions
diff --git a/kate/cppsymbolviewer/cpp_parser.cpp b/kate/cppsymbolviewer/cpp_parser.cpp index 9aceda2..cf43b4d 100644 --- a/kate/cppsymbolviewer/cpp_parser.cpp +++ b/kate/cppsymbolviewer/cpp_parser.cpp @@ -48,9 +48,9 @@ void KatePluginSymbolViewerView::parseCppSymbols(void) clsNode->setPixmap(0, (const TQPixmap &)cls); if (expanded_on) { - mcrNode->setOpen(TRUE); - sctNode->setOpen(TRUE); - clsNode->setOpen(TRUE); + mcrNode->setOpen(true); + sctNode->setOpen(true); + clsNode->setOpen(true); } lastMcrNode = mcrNode; lastSctNode = sctNode; @@ -141,7 +141,7 @@ void KatePluginSymbolViewerView::parseCppSymbols(void) if (treeMode) { node = new TQListViewItem(clsNode, lastClsNode, stripped); - if (expanded_on) node->setOpen(TRUE); + if (expanded_on) node->setOpen(true); lastClsNode = node; mtdNode = lastClsNode; lastMtdNode = lastClsNode; diff --git a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp index 24153a4..93dd4e5 100644 --- a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp +++ b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp @@ -138,10 +138,10 @@ void KatePluginSymbolViewerView::slotInsertSymbol() symbols->addColumn(i18n("Position")); symbols->setColumnWidthMode(1, TQListView::Manual); symbols->setColumnWidth ( 1, 0 ); - symbols->setSorting(-1, FALSE); + symbols->setSorting(-1, false); symbols->setRootIsDecorated(0); symbols->setTreeStepSize(10); - symbols->setShowToolTips(TRUE); + symbols->setShowToolTips(true); /* First Symbols parsing here...*/ parseSymbols(); @@ -175,10 +175,10 @@ void KatePluginSymbolViewerView::slotEnableSorting() lsorting = !lsorting; popup->setItemChecked(m_sort, lsorting); symbols->clear(); - if (lsorting == TRUE) - symbols->setSorting(0, TRUE); + if (lsorting) + symbols->setSorting(0, true); else - symbols->setSorting(-1, FALSE); + symbols->setSorting(-1, false); parseSymbols(); } diff --git a/kate/cppsymbolviewer/tcl_parser.cpp b/kate/cppsymbolviewer/tcl_parser.cpp index c2eae61..d769580 100644 --- a/kate/cppsymbolviewer/tcl_parser.cpp +++ b/kate/cppsymbolviewer/tcl_parser.cpp @@ -44,8 +44,8 @@ void KatePluginSymbolViewerView::parseTclSymbols(void) lastClsNode = clsNode; if (expanded_on) { - clsNode->setOpen(TRUE); - mcrNode->setOpen(TRUE); + clsNode->setOpen(true); + mcrNode->setOpen(true); } symbols->setRootIsDecorated(1); } diff --git a/kate/katesort/sortdialog.h b/kate/katesort/sortdialog.h index fd22776..d1d7f99 100644 --- a/kate/katesort/sortdialog.h +++ b/kate/katesort/sortdialog.h @@ -38,7 +38,7 @@ class SortDialog : public sortdialoglayout TQ_OBJECT public: - SortDialog ( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + SortDialog ( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~SortDialog(); // TQCheckBox* m_checkBoxUnique; /*$PUBLIC_FUNCTIONS$*/ diff --git a/kate/kpybrowser/kpybrowser.cpp b/kate/kpybrowser/kpybrowser.cpp index b1fa86a..f0e95cd 100644 --- a/kate/kpybrowser/kpybrowser.cpp +++ b/kate/kpybrowser/kpybrowser.cpp @@ -242,7 +242,7 @@ KPyBrowser::parseText (TQString & pytext) TQRegExp method_rx (TQString ("[\\s]+def [a-zA-Z_]+[^#]*:")); int paren_i; - TQStringList lines = TQStringList::split ("\n", pytext, TRUE); + TQStringList lines = TQStringList::split ("\n", pytext, true); TQStringList::Iterator iter; TQString *line; TQString class_name, method_name, function_name, class_sig, method_sig, diff --git a/kate/snippets/plugin_katesnippets.cpp b/kate/snippets/plugin_katesnippets.cpp index 5249a44..5fc4275 100644 --- a/kate/snippets/plugin_katesnippets.cpp +++ b/kate/snippets/plugin_katesnippets.cpp @@ -61,7 +61,7 @@ KatePluginSnippetsView::KatePluginSnippetsView(Kate::MainWindow *w, TQWidget *do ); //</make connections> - lSnippets.setAutoDelete( TRUE ); // the list owns the objects + lSnippets.setAutoDelete( true ); // the list owns the objects config = new TDEConfig("katesnippetspluginrc"); readConfig(); diff --git a/kate/xmltools/pseudo_dtd.cpp b/kate/xmltools/pseudo_dtd.cpp index b724f7d..60ab986 100644 --- a/kate/xmltools/pseudo_dtd.cpp +++ b/kate/xmltools/pseudo_dtd.cpp @@ -69,7 +69,7 @@ void PseudoDTD::analyzeDTD( TQString &metaDtdUrl, TQString &metaDtd ) listLength += doc.elementsByTagName( "attlist" ).count() * 2; TQProgressDialog progress( i18n("Analyzing meta DTD..."), i18n("Cancel"), listLength, - 0, "progress", TRUE ); + 0, "progress", true ); progress.setMinimumDuration( 400 ); progress.setProgress(0); |
