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

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 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
void KexiQueryPart::TempData::setQuery | ( | KexiDB::QuerySchema * | query | ) |
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.
KexiDB::QuerySchema* KexiQueryPart::TempData::query | ( | ) | const [inline] |
KexiDB::QuerySchema * KexiQueryPart::TempData::takeQuery | ( | ) |
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: