Changeset View
Changeset View
Standalone View
Standalone View
src/migration/tsv/TsvMigrate.h
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 45 | protected: | |||
---|---|---|---|---|---|
57 | bool drv_copyTable(const QString& srcTable, KDbConnection *destConn, | 57 | bool drv_copyTable(const QString& srcTable, KDbConnection *destConn, | ||
58 | KDbTableSchema* dstTable, | 58 | KDbTableSchema* dstTable, | ||
59 | const RecordFilter *recordFilter = 0) Q_DECL_OVERRIDE; | 59 | const RecordFilter *recordFilter = 0) Q_DECL_OVERRIDE; | ||
60 | 60 | | |||
61 | //! Read schema for a given table | 61 | //! Read schema for a given table | ||
62 | virtual bool drv_readTableSchema(const QString& originalName, KDbTableSchema *tableSchema); | 62 | virtual bool drv_readTableSchema(const QString& originalName, KDbTableSchema *tableSchema); | ||
63 | 63 | | |||
64 | //! Starts reading data from the source dataset's table | 64 | //! Starts reading data from the source dataset's table | ||
65 | KDbSqlResult* drv_readFromTable(const QString & tableName) Q_DECL_OVERRIDE; | 65 | QSharedPointer<KDbSqlResult> drv_readFromTable(const QString & tableName) Q_DECL_OVERRIDE; | ||
66 | 66 | | |||
67 | private: | 67 | private: | ||
68 | bool openFile(FileInfo *info); | 68 | bool openFile(FileInfo *info); | ||
69 | }; | 69 | }; | ||
70 | 70 | | |||
71 | } | 71 | } | ||
72 | 72 | | |||
73 | #endif | 73 | #endif |