Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Cursor Class Reference
Collaboration diagram for Cursor:

Public Types

enum  Type {
  FIELD_TYPE_NULL = 0x00000000 , FIELD_TYPE_INTEGER = 0x00000001 , FIELD_TYPE_FLOAT = 0x00000002 , FIELD_TYPE_STRING = 0x00000003 ,
  FIELD_TYPE_BLOB = 0x00000004 , FIELD_TYPE_NULL = 0x00000000 , FIELD_TYPE_INTEGER = 0x00000001 , FIELD_TYPE_FLOAT = 0x00000002 ,
  FIELD_TYPE_STRING = 0x00000003 , FIELD_TYPE_BLOB = 0x00000004
}
enum  Type {
  FIELD_TYPE_NULL = 0x00000000 , FIELD_TYPE_INTEGER = 0x00000001 , FIELD_TYPE_FLOAT = 0x00000002 , FIELD_TYPE_STRING = 0x00000003 ,
  FIELD_TYPE_BLOB = 0x00000004 , FIELD_TYPE_NULL = 0x00000000 , FIELD_TYPE_INTEGER = 0x00000001 , FIELD_TYPE_FLOAT = 0x00000002 ,
  FIELD_TYPE_STRING = 0x00000003 , FIELD_TYPE_BLOB = 0x00000004
}

Public Member Functions

 Cursor (const QJniObject &object)
 ~Cursor ()
QVariant data (int columnIndex) const
bool isNull (int columnIndex) const
int columnCount () const
int rowCount () const
int row () const
bool isFirst () const
bool isLast () const
bool moveToFirst ()
bool moveToLast ()
bool moveToNext ()
 Cursor (const QJniObject &object)
 ~Cursor ()
QVariant data (int columnIndex) const
bool isNull (int columnIndex) const
int columnCount () const
int rowCount () const
int row () const
bool isFirst () const
bool isLast () const
bool moveToFirst ()
bool moveToLast ()
bool moveToNext ()

Static Public Member Functions

static std::unique_ptr< CursorqueryUri (const QJniObject &uri, const QStringList &projection={}, const QString &selection={}, const QStringList &selectionArgs={}, const QString &sortOrder={})
static QVariant queryColumn (const QJniObject &uri, const QString &column)
static std::unique_ptr< CursorqueryUri (const QJniObject &uri, const QStringList &projection={}, const QString &selection={}, const QStringList &selectionArgs={}, const QString &sortOrder={})
static QVariant queryColumn (const QJniObject &uri, const QString &column)

Detailed Description

Definition at line 328 of file androidcontentfileengine.cpp.

Member Enumeration Documentation

◆ Type [1/2]

Enumerator
FIELD_TYPE_NULL 
FIELD_TYPE_INTEGER 
FIELD_TYPE_FLOAT 
FIELD_TYPE_STRING 
FIELD_TYPE_BLOB 
FIELD_TYPE_NULL 
FIELD_TYPE_INTEGER 
FIELD_TYPE_FLOAT 
FIELD_TYPE_STRING 
FIELD_TYPE_BLOB 

Definition at line 340 of file androidcontentfileengine.cpp.

◆ Type [2/2]

Enumerator
FIELD_TYPE_NULL 
FIELD_TYPE_INTEGER 
FIELD_TYPE_FLOAT 
FIELD_TYPE_STRING 
FIELD_TYPE_BLOB 
FIELD_TYPE_NULL 
FIELD_TYPE_INTEGER 
FIELD_TYPE_FLOAT 
FIELD_TYPE_STRING 
FIELD_TYPE_BLOB 

Definition at line 340 of file androidcontentfileengine.cpp.

Constructor & Destructor Documentation

◆ Cursor() [1/2]

Cursor::Cursor ( const QJniObject & object)
inlineexplicit

Definition at line 331 of file androidcontentfileengine.cpp.

References Cursor().

Referenced by Cursor().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~Cursor() [1/2]

Cursor::~Cursor ( )
inline

Definition at line 334 of file androidcontentfileengine.cpp.

◆ Cursor() [2/2]

Cursor::Cursor ( const QJniObject & object)
inlineexplicit

Definition at line 331 of file androidcontentfileengine.cpp.

◆ ~Cursor() [2/2]

Cursor::~Cursor ( )
inline

Definition at line 334 of file androidcontentfileengine.cpp.

Member Function Documentation

◆ columnCount() [1/2]

int Cursor::columnCount ( ) const
inline

Definition at line 411 of file androidcontentfileengine.cpp.

◆ columnCount() [2/2]

int Cursor::columnCount ( ) const
inline

Definition at line 411 of file androidcontentfileengine.cpp.

◆ data() [1/2]

QVariant Cursor::data ( int columnIndex) const
inline

Definition at line 348 of file androidcontentfileengine.cpp.

References FIELD_TYPE_BLOB, and FIELD_TYPE_NULL.

◆ data() [2/2]

QVariant Cursor::data ( int columnIndex) const
inline

Definition at line 348 of file androidcontentfileengine.cpp.

◆ isFirst() [1/2]

bool Cursor::isFirst ( ) const
inline

Definition at line 414 of file androidcontentfileengine.cpp.

◆ isFirst() [2/2]

bool Cursor::isFirst ( ) const
inline

Definition at line 414 of file androidcontentfileengine.cpp.

◆ isLast() [1/2]

bool Cursor::isLast ( ) const
inline

Definition at line 415 of file androidcontentfileengine.cpp.

◆ isLast() [2/2]

bool Cursor::isLast ( ) const
inline

Definition at line 415 of file androidcontentfileengine.cpp.

◆ isNull() [1/2]

bool Cursor::isNull ( int columnIndex) const
inline

Definition at line 406 of file androidcontentfileengine.cpp.

◆ isNull() [2/2]

bool Cursor::isNull ( int columnIndex) const
inline

Definition at line 406 of file androidcontentfileengine.cpp.

◆ moveToFirst() [1/2]

bool Cursor::moveToFirst ( )
inline

Definition at line 416 of file androidcontentfileengine.cpp.

◆ moveToFirst() [2/2]

bool Cursor::moveToFirst ( )
inline

Definition at line 416 of file androidcontentfileengine.cpp.

◆ moveToLast() [1/2]

bool Cursor::moveToLast ( )
inline

Definition at line 417 of file androidcontentfileengine.cpp.

◆ moveToLast() [2/2]

bool Cursor::moveToLast ( )
inline

Definition at line 417 of file androidcontentfileengine.cpp.

◆ moveToNext() [1/2]

bool Cursor::moveToNext ( )
inline

Definition at line 418 of file androidcontentfileengine.cpp.

◆ moveToNext() [2/2]

bool Cursor::moveToNext ( )
inline

Definition at line 418 of file androidcontentfileengine.cpp.

◆ queryColumn() [1/2]

QVariant Cursor::queryColumn ( const QJniObject & uri,
const QString & column )
inlinestatic

Definition at line 394 of file androidcontentfileengine.cpp.

◆ queryColumn() [2/2]

QVariant Cursor::queryColumn ( const QJniObject & uri,
const QString & column )
inlinestatic

Definition at line 394 of file androidcontentfileengine.cpp.

◆ queryUri() [1/2]

std::unique_ptr< Cursor > Cursor::queryUri ( const QJniObject & uri,
const QStringList & projection = {},
const QString & selection = {},
const QStringList & selectionArgs = {},
const QString & sortOrder = {} )
inlinestatic

Definition at line 375 of file androidcontentfileengine.cpp.

◆ queryUri() [2/2]

std::unique_ptr< Cursor > Cursor::queryUri ( const QJniObject & uri,
const QStringList & projection = {},
const QString & selection = {},
const QStringList & selectionArgs = {},
const QString & sortOrder = {} )
inlinestatic

Definition at line 375 of file androidcontentfileengine.cpp.

◆ row() [1/2]

int Cursor::row ( ) const
inline

Definition at line 413 of file androidcontentfileengine.cpp.

◆ row() [2/2]

int Cursor::row ( ) const
inline

Definition at line 413 of file androidcontentfileengine.cpp.

◆ rowCount() [1/2]

int Cursor::rowCount ( ) const
inline

Definition at line 412 of file androidcontentfileengine.cpp.

◆ rowCount() [2/2]

int Cursor::rowCount ( ) const
inline

Definition at line 412 of file androidcontentfileengine.cpp.


The documentation for this class was generated from the following file: