diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /kexi/plugins/tables | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/plugins/tables')
-rw-r--r-- | kexi/plugins/tables/kexitabledesignerview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/plugins/tables/kexitabledesignerview.cpp b/kexi/plugins/tables/kexitabledesignerview.cpp index 2f6cd21c..0e743bd1 100644 --- a/kexi/plugins/tables/kexitabledesignerview.cpp +++ b/kexi/plugins/tables/kexitabledesignerview.cpp @@ -833,7 +833,7 @@ void KexiTableDesignerView::slotBeforeCellChanged( void KexiTableDesignerView::slotRowUpdated(KexiTableItem *item) { - const int row = d->view->KexiDataAwareObjectInterface::data()->tqfindRef(item); + const int row = d->view->KexiDataAwareObjectInterface::data()->findRef(item); if (row < 0) return; @@ -1155,7 +1155,7 @@ void KexiTableDesignerView::slotAboutToDeleteRow( d->primaryKeyExists = false; if (d->addHistoryCommand_in_slotAboutToDeleteRow_enabled) { - const int row = d->view->KexiDataAwareObjectInterface::data()->tqfindRef(&item); + const int row = d->view->KexiDataAwareObjectInterface::data()->findRef(&item); KoProperty::Set *set = row >=0 ? d->sets->at(row) : 0; //set can be 0 here, what means "removing empty row" addHistoryCommand( @@ -1176,7 +1176,7 @@ KexiDB::Field * KexiTableDesignerView::buildField( const KoProperty::Set &set ) while (it!=values.end()) { const TQString propName( it.key() ); - if (d->internalPropertyNames.tqfind(propName.latin1()) || propName.startsWith("this:") + if (d->internalPropertyNames.find(propName.latin1()) || propName.startsWith("this:") || (/*sanity*/propName=="objectType" && KexiDB::Field::BLOB != KexiDB::intToFieldType( set["type"].value().toInt() ))) { TQMap<TQCString, TQVariant>::Iterator it_tmp = it; @@ -1717,7 +1717,7 @@ void KexiTableDesignerView::insertField(int row, KoProperty::Set& set, bool addC void KexiTableDesignerView::insertFieldInternal(int row, KoProperty::Set* set, //const KexiDB::Field& field, const TQString& caption, bool addCommand) { - if (set && (!set->tqcontains("type") || !set->tqcontains("caption"))) { + if (set && (!set->contains("type") || !set->contains("caption"))) { kexipluginswarn << "KexiTableDesignerView::insertField(): no 'type' or 'caption' property in set!" << endl; return; } @@ -1807,7 +1807,7 @@ void KexiTableDesignerView::changeFieldPropertyForRow( int row, return; KoProperty::Set* set = d->sets->at( row ); - if (!set || !set->tqcontains(propertyName)) + if (!set || !set->contains(propertyName)) return; KoProperty::Property &property = set->property(propertyName); if (listData) { @@ -1896,7 +1896,7 @@ void KexiTableDesignerView::changePropertyVisibility( if (row<0) return; KoProperty::Set* set = d->sets->at( row ); - if (!set || !set->tqcontains(propertyName)) + if (!set || !set->contains(propertyName)) return; KoProperty::Property &property = set->property(propertyName); |