diff options
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/autotools/addexistingdirectoriesdlg.h | 2 | ||||
-rw-r--r-- | buildtools/autotools/addexistingfilesdlg.cpp | 2 | ||||
-rw-r--r-- | buildtools/autotools/addexistingfilesdlg.h | 2 | ||||
-rw-r--r-- | buildtools/autotools/autodetailsview.cpp | 4 | ||||
-rw-r--r-- | buildtools/autotools/targetoptionsdlg.cpp | 2 | ||||
-rw-r--r-- | buildtools/custommakefiles/customprojectpart.cpp | 6 | ||||
-rw-r--r-- | buildtools/lib/widgets/environmentdisplaydialog.h | 2 | ||||
-rw-r--r-- | buildtools/lib/widgets/removesubprojectdialog.h | 2 | ||||
-rw-r--r-- | buildtools/lib/widgets/subclassesdlg.h | 2 | ||||
-rw-r--r-- | buildtools/qmake/choosesubprojectdlg.h | 2 | ||||
-rw-r--r-- | buildtools/qmake/createscopedlg.h | 2 | ||||
-rw-r--r-- | buildtools/qmake/newwidgetdlg.h | 2 | ||||
-rw-r--r-- | buildtools/qmake/projectconfigurationdlg.cpp | 2 | ||||
-rw-r--r-- | buildtools/qmake/projectconfigurationdlg.h | 2 | ||||
-rw-r--r-- | buildtools/qmake/trollprojectwidget.cpp | 14 |
15 files changed, 24 insertions, 24 deletions
diff --git a/buildtools/autotools/addexistingdirectoriesdlg.h b/buildtools/autotools/addexistingdirectoriesdlg.h index c68e8113..9cdc20e7 100644 --- a/buildtools/autotools/addexistingdirectoriesdlg.h +++ b/buildtools/autotools/addexistingdirectoriesdlg.h @@ -41,7 +41,7 @@ class AddExistingDirectoriesDialog : public AddExistingDlgBase public: AddExistingDirectoriesDialog ( AutoProjectPart* part, AutoProjectWidget *widget, SubprojectItem* spitem, TQWidget* parent = 0, - const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + const char* name = 0, bool modal = false, WFlags fl = 0 ); ~AddExistingDirectoriesDialog(); private: diff --git a/buildtools/autotools/addexistingfilesdlg.cpp b/buildtools/autotools/addexistingfilesdlg.cpp index ade9121d..4714fef1 100644 --- a/buildtools/autotools/addexistingfilesdlg.cpp +++ b/buildtools/autotools/addexistingfilesdlg.cpp @@ -53,7 +53,7 @@ * name 'name' and widget flags set to 'f'. * * The dialog will by default be modeless, unless you set 'modal' to - * TRUE to construct a modal dialog. + * true to construct a modal dialog. */ AddExistingFilesDialog::AddExistingFilesDialog ( AutoProjectPart* part, AutoProjectWidget *widget, SubprojectItem* spitem, TargetItem* titem, TQWidget* parent, const char* name, bool modal, WFlags fl ) diff --git a/buildtools/autotools/addexistingfilesdlg.h b/buildtools/autotools/addexistingfilesdlg.h index 3d9fed36..7ffefa31 100644 --- a/buildtools/autotools/addexistingfilesdlg.h +++ b/buildtools/autotools/addexistingfilesdlg.h @@ -44,7 +44,7 @@ class AddExistingFilesDialog : public AddExistingDlgBase public: AddExistingFilesDialog( AutoProjectPart* part, AutoProjectWidget *widget, SubprojectItem* spitem, TargetItem* titem, TQWidget* parent = 0, - const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + const char* name = 0, bool modal = false, WFlags fl = 0 ); ~AddExistingFilesDialog(); private: diff --git a/buildtools/autotools/autodetailsview.cpp b/buildtools/autotools/autodetailsview.cpp index 3c4ae477..c9c2ce75 100644 --- a/buildtools/autotools/autodetailsview.cpp +++ b/buildtools/autotools/autodetailsview.cpp @@ -587,7 +587,7 @@ void AutoDetailsView::slotDetailsContextMenu( TDEListView *, TQListViewItem *ite popup.setWhatsThis(idViewUIH, i18n("<b>Open ui.h file</b><p>Opens .ui.h file " "associated with the selected .ui.")); - if (!fitem->name.contains(TQRegExp("ui$")) || fitem->is_subst == true) + if (!fitem->name.contains(TQRegExp("ui$")) || fitem->is_subst) { popup.removeItem(idUISubclasses); popup.removeItem(idViewUIH); @@ -597,7 +597,7 @@ void AutoDetailsView::slotDetailsContextMenu( TDEListView *, TQListViewItem *ite if (fitem->uiFileLink.isEmpty()) popup.removeItem(idUpdateWidgetclass); - if(fitem->is_subst == false) + if(!fitem->is_subst) m_part->core()->fillContextMenu( &popup, &context ); int r = popup.exec( p ); diff --git a/buildtools/autotools/targetoptionsdlg.cpp b/buildtools/autotools/targetoptionsdlg.cpp index ac2767a7..f19f1873 100644 --- a/buildtools/autotools/targetoptionsdlg.cpp +++ b/buildtools/autotools/targetoptionsdlg.cpp @@ -133,7 +133,7 @@ void TargetOptionsDialog::readConfig() clitem = static_cast<TQCheckListItem*>(clitem->nextSibling()); } } - if ( inlistItem == false ) { + if ( !inlistItem ) { TQListViewItem *item = new TQListViewItem(outsidelib_listview, *l2it); if (lastItem) item->moveItem(lastItem); diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp index 746e9fe4..c3a06731 100644 --- a/buildtools/custommakefiles/customprojectpart.cpp +++ b/buildtools/custommakefiles/customprojectpart.cpp @@ -894,7 +894,7 @@ TQString CustomProjectPart::makeEnvironment() const void CustomProjectPart::startMakeCommand( const TQString &dir, const TQString &target, bool withKdesu ) { - if ( partController()->saveAllFiles() == false ) + if ( !partController()->saveAllFiles() ) return; //user cancelled TQDomDocument &dom = *projectDom(); @@ -1002,8 +1002,8 @@ void CustomProjectPart::slotCompileFile() //if there is no Makefile in the directory of the source file //try to build it from the main build dir //this works e.g. for non-recursive cmake Makefiles, Alex - if ( buildtool == "make" && ( TQFile::exists( sourceDir + "/Makefile" ) == false ) - && ( TQFile::exists( sourceDir + "/makefile" ) == false ) ) + if ( buildtool == "make" && !TQFile::exists( sourceDir + "/Makefile" ) + && !TQFile::exists( sourceDir + "/makefile" ) ) { buildDir = buildDirectory(); } diff --git a/buildtools/lib/widgets/environmentdisplaydialog.h b/buildtools/lib/widgets/environmentdisplaydialog.h index 46b4bdb8..46925034 100644 --- a/buildtools/lib/widgets/environmentdisplaydialog.h +++ b/buildtools/lib/widgets/environmentdisplaydialog.h @@ -29,7 +29,7 @@ TQ_OBJECT public: - EnvironmentDisplayDialog(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + EnvironmentDisplayDialog(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); }; #endif diff --git a/buildtools/lib/widgets/removesubprojectdialog.h b/buildtools/lib/widgets/removesubprojectdialog.h index 7de20af3..eeae1cd8 100644 --- a/buildtools/lib/widgets/removesubprojectdialog.h +++ b/buildtools/lib/widgets/removesubprojectdialog.h @@ -31,7 +31,7 @@ class RemoveSubprojectDialog : public RemoveSubprojectDlgBase public: - RemoveSubprojectDialog(TQString caption, TQString question, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + RemoveSubprojectDialog(TQString caption, TQString question, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~RemoveSubprojectDialog(); /*$PUBLIC_FUNCTIONS$*/ bool removeFromDisk(); diff --git a/buildtools/lib/widgets/subclassesdlg.h b/buildtools/lib/widgets/subclassesdlg.h index 75ced25b..5ddec54b 100644 --- a/buildtools/lib/widgets/subclassesdlg.h +++ b/buildtools/lib/widgets/subclassesdlg.h @@ -31,7 +31,7 @@ class SubclassesDlg : public SubclassesDlgBase public: - SubclassesDlg(TQString form, DomUtil::PairList &config, TQString projectDir, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + SubclassesDlg(TQString form, DomUtil::PairList &config, TQString projectDir, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~SubclassesDlg(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/buildtools/qmake/choosesubprojectdlg.h b/buildtools/qmake/choosesubprojectdlg.h index e9daf2e1..4cf4ea4e 100644 --- a/buildtools/qmake/choosesubprojectdlg.h +++ b/buildtools/qmake/choosesubprojectdlg.h @@ -37,7 +37,7 @@ class ChooseSubprojectDlg : public ChooseSubprojectDlgBase public: - ChooseSubprojectDlg(TrollProjectWidget *widget, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + ChooseSubprojectDlg(TrollProjectWidget *widget, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~ChooseSubprojectDlg(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/buildtools/qmake/createscopedlg.h b/buildtools/qmake/createscopedlg.h index 30f72b59..26535c72 100644 --- a/buildtools/qmake/createscopedlg.h +++ b/buildtools/qmake/createscopedlg.h @@ -23,7 +23,7 @@ class CreateScopeDlg : public CreateScopeDlgBase public: - CreateScopeDlg( QMakeScopeItem* item, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + CreateScopeDlg( QMakeScopeItem* item, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~CreateScopeDlg(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/buildtools/qmake/newwidgetdlg.h b/buildtools/qmake/newwidgetdlg.h index 994aead5..d2d92254 100644 --- a/buildtools/qmake/newwidgetdlg.h +++ b/buildtools/qmake/newwidgetdlg.h @@ -21,7 +21,7 @@ class TQDomDocument; class NewWidgetDlg : public NewWidgetDlgBase { public: - NewWidgetDlg(TQStringList &newFileNames,TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + NewWidgetDlg(TQStringList &newFileNames,TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~NewWidgetDlg(); diff --git a/buildtools/qmake/projectconfigurationdlg.cpp b/buildtools/qmake/projectconfigurationdlg.cpp index dd86a06a..95189fff 100644 --- a/buildtools/qmake/projectconfigurationdlg.cpp +++ b/buildtools/qmake/projectconfigurationdlg.cpp @@ -387,7 +387,7 @@ void ProjectConfigurationDlg::updateProjectConfiguration() myProjectItem->updateValues( "INCLUDEPATH", values ); //target.install - if ( checkInstallTarget->isChecked() == true ) + if ( checkInstallTarget->isChecked() ) { myProjectItem->addValue( "INSTALLS", "target" ); myProjectItem->scope->setEqualOp( "target.path", TQStringList( m_InstallTargetPath->text() ) ); diff --git a/buildtools/qmake/projectconfigurationdlg.h b/buildtools/qmake/projectconfigurationdlg.h index c4c9740b..bcf38005 100644 --- a/buildtools/qmake/projectconfigurationdlg.h +++ b/buildtools/qmake/projectconfigurationdlg.h @@ -56,7 +56,7 @@ class CustomVarListItem : public TDEListViewItem class ProjectConfigurationDlg : public ProjectConfigurationDlgBase { public: - ProjectConfigurationDlg( TQListView *_prjList, TrollProjectWidget* _prjWidget, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + ProjectConfigurationDlg( TQListView *_prjList, TrollProjectWidget* _prjWidget, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~ProjectConfigurationDlg(); void updateControls(); void updateSubproject( QMakeScopeItem* _item ); diff --git a/buildtools/qmake/trollprojectwidget.cpp b/buildtools/qmake/trollprojectwidget.cpp index 919ca69e..14e24a63 100644 --- a/buildtools/qmake/trollprojectwidget.cpp +++ b/buildtools/qmake/trollprojectwidget.cpp @@ -715,7 +715,7 @@ void TrollProjectWidget::slotExecuteTarget() void TrollProjectWidget::slotBuildProject() { - if ( m_part->partController() ->saveAllFiles() == false ) + if ( !m_part->partController() ->saveAllFiles() ) return ; //user cancelled TQString dir = projectDirectory(); @@ -733,7 +733,7 @@ void TrollProjectWidget::slotBuildProject() void TrollProjectWidget::slotInstallProject() { - if ( m_part->partController() ->saveAllFiles() == false ) + if ( !m_part->partController() ->saveAllFiles() ) return ; //user cancelled TQString dir = projectDirectory(); @@ -1371,7 +1371,7 @@ void TrollProjectWidget::slotNewFile() if ( gitem->groupType == GroupItem::InstallObject ) { // TQString relpath = m_shownSubproject->path.mid(projectDirectory().length()); - bool ok = FALSE; + bool ok = false; TQString filepattern = KInputDialog::getText( i18n( "Insert New Filepattern" ), i18n( "Please enter a filepattern relative the current " @@ -1387,7 +1387,7 @@ void TrollProjectWidget::slotNewFile() if ( gitem->groupType == GroupItem::InstallRoot ) { // TQString relpath = m_shownSubproject->path.mid(projectDirectory().length()); - bool ok = FALSE; + bool ok = false; TQString install_obj = KInputDialog::getText( i18n( "Insert New Install Object" ), i18n( "Please enter a name for the new object:" ), @@ -1596,7 +1596,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem * } else if ( r == idInsNewFilepatternItem ) { - bool ok = FALSE; + bool ok = false; TQString filepattern = KInputDialog::getText( i18n( "Add Pattern of Files to Install" ), i18n( "Enter a pattern relative to the current " @@ -1714,7 +1714,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem * } else if ( r == idInsInstallObject ) { - bool ok = FALSE; + bool ok = false; TQString install_obj = KInputDialog::getText( i18n( "Add Install Object" ), i18n( "Enter a name for the new object:" ), @@ -1891,7 +1891,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem * { GroupItem * titem = static_cast<GroupItem*>( item->parent() ); - bool ok = FALSE; + bool ok = false; TQString filepattern = KInputDialog::getText( i18n( "Edit Pattern" ), i18n( "Enter a pattern relative to the current " |