summaryrefslogtreecommitdiffstats
path: root/parts/filecreate
diff options
context:
space:
mode:
Diffstat (limited to 'parts/filecreate')
-rw-r--r--parts/filecreate/fcconfigwidget.cpp4
-rw-r--r--parts/filecreate/filecreate_part.cpp6
-rw-r--r--parts/filecreate/filecreate_widget2.cpp2
3 files changed, 6 insertions, 6 deletions
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()) );
}