KexiQueryView Class Reference
#include <kexiqueryview.h>
Inheritance diagram for KexiQueryView:

Public Member Functions | |
| KexiQueryView (KexiMainWindow *win, QWidget *parent, const char *name=0) | |
| ~KexiQueryView () | |
Protected Member Functions | |
| virtual tristate | afterSwitchFrom (int mode) |
| virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
| virtual tristate | storeData (bool dontAsk=false) |
| tristate | executeQuery (KexiDB::QuerySchema *query) |
Protected Attributes | |
| Private * | d |
Constructor & Destructor Documentation
|
||||||||||||||||
|
Definition at line 53 of file kexiqueryview.cpp. References KexiDataTable::tableView(). |
|
|
Definition at line 60 of file kexiqueryview.cpp. References d. |
Member Function Documentation
|
|
called by KexiDialogBase::switchToViewMode() right after dialog is switched to new mode By default does nothing. Reimplement this if you need to do something after switching to this view.
Reimplemented from KexiViewBase. Definition at line 105 of file kexiqueryview.cpp. References Kexi::DesignViewMode, executeQuery(), Kexi::NoViewMode, KexiViewBase::parentDialog(), KexiQueryPart::TempData::query(), and Kexi::TextViewMode. |
|
|
Executes query query, filling the table view with query results.
Definition at line 67 of file kexiqueryview.cpp. References cancelled, KexiDB::Cursor::connection(), d, KexiDB::debug(), KexiQueryParameters::getParameters(), KexiViewBase::mainWin(), KexiDB::QuerySchema::parameters(), KexiViewBase::parentDialog(), KexiDataTable::setData(), and KexiDataTable::tableView(). Referenced by afterSwitchFrom(). |
|
|
Tells this view to store data changes on the backend. Called by KexiDialogBase::storeData(). Default implementation:
Reimpelment this for your needs. Should return true on success or cancelled when the task should be cancelled.
Reimplemented from KexiViewBase. Definition at line 139 of file kexiqueryview.cpp. References KexiViewBase::parentDialog(). |
|
||||||||||||
|
Tells this dialog to create and store data of the new object pointed by sdata on the backend. Called by KexiDialogBase::storeNewData(). Default implementation:
Reimplemented from KexiViewBase. Definition at line 129 of file kexiqueryview.cpp. References KexiViewBase::parentDialog(). |
Member Data Documentation
|
|
Definition at line 53 of file kexiqueryview.h. Referenced by executeQuery(), and ~KexiQueryView(). |
The documentation for this class was generated from the following files:
