summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexidataprovider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexidataprovider.cpp')
-rw-r--r--kexi/plugins/forms/kexidataprovider.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/plugins/forms/kexidataprovider.cpp b/kexi/plugins/forms/kexidataprovider.cpp
index e89ba9cb..1a6df899 100644
--- a/kexi/plugins/forms/kexidataprovider.cpp
+++ b/kexi/plugins/forms/kexidataprovider.cpp
@@ -113,7 +113,7 @@ void KexiFormDataProvider::fillDataItems(KexiTableItem& row, bool cursorAtNewRow
kexipluginsdbg << "fill data of '" << itemIface->dataSource() << "' at idx=" << it.data()
<< " data=" << value << (indexForVisibleLookupValue!=-1
? TQString(" SPECIAL: indexForVisibleLookupValue=%1 visibleValue=%2")
- .tqarg(indexForVisibleLookupValue).tqarg(visibleLookupValue.toString())
+ .arg(indexForVisibleLookupValue).arg(visibleLookupValue.toString())
: TQString())
<< endl;
const bool displayDefaultValue = cursorAtNewRow && (value.isNull() && visibleLookupValue.isNull())
@@ -228,7 +228,7 @@ void KexiFormDataProvider::invalidateDataSources( const TQDict<char>& invalidSou
// newIndices[i]=-1;
KexiFormDataItemInterface *item = m_dataItems.at( *it );
if (item)
- item->setInvalidState( TQString::tqfromLatin1("#") + i18n("NAME") + TQString::tqfromLatin1("?") );
+ item->setInvalidState( TQString::fromLatin1("#") + i18n("NAME") + TQString::fromLatin1("?") );
m_dataItems.remove(*it);
kexipluginsdbg << "invalidateDataSources(): " << (*it) << " -> " << -1 << endl;
// i++;
@@ -253,7 +253,7 @@ void KexiFormDataProvider::invalidateDataSources( const TQDict<char>& invalidSou
else {
kexipluginsdbg << "invalidateDataSources(): removing " << it.key()->dataSource() << endl;
m_dataItems.remove(it.key());
- it.key()->setInvalidState( TQString::tqfromLatin1("#") + i18n("NAME") + TQString::tqfromLatin1("?") );
+ it.key()->setInvalidState( TQString::fromLatin1("#") + i18n("NAME") + TQString::fromLatin1("?") );
}
}
#endif
@@ -275,7 +275,7 @@ void KexiFormDataProvider::invalidateDataSources( const TQDict<char>& invalidSou
for (TQPtrListIterator<KexiFormDataItemInterface> it(m_dataItems); it.current();) {
KexiFormDataItemInterface * item = it.current();
if (invalidSources[ item->dataSource().lower() ]) {
- item->setInvalidState( TQString::tqfromLatin1("#") + i18n("NAME") + TQString::tqfromLatin1("?") );
+ item->setInvalidState( TQString::fromLatin1("#") + i18n("NAME") + TQString::fromLatin1("?") );
m_dataItems.remove(item);
continue;
}