kexi
KexiFormManager Class Reference
Inheritance diagram for KexiFormManager:

Detailed Description
Definition at line 31 of file kexiformmanager.h.
Public Slots | |
void | setFormDataSource (const QCString &mime, const QCString &name) |
void | setDataSourceFieldOrExpression (const QString &string, const QString &caption, KexiDB::Field::Type type) |
void | insertAutoFields (const QString &sourceMimeType, const QString &sourceName, const QStringList &fields) |
Public Member Functions | |
KexiFormManager (KexiPart::Part *parent, const char *name=0) | |
virtual | ~KexiFormManager () |
virtual KAction * | action (const char *name) |
virtual void | enableAction (const char *name, bool enable) |
Protected Slots | |
void | slotHistoryCommandExecuted () |
Protected Member Functions | |
QString | translateName (const char *name) const |
Member Function Documentation
KAction * KexiFormManager::action | ( | const char * | name | ) | [virtual] |
- Returns:
- action for name.
- See also:
- enableAction()
Implements KFormDesigner::FormManager.
Definition at line 55 of file kexiformmanager.cpp.
void KexiFormManager::enableAction | ( | const char * | name, | |
bool | enable | |||
) | [virtual] |
Enables or disables actions name. KFD uses KPart's, action collection here. Kexi implements this to get (shared) actions defined elsewhere.
Implements KFormDesigner::FormManager.
Definition at line 89 of file kexiformmanager.cpp.
void KexiFormManager::insertAutoFields | ( | const QString & | sourceMimeType, | |
const QString & | sourceName, | |||
const QStringList & | fields | |||
) | [slot] |
Receives signal from KexiDataSourcePage and inserts autofields onto the current form.
Definition at line 188 of file kexiformmanager.cpp.
void KexiFormManager::setDataSourceFieldOrExpression | ( | const QString & | string, | |
const QString & | caption, | |||
KexiDB::Field::Type | type | |||
) | [slot] |
Receives signal from KexiDataSourcePage about changed widget's data source. This is because we couldn't pass objects like KexiDB::QueryColumnInfo.
Also sets following things in KexiDBAutoField:
- caption related to the data source
- data type related to the data source
Definition at line 153 of file kexiformmanager.cpp.
void KexiFormManager::setFormDataSource | ( | const QCString & | mime, | |
const QCString & | name | |||
) | [slot] |
Receives signal from KexiDataSourcePage about changed form's data source.
Definition at line 99 of file kexiformmanager.cpp.
The documentation for this class was generated from the following files: