Changeset View
Changeset View
Standalone View
Standalone View
kexi/widget/tableview/KexiDataTableView.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
---|---|---|---|---|---|
61 | KexiTableScrollArea* tableView() const; | 61 | KexiTableScrollArea* tableView() const; | ||
62 | 62 | | |||
63 | //! Loads settings for table into @a data model. | 63 | //! Loads settings for table into @a data model. | ||
64 | //! Used after loading data model in KexiDataTableView::setData(KexiDB::Cursor*), before calling KexiTableView::setData(). | 64 | //! Used after loading data model in KexiDataTableView::setData(KexiDB::Cursor*), before calling KexiTableView::setData(). | ||
65 | //! @return true on success | 65 | //! @return true on success | ||
66 | bool loadTableViewSettings(KexiDB::TableViewData* data); | 66 | bool loadTableViewSettings(KexiDB::TableViewData* data); | ||
67 | 67 | | |||
68 | public Q_SLOTS: | 68 | public Q_SLOTS: | ||
69 | /*! Sets data. Only works for db-aware table. */ | | |||
70 | void setData(KexiDB::Cursor *cursor); | | |||
71 | | ||||
72 | /*! Saves settings for the view. Implemented for KexiView. */ | 69 | /*! Saves settings for the view. Implemented for KexiView. */ | ||
73 | virtual bool saveSettings(); | 70 | virtual bool saveSettings(); | ||
74 | 71 | | |||
75 | protected Q_SLOTS: | 72 | protected Q_SLOTS: | ||
76 | //! @todo | 73 | //! @todo | ||
77 | void filter(); | 74 | void filter(); | ||
78 | 75 | | |||
79 | protected: | 76 | protected: | ||
80 | void init(); | 77 | void init(); | ||
81 | 78 | | |||
79 | virtual bool setWidgetData(KexiDB::Cursor *cursor); | ||||
80 | | ||||
82 | class Private; | 81 | class Private; | ||
83 | Private * const d; | 82 | Private * const d; | ||
84 | }; | 83 | }; | ||
85 | 84 | | |||
86 | #endif | 85 | #endif |