KexiDBTimeEdit Class Reference
#include <kexidbtimeedit.h>
Inheritance diagram for KexiDBTimeEdit:

Detailed Description
A db-aware time editor.
Definition at line 31 of file kexidbtimeedit.h.
Public Slots | |
| void | setDataSource (const QString &ds) |
| Sets the name of the data source for this widget. | |
| void | setDataSourceMimeType (const QCString &ds) |
| virtual void | setReadOnly (bool set) |
Public Member Functions | |
| KexiDBTimeEdit (const QTime &time, QWidget *parent, const char *name=0) | |
| virtual | ~KexiDBTimeEdit () |
| QString | dataSource () const |
| QCString | dataSourceMimeType () const |
| virtual QVariant | value () |
| virtual void | setInvalidState (const QString &displayText) |
| virtual bool | valueIsNull () |
| virtual bool | valueIsEmpty () |
| virtual bool | isReadOnly () const |
| virtual QWidget * | widget () |
| virtual bool | cursorAtStart () |
| virtual bool | cursorAtEnd () |
| virtual void | clear () |
| clears item's data, so the data will contain NULL data | |
| virtual void | setEnabled (bool enabled) |
Protected Slots | |
| void | slotValueChanged (const QTime &) |
Protected Member Functions | |
| virtual void | setValueInternal (const QVariant &add, bool removeOld) |
Properties | |
| QString | dataSource |
| QCString | dataSourceMimeType |
| bool | readOnly |
Constructor & Destructor Documentation
|
||||||||||||||||
|
Definition at line 32 of file kexidbtimeedit.cpp. References slotValueChanged(), and KexiDataItemInterface::valueChanged(). |
|
|
Definition at line 48 of file kexidbtimeedit.cpp. |
Member Function Documentation
|
|
clears item's data, so the data will contain NULL data
Implements KexiDataItemInterface. Definition at line 144 of file kexidbtimeedit.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 134 of file kexidbtimeedit.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 125 of file kexidbtimeedit.cpp. |
|
|
Reimplemented from KexiFormDataItemInterface. Definition at line 42 of file kexidbtimeedit.h. References KexiFormDataItemInterface::dataSource(). |
|
|
Reimplemented from KexiFormDataItemInterface. Definition at line 43 of file kexidbtimeedit.h. References KexiFormDataItemInterface::dataSourceMimeType(). |
|
|
Reimplemented from KexiDataItemInterface. Definition at line 107 of file kexidbtimeedit.cpp. |
|
|
Sets the name of the data source for this widget. Data source usually means here a table or query or field name name. Reimplemented from KexiFormDataItemInterface. Definition at line 70 of file kexidbtimeedit.h. References KexiFormDataItemInterface::setDataSource(). |
|
|
Sets the mime type of the data source for this widget. Data source usually means here a "kexi/table" or "kexi/query".
Reimplemented from KexiFormDataItemInterface. Definition at line 71 of file kexidbtimeedit.h. References KexiFormDataItemInterface::setDataSourceMimeType(). |
|
|
Definition at line 63 of file kexidbtimeedit.cpp. Referenced by setInvalidState(). |
|
|
Implements KexiFormDataItemInterface. Definition at line 52 of file kexidbtimeedit.cpp. References setEnabled(), and setReadOnly(). |
|
|
Changes 'read only' flag, for this widget. Typically this flag can be passed to a widget itself, e.g. KLineEdit::setReadOnly(bool). Implements KexiFormDataItemInterface. Definition at line 114 of file kexidbtimeedit.cpp. Referenced by setInvalidState(). |
|
||||||||||||
|
Initializes this editor with add value, which should be somewhat added to the current value (already storted in m_origValue). If removeOld is true, a value should be set to add, otherwise -it should be set to current m_origValue + add, if possible. Implement this. Implements KexiDataItemInterface. Definition at line 71 of file kexidbtimeedit.cpp. References KexiDataItemInterface::m_origValue. |
|
|
Definition at line 151 of file kexidbtimeedit.cpp. Referenced by KexiDBTimeEdit(). |
|
|
Implements KexiDataItemInterface. Definition at line 91 of file kexidbtimeedit.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 102 of file kexidbtimeedit.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 97 of file kexidbtimeedit.cpp. |
|
|
Reimplemented from KexiFormDataItemInterface. Definition at line 120 of file kexidbtimeedit.cpp. |
Property Documentation
|
|
Definition at line 34 of file kexidbtimeedit.h. |
|
|
Definition at line 35 of file kexidbtimeedit.h. |
|
|
Definition at line 36 of file kexidbtimeedit.h. |
The documentation for this class was generated from the following files:
