KDE3Support
k3sqlpropertymap.h File Reference
#include <Qt3Support/Q3SqlPropertyMap>
#include <kde3support_export.h>
Go to the source code of this file.
Functions | |
static KDE_DEPRECATED void | kInstallKDEPropertyMap () |
Function Documentation
static KDE_DEPRECATED void kInstallKDEPropertyMap | ( | ) | [inline, static] |
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.