KDE3Support
k3sqlpropertymap.h File Reference
Go to the source code of this file.
Functions | |
static void | kInstallKDEPropertyMap () |
Function Documentation
◆ kInstallKDEPropertyMap()
|
inlinestatic |
Install a Qt SQL property map with entries for all KDE widgets Call this in any application using KDE widgets in Q3SqlForm or Q3DataView.
- Deprecated
- use User in the meta object to determine which Q_PROPERTY to use for any widget.
const QMetaObject *metaObject = widget->metaObject();
for (int i = 0; i < metaObject->propertyCount(); ++i) {
const QMetaProperty metaProperty = metaObject->property(i);
if (metaProperty.isUser()) {
QString propertyToUse = metaProperty.name();
break;
}
}
Definition at line 46 of file k3sqlpropertymap.h.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.