From 330c33ab6f97b279737bf9527c9add7bb1475450 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/filecreate/fcconfigwidget.cpp | 4 ++-- parts/filecreate/filecreate_part.cpp | 6 +++--- parts/filecreate/filecreate_widget2.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'parts/filecreate') diff --git a/parts/filecreate/fcconfigwidget.cpp b/parts/filecreate/fcconfigwidget.cpp index 6a1dc7e6..201fb65f 100644 --- a/parts/filecreate/fcconfigwidget.cpp +++ b/parts/filecreate/fcconfigwidget.cpp @@ -113,7 +113,7 @@ void FCConfigWidget::loadGlobalConfig(TQListView *view, bool checkmarks) TQString subtyperef = element.attribute("subtyperef"); if (subtyperef.isNull()) { - TQListViewItem *it = view->tqfindItem(ext, 0); + TQListViewItem *it = view->findItem(ext, 0); if (it) { ((TQCheckListItem*)it)->setOn(true); @@ -128,7 +128,7 @@ void FCConfigWidget::loadGlobalConfig(TQListView *view, bool checkmarks) } else { - TQListViewItem *it = view->tqfindItem(subtyperef, 0); + TQListViewItem *it = view->findItem(subtyperef, 0); if (it) ((TQCheckListItem*)it)->setOn(true); } diff --git a/parts/filecreate/filecreate_part.cpp b/parts/filecreate/filecreate_part.cpp index e8fbecff..e7ad379e 100644 --- a/parts/filecreate/filecreate_part.cpp +++ b/parts/filecreate/filecreate_part.cpp @@ -274,7 +274,7 @@ FileType * FileCreatePart::getType(const TQString & ex, const TQString subtRef) TQString subtypeRef = subtRef; TQString ext = ex; - int dashPos = ext.tqfind('-'); + int dashPos = ext.find('-'); if (dashPos>-1 && subtRef.isNull()) { ext = ex.left(dashPos); subtypeRef = ex.mid(dashPos+1); @@ -301,7 +301,7 @@ FileType * FileCreatePart::getEnabledType(const TQString & ex, const TQString su TQString subtypeRef = subtRef; TQString ext = ex; - int dashPos = ext.tqfind('-'); + int dashPos = ext.find('-'); if (dashPos>-1 && subtRef.isNull()) { ext = ex.left(dashPos); subtypeRef = ex.mid(dashPos+1); @@ -559,4 +559,4 @@ void FileCreatePart::slotGlobalInitialize( ) #include "filecreate_part.moc" -// kate: indent-width 2; tqreplace-tabs on; tab-width 4; space-indent on; +// kate: indent-width 2; replace-tabs on; tab-width 4; space-indent on; diff --git a/parts/filecreate/filecreate_widget2.cpp b/parts/filecreate/filecreate_widget2.cpp index 5c39393b..ca37957a 100644 --- a/parts/filecreate/filecreate_widget2.cpp +++ b/parts/filecreate/filecreate_widget2.cpp @@ -164,7 +164,7 @@ namespace FileCreate { return; } - m_selected = typeForRow.tqcontains(row) ? typeForRow[row] : NULL; + m_selected = typeForRow.contains(row) ? typeForRow[row] : NULL; TQTimer::singleShot(0, this, TQT_SLOT(slotDoSelection()) ); } -- cgit v1.2.3