Changeset View
Changeset View
Standalone View
Standalone View
src/widget/fields/KexiFieldListView.h
Show All 34 Lines | 34 | { | |||
---|---|---|---|---|---|
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | 36 | | |||
37 | public: | 37 | public: | ||
38 | KexiFieldListView(QWidget *parent, KexiFieldListOptions options); | 38 | KexiFieldListView(QWidget *parent, KexiFieldListOptions options); | ||
39 | virtual ~KexiFieldListView(); | 39 | virtual ~KexiFieldListView(); | ||
40 | 40 | | |||
41 | /*! Sets table or query schema \a schema. | 41 | /*! Sets table or query schema \a schema. | ||
42 | The schema object will be owned by the KexiFieldListView object. */ | 42 | The schema object will be owned by the KexiFieldListView object. */ | ||
43 | void setSchema(KDbTableOrQuerySchema* schema); | 43 | void setSchema(KDbConnection *conn, KDbTableOrQuerySchema* schema); | ||
44 | 44 | | |||
45 | /*! \return table or query schema schema set for this widget. */ | 45 | /*! \return table or query schema schema set for this widget. */ | ||
46 | KDbTableOrQuerySchema* schema() const; | 46 | KDbTableOrQuerySchema* schema() const; | ||
47 | 47 | | |||
48 | /*! \return list of selected field names. */ | 48 | /*! \return list of selected field names. */ | ||
49 | QStringList selectedFieldNames() const; | 49 | QStringList selectedFieldNames() const; | ||
50 | 50 | | |||
51 | Q_SIGNALS: | 51 | Q_SIGNALS: | ||
Show All 15 Lines |