summaryrefslogtreecommitdiffstats
path: root/src/detailedlistview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit0254ebaa5e056092461fd585b6851d15faa43035 (patch)
tree2bf41a1c189b92dc1b9ab89e3ce392f8132214c4 /src/detailedlistview.cpp
parentfa071926f015f39711632b3fb9fe16004d93d0ec (diff)
downloadtellico-0254ebaa5e056092461fd585b6851d15faa43035.tar.gz
tellico-0254ebaa5e056092461fd585b6851d15faa43035.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/detailedlistview.cpp')
-rw-r--r--src/detailedlistview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/detailedlistview.cpp b/src/detailedlistview.cpp
index 8590126..93b6894 100644
--- a/src/detailedlistview.cpp
+++ b/src/detailedlistview.cpp
@@ -129,7 +129,7 @@ void DetailedListView::addCollection(Data::CollPtr coll_) {
// only need to shift by number of "holes"
TQValueList<int> newOrder;
for(TQValueList<int>::ConstIterator it = colOrder.begin(); it != colOrder.end(); ++it) {
- if(removeCols.tqfindIndex(*it) == -1) {
+ if(removeCols.findIndex(*it) == -1) {
int i = *it;
for(uint j = 0; j < removeCols.count() && removeCols[j] < i; ++j) {
--i;
@@ -142,7 +142,7 @@ void DetailedListView::addCollection(Data::CollPtr coll_) {
bool none = true;
Data::FieldVec fields = coll_->fields();
for(Data::FieldVec::Iterator fIt = fields.begin(); fIt != fields.end(); ++fIt) {
- if(colNames.tqfindIndex(fIt->name()) > -1 && colWidths.count() > 0) {
+ if(colNames.findIndex(fIt->name()) > -1 && colWidths.count() > 0) {
addField(fIt, colWidths.front());
if(none && colWidths.front() != 0) {
none = false;
@@ -153,7 +153,7 @@ void DetailedListView::addCollection(Data::CollPtr coll_) {
}
}
if(none && columns() > 0 && !colNames.isEmpty()) {
- showColumn(coll_->fieldNames().tqfindIndex(colNames[0]));
+ showColumn(coll_->fieldNames().findIndex(colNames[0]));
}
TQValueList<int>::ConstIterator it = colOrder.begin();
@@ -666,7 +666,7 @@ void DetailedListView::reorderFields(const Data::FieldVec& fields_) {
TQStringList visible = visibleColumns();
for( ; it != fields_.end() && sec < columns(); ++sec, ++it) {
header()->setLabel(sec, it->title());
- bool isVisible = (visible.tqfindIndex(it->title()) > -1);
+ bool isVisible = (visible.findIndex(it->title()) > -1);
m_headerMenu->changeItem(m_headerMenu->idAt(sec+1), it->title());
m_headerMenu->setItemChecked(m_headerMenu->idAt(sec+1), isVisible);
m_columnWidths[sec] = 0;