kexi
KexiQueryPart::TempData Class Reference
#include <kexiquerypart.h>
Inheritance diagram for KexiQueryPart::TempData:

Detailed Description
Temporary data kept in memory while switching between Query Dialog's views.
Definition at line 55 of file kexiquerypart.h.
Public Member Functions | |
TempData (KexiDialogBase *parent, KexiDB::Connection *conn) | |
virtual | ~TempData () |
virtual tristate | closeListener () |
void | clearQuery () |
void | unregisterForTablesSchemaChanges () |
void | registerTableSchemaChanges (KexiDB::QuerySchema *q) |
void | setQuery (KexiDB::QuerySchema *query) |
KexiDB::QuerySchema * | query () const |
KexiDB::QuerySchema * | takeQuery () |
Public Attributes | |
KexiDB::Connection * | conn |
bool | queryChangedInPreviousView: 1 |
Protected Attributes | |
KexiDB::QuerySchema * | m_query |
Member Function Documentation
|
Closes listening object so it will be deleted and thus no longer use a conflicting table schema. Implements KexiDB::Connection::TableSchemaChangeListenerInterface. Definition at line 254 of file kexiquerypart.cpp. |
|
Definition at line 75 of file kexiquerypart.h. |
|
Assigns query query for this data. Existing query (available using query()) is deleted but only if it is not owned by parent dialog (i.e. != KexiDialogBase::schemaData()). query can be 0. If query is equal to existing query, nothing is performed. Definition at line 267 of file kexiquerypart.cpp. |
|
Takes query associated with this data (without deleting) and returns it. After this call query() == 0 Definition at line 260 of file kexiquerypart.cpp. |
Member Data Documentation
|
Connection used for retrieving definition of the query.
Definition at line 82 of file kexiquerypart.h. |
|
true, if query member has changed in previous view. Used on view switching. We're checking this flag to see if we should rebuild internal structure for DesignViewMode of regenerated sql text in TextViewMode after switch from other view. Definition at line 88 of file kexiquerypart.h. |
The documentation for this class was generated from the following files: