KDE3Support
Go to the documentation of this file.
20 #ifndef K3SQLPROPERTYMAP_H
21 #define K3SQLPROPERTYMAP_H
24 #include <Qt3Support/Q3SqlPropertyMap>
49 static bool installed =
false;
50 if (installed)
return;
53 Q3SqlPropertyMap *kdeMap =
new Q3SqlPropertyMap;
54 kdeMap->insert( QLatin1String(
"KColorButton"), QLatin1String(
"color") );
55 kdeMap->insert( QLatin1String(
"KComboBox"), QLatin1String(
"currentIndex") );
56 kdeMap->insert( QLatin1String(
"KDatePicker"), QLatin1String(
"date") );
57 kdeMap->insert( QLatin1String(
"KDateWidget"), QLatin1String(
"date") );
58 kdeMap->insert( QLatin1String(
"KDateTimeWidget"), QLatin1String(
"dateTime") );
59 kdeMap->insert( QLatin1String(
"KEditListBox"), QLatin1String(
"items") );
60 kdeMap->insert( QLatin1String(
"KFontCombo"), QLatin1String(
"family") );
61 kdeMap->insert( QLatin1String(
"KFontRequester"), QLatin1String(
"font") );
62 kdeMap->insert( QLatin1String(
"KFontChooser"), QLatin1String(
"font") );
63 kdeMap->insert( QLatin1String(
"KHistoryCombo"), QLatin1String(
"currentItem") );
64 kdeMap->insert( QLatin1String(
"KListWidget"), QLatin1String(
"currentItem") );
65 kdeMap->insert( QLatin1String(
"KLineEdit"), QLatin1String(
"text") );
66 kdeMap->insert( QLatin1String(
"KRestrictedLine"), QLatin1String(
"text") );
67 kdeMap->insert( QLatin1String(
"KTextBrowser"), QLatin1String(
"source") );
68 kdeMap->insert( QLatin1String(
"KTextEdit"), QLatin1String(
"text") );
69 kdeMap->insert( QLatin1String(
"KUrlRequester"), QLatin1String(
"url") );
70 kdeMap->insert( QLatin1String(
"KPasswordEdit"), QLatin1String(
"password") );
71 kdeMap->insert( QLatin1String(
"KIntNumInput"), QLatin1String(
"value") );
72 kdeMap->insert( QLatin1String(
"KIntSpinBox"), QLatin1String(
"value") );
73 kdeMap->insert( QLatin1String(
"KDoubleNumInput"), QLatin1String(
"value") );
74 Q3SqlPropertyMap::installDefaultMap( kdeMap );
78 #endif // K3SQLPROPERTYMAP_H
static void kInstallKDEPropertyMap()
Install a Qt SQL property map with entries for all KDE widgets Call this in any application using KDE...
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.