diff options
Diffstat (limited to 'buildtools/autotools/addexistingdirectoriesdlg.cpp')
-rw-r--r-- | buildtools/autotools/addexistingdirectoriesdlg.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/buildtools/autotools/addexistingdirectoriesdlg.cpp b/buildtools/autotools/addexistingdirectoriesdlg.cpp index 912edc52..19d400fb 100644 --- a/buildtools/autotools/addexistingdirectoriesdlg.cpp +++ b/buildtools/autotools/addexistingdirectoriesdlg.cpp @@ -34,8 +34,8 @@ #include "addexistingdirectoriesdlg.h" -AddExistingDirectoriesDialog::AddExistingDirectoriesDialog ( AutoProjectPart* part, AutoProjectWidget *widget, SubprojectItem* spitem, TQWidget* parent, const char* name, bool modal, WFlags fl ) - : AddExistingDlgBase ( parent, name, modal, fl ) +AddExistingDirectoriesDialog::AddExistingDirectoriesDialog ( AutoProjectPart* part, AutoProjectWidget *widget, SubprojectItem* spitem, TQWidget* tqparent, const char* name, bool modal, WFlags fl ) + : AddExistingDlgBase ( tqparent, name, modal, fl ) { setIcon ( SmallIcon ( "fileimport.png" ) ); @@ -186,7 +186,7 @@ void AddExistingDirectoriesDialog::slotOk() TQString name = *it; // Adjust SUBDIRS variable in containing Makefile.am - if (m_spitem->variables["SUBDIRS"].find("$(TOPSUBDIRS)") != -1) + if (m_spitem->variables["SUBDIRS"].tqfind("$(TOPSUBDIRS)") != -1) { TQFile subdirsfile( m_spitem->path + "/subdirs" ); if ( subdirsfile.open( IO_WriteOnly | IO_Append ) ) @@ -196,7 +196,7 @@ void AddExistingDirectoriesDialog::slotOk() subdirsfile.close(); } } - else if (m_spitem->variables["SUBDIRS"].find("$(AUTODIRS)") != -1) + else if (m_spitem->variables["SUBDIRS"].tqfind("$(AUTODIRS)") != -1) { } else @@ -229,7 +229,7 @@ void AddExistingDirectoriesDialog::slotOk() m_widget->getSubprojectView()->parse( newitem ); } else { if (!f.open(IO_WriteOnly)) { -// KMessageBox::sorry(this, i18n("Could not create Makefile.am in subdirectory %1.").arg(name)); +// KMessageBox::sorry(this, i18n("Could not create Makefile.am in subdirectory %1.").tqarg(name)); continue; } TQTextStream stream(&f); @@ -243,7 +243,7 @@ void AddExistingDirectoriesDialog::slotOk() if ( !m_part->isKDE() ) { TQString projroot = m_part->projectDirectory() + "/"; TQString subdirectory = dir.path(); - TQString relpath = subdirectory.replace(0, projroot.length(),""); + TQString relpath = subdirectory.tqreplace(0, projroot.length(),""); TQString configureFile = m_part->getAutoConfFile(projroot); @@ -270,7 +270,7 @@ void AddExistingDirectoriesDialog::slotAddSelected() TQString relPath = URLUtil::extractPathNameRelative(m_part->projectDirectory(), ( *it )->url()); if (relPath[relPath.length()-1] == '/') relPath = relPath.left(relPath.length()-1); - if ( (relPath.isEmpty()) || (! m_widget->allSubprojects().contains( relPath )) ) + if ( (relPath.isEmpty()) || (! m_widget->allSubprojects().tqcontains( relPath )) ) { m_importList.append ( ( *it ) ); } @@ -288,7 +288,7 @@ void AddExistingDirectoriesDialog::slotAddAll() TQString relPath = URLUtil::extractPathNameRelative(m_part->projectDirectory(), ( *it )->url()); if (relPath[relPath.length()-1] == '/') relPath = relPath.left(relPath.length()-1); - if ( (relPath.isEmpty()) || ( ! m_widget->allSubprojects().contains( relPath )) ) + if ( (relPath.isEmpty()) || ( ! m_widget->allSubprojects().tqcontains( relPath )) ) { m_importList.append ( ( *it ) ); } @@ -363,7 +363,7 @@ void AddExistingDirectoriesDialog::slotDropped ( TQDropEvent* ev ) TQString relPath = URLUtil::extractPathNameRelative(m_part->projectDirectory(), *it); if (relPath[relPath.length()-1] == '/') relPath = relPath.left(relPath.length()-1); - if ( (relPath.isEmpty()) || ( ! m_widget->allSubprojects().contains( relPath )) ) + if ( (relPath.isEmpty()) || ( ! m_widget->allSubprojects().tqcontains( relPath )) ) { type = KMimeType::findByURL ( ( *it ) ); |