Changeset View
Changeset View
Standalone View
Standalone View
src/migration/KexiSqlMigrate.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 41 | protected: | |||
---|---|---|---|---|---|
68 | 68 | | |||
69 | bool drv_getTableSize(const QString& table, quint64* size) Q_DECL_OVERRIDE; | 69 | bool drv_getTableSize(const QString& table, quint64* size) Q_DECL_OVERRIDE; | ||
70 | 70 | | |||
71 | //! @todo move this somewhere to low level class (MIGRATION?) virtual bool drv_getTablesList( QStringList &list ); | 71 | //! @todo move this somewhere to low level class (MIGRATION?) virtual bool drv_getTablesList( QStringList &list ); | ||
72 | //! @todo move this somewhere to low level class (MIGRATION?) virtual bool drv_containsTable( const QString &tableName ); | 72 | //! @todo move this somewhere to low level class (MIGRATION?) virtual bool drv_containsTable( const QString &tableName ); | ||
73 | 73 | | |||
74 | //Extended API | 74 | //Extended API | ||
75 | //! Starts reading data from the source dataset's table | 75 | //! Starts reading data from the source dataset's table | ||
76 | KDbSqlResult* drv_readFromTable(const QString & tableName) Q_DECL_OVERRIDE; | 76 | QSharedPointer<KDbSqlResult> drv_readFromTable(const QString & tableName) Q_DECL_OVERRIDE; | ||
77 | 77 | | |||
78 | const QString m_kdbDriverId; | 78 | const QString m_kdbDriverId; | ||
79 | 79 | | |||
80 | //! Used by drv_tableNames, should be filled in constructor of a subclass | 80 | //! Used by drv_tableNames, should be filled in constructor of a subclass | ||
81 | KDbEscapedString m_tableNamesSql; | 81 | KDbEscapedString m_tableNamesSql; | ||
82 | }; | 82 | }; | ||
83 | 83 | | |||
84 | #endif | 84 | #endif |