Data sources

Use the APIs in this category to access data from data sources, such as XML, JSON, or SQL.

Additional resources

To learn more about data sources and how to use them in your apps, visit the Data storage documentation.


  • AsyncDataAccess -

    Allows communication with an asynchronous worker in another thread.

  • AsyncDataModel -

    A data model that manages a partial cache of data from the full data set.

  • AsyncHeaderDataModel -

    A data model that supports index paths with length of two.

  • AsyncHierarchicalDataModel -

    A data model that supports index paths with length greater than one.

  • AsyncWorker -

    Represents objects that do asynchronous work.

  • DataAccessError -

    Represents an error from a DataAccess load or save operation.

  • DataAccessErrorType -

    Represents types of data access errors.

  • DataAccessReply -

    The reply from an asynchronous data access operation.

  • DataItem -

    Class representing a single item of data in the result set.

  • DataModelDecorator -

    DataModelDecorator is used to decorate the DataModel before it is used by ListView.

  • DataQuery -

    Retrieve data for a particular view of a data source.

  • DataQueryDecorator -

    A DataQuery wrapper that can be used to extend the behaviour of existing queries.

  • DataRevision -

    Object that encapsulates revision information for some data.

  • DataSource -

    Provides access to data from an external data source.

  • DataSourceType -

    Represents data types that you can use with a DataSource.

  • HeaderDataItem -

    Class representing a single header data item.

  • HeaderDataQuery -

    Retrieve data and header data for a particular view of a data source.

  • HeaderDescriptor -

    HeaderDescriptor is used to describe the header data returned by the HeaderDataQuery.

  • JsonDataAccess -

    Provides load and save operations for JSON data.

  • NumericRevision -

    A Revision which uses a 64 bit unsigned integer as the revision.

  • Revision -

    Interface for objects that can be compared, in order to determine whether the associated data has changed.

  • SimpleQueryDataModel -

    A simple data model that loads data from a DataQuery.

  • SqlConnection -

    Connects to an SQL database and executes commands asynchronously.

  • SqlDataAccess -

    Retrieves and updates data in an SQL database.

  • SqlDataQuery -

    The default DataQuery implementation that uses an SQL select to retrieve data.

  • SqlHeaderDataQuery -

    The default HeaderDataQuery implementation that uses SQL selects to retrieve header and detail data.

  • SqlQueryUtils -

    Utility methods for performing common operations in SQL data queries.

  • SqlWorker -

    A worker that executes SQL commands in another thread.

  • QueryDataModel -

    A data model that loads its data from a DataQuery.

  • XmlDataAccess -

    Converts data from XML format to QT C++ value objects or from QT C++ value objects to XML format.

Last modified: 2014-03-13

comments powered by Disqus