コード例 #1
0
void NemoCalendarEventQuery::setUniqueId(const QString &uid)
{
    if (uid == mUid)
        return;
    mUid = uid;
    emit uniqueIdChanged();

    refresh();
}
コード例 #2
0
void NemoCalendarChangeInformation::setInformation(const QString &uniqueId, const KDateTime &recurrenceId)
{
    m_uniqueId = uniqueId;
    m_recurrenceId = recurrenceId;
    m_pending = false;

    emit uniqueIdChanged();
    emit recurrenceIdChanged();
    emit pendingChanged();
}
コード例 #3
0
/*!
    \qmlproperty PointingDeviceUniqueId QtQuick::TouchPoint::uniqueId
    \since 5.9

    This property holds the unique ID of the touch point or token.

    It is normally empty, because touchscreens cannot uniquely identify fingers.
    But when it is set, it is expected to uniquely identify a specific token
    (fiducial object).

    Interpreting the contents of this ID requires knowledge of the hardware and
    drivers in use (e.g. various TUIO-based touch surfaces).
*/
void QQuickTouchPoint::setUniqueId(const QPointingDeviceUniqueId &id)
{
    _uniqueId = id;
    emit uniqueIdChanged();
}