Changeset View
Changeset View
Standalone View
Standalone View
src/core/kexipart.h
Show First 20 Lines • Show All 211 Lines • ▼ Show 20 Line(s) | 208 | Part(QObject *parent, | |||
---|---|---|---|---|---|
212 | const QVariantList& list); | 212 | const QVariantList& list); | ||
213 | 213 | | |||
214 | //! Used by StaticPart | 214 | //! Used by StaticPart | ||
215 | Part(QObject* parent, StaticPartInfo *info); | 215 | Part(QObject* parent, StaticPartInfo *info); | ||
216 | 216 | | |||
217 | virtual void initPartActions(); | 217 | virtual void initPartActions(); | ||
218 | virtual void initInstanceActions(); | 218 | virtual void initInstanceActions(); | ||
219 | 219 | | |||
220 | /*! Can be reimplemented if object data is extended behind the default set of properties. | 220 | /*! Can be reimplemented if object data is extended beyond the default set of properties. This | ||
221 | This is the case for table and query schema objects, | 221 | is the case for table and query schema objects, where object of KDbObject subclass is returned. | ||
222 | where object of KDbObject subclass is returned. | 222 | In this case value pointed by @a ownedByWindow is set to false. Default implemenatation returns | ||
223 | In this case value pointed by @a ownedByWindow is set to false. | 223 | owned KDbObject object (value pointed by @a ownedByWindow is set to true). | ||
224 | Default implemenatation owned (value pointed by @a ownedByWindow is set to true). */ | 224 | @a ownedByWindow is required. */ | ||
225 | virtual KDbObject* loadSchemaObject(KexiWindow *window, | 225 | virtual KDbObject *loadSchemaObject(KexiWindow *window, const KDbObject &object, | ||
226 | const KDbObject& object, Kexi::ViewMode viewMode, bool *ownedByWindow); | 226 | Kexi::ViewMode viewMode, bool *ownedByWindow) Q_REQUIRED_RESULT; | ||
227 | 227 | | |||
228 | bool loadDataBlock(KexiWindow *window, QString *dataString, const QString& dataID = QString()); | 228 | bool loadDataBlock(KexiWindow *window, QString *dataString, const QString& dataID = QString()); | ||
229 | 229 | | |||
230 | /*! Creates shared action for action collection declared | 230 | /*! Creates shared action for action collection declared | ||
231 | for 'instance actions' of this part. | 231 | for 'instance actions' of this part. | ||
232 | See KexiSharedActionHost::createSharedAction() for details. | 232 | See KexiSharedActionHost::createSharedAction() for details. | ||
233 | Pass desired QAction subclass with \a subclassName (e.g. "KToggleAction") to have | 233 | Pass desired QAction subclass with \a subclassName (e.g. "KToggleAction") to have | ||
234 | that subclass allocated instead just QAction (what is the default). */ | 234 | that subclass allocated instead just QAction (what is the default). */ | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |