Doc: added doc for non-documented functions

Task-number: QTBUG-36985
Change-Id: I85f58c2877d83b98bf3427cbb0f567575803524f
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
Nico Vertriest 2015-04-22 13:34:38 +02:00
parent 35a125971c
commit a4848142b4
5 changed files with 29 additions and 0 deletions

View File

@ -173,6 +173,12 @@ QDBusUnixFileDescriptor &QDBusUnixFileDescriptor::operator=(const QDBusUnixFileD
return *this;
}
/*!
\fn QDBusUnixFileDescriptor &operator=(QDBusUnixFileDescriptor &&other)
Move-assigns \a other to this QDBusUnixFileDescriptor.
*/
/*!
Destroys this QDBusUnixFileDescriptor object and disposes of the Unix file descriptor that it contained.
*/

View File

@ -37,11 +37,17 @@
QT_BEGIN_NAMESPACE
/*!
Constructs a QDBusVirtualObject with \a parent.
*/
QDBusVirtualObject::QDBusVirtualObject(QObject *parent) :
QObject(parent)
{
}
/*!
Destroys the object, deleting all of its child objects.
*/
QDBusVirtualObject::~QDBusVirtualObject()
{
}

View File

@ -1409,6 +1409,12 @@ QAccessible::Id QAccessibleEvent::uniqueId() const
Constructs a new QAccessibleStateChangeEvent for \a object.
The difference to the object's previous state is in \a state.
*/
/*!
\fn QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QAccessibleInterface *iface, QAccessible::State state)
Constructs a new QAccessibleStateChangeEvent.
\a iface is the interface associated with the event
\a state is the state of the accessible object.
*/
/*!
\fn QAccessible::State QAccessibleStateChangeEvent::changedStates() const
\brief Returns the states that have been changed.

View File

@ -837,6 +837,9 @@ QString QSqlResult::executedQuery() const
return d->executedQuery;
}
/*!
Resets the number of bind parameters.
*/
void QSqlResult::resetBindCount()
{
Q_D(QSqlResult);

View File

@ -1302,6 +1302,14 @@ Qt::ItemFlags QSqlTableModel::flags(const QModelIndex &index) const
return QSqlQueryModel::flags(index) | Qt::ItemIsEditable;
}
/*!
This is an overloaded function.
It returns an empty record, having only the field names. This function can be used to
retrieve the field names of a record.
\sa QSqlRecord::isEmpty()
*/
QSqlRecord QSqlTableModel::record() const
{
return QSqlQueryModel::record();