diff --git a/lightweight/calendareventsmodel/plugins.qmltypes b/lightweight/calendareventsmodel/plugins.qmltypes index 91916912..7065f514 100644 --- a/lightweight/calendareventsmodel/plugins.qmltypes +++ b/lightweight/calendareventsmodel/plugins.qmltypes @@ -7,9 +7,9 @@ import QtQuick.tooling 1.2 // 'qmlplugindump -nonrelocatable org.nemomobile.calendar.lightweight 1.0' Module { - dependencies: [] + dependencies: ["QtQuick 2.0"] Component { - name: "NemoCalendarEventsModel" + name: "CalendarEventsModel" prototype: "QAbstractListModel" exports: [ "org.nemomobile.calendar.lightweight/CalendarEventsModel 1.0" @@ -43,269 +43,4 @@ Module { Property { name: "eventDisplayTime"; type: "int" } Method { name: "update" } } - Component { - name: "QAbstractItemModel" - prototype: "QObject" - Enum { - name: "LayoutChangeHint" - values: { - "NoLayoutChangeHint": 0, - "VerticalSortHint": 1, - "HorizontalSortHint": 2 - } - } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - Parameter { name: "roles"; type: "QVector" } - } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - } - Signal { - name: "headerDataChanged" - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutChanged" } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutAboutToBeChanged" } - Signal { - name: "rowsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { name: "modelAboutToBeReset" } - Signal { name: "modelReset" } - Signal { - name: "rowsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationRow"; type: "int" } - } - Signal { - name: "rowsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "row"; type: "int" } - } - Signal { - name: "columnsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationColumn"; type: "int" } - } - Signal { - name: "columnsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "column"; type: "int" } - } - Method { name: "submit"; type: "bool" } - Method { name: "revert" } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "parent" - type: "QModelIndex" - Parameter { name: "child"; type: "QModelIndex" } - } - Method { - name: "sibling" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "idx"; type: "QModelIndex" } - } - Method { - name: "rowCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "rowCount"; type: "int" } - Method { - name: "columnCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "columnCount"; type: "int" } - Method { - name: "hasChildren" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "hasChildren"; type: "bool" } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - } - Method { - name: "fetchMore" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "canFetchMore" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "flags" - type: "Qt::ItemFlags" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - Parameter { name: "flags"; type: "Qt::MatchFlags" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - } - } - Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } } diff --git a/src/plugins.qmltypes b/src/plugins.qmltypes index 809067d0..5467efcf 100644 --- a/src/plugins.qmltypes +++ b/src/plugins.qmltypes @@ -7,9 +7,9 @@ import QtQuick.tooling 1.2 // 'qmlplugindump -nonrelocatable org.nemomobile.calendar 1.0' Module { - dependencies: [] + dependencies: ["QtQuick 2.0"] Component { - name: "NemoCalendarAgendaModel" + name: "CalendarAgendaModel" prototype: "QAbstractListModel" exports: ["org.nemomobile.calendar/AgendaModel 1.0"] exportMetaObjectRevisions: [0] @@ -41,7 +41,7 @@ Module { } } Component { - name: "NemoCalendarApi" + name: "CalendarApi" prototype: "QObject" exports: ["org.nemomobile.calendar/Calendar 1.0"] isCreatable: false @@ -49,11 +49,11 @@ Module { exportMetaObjectRevisions: [0] Property { name: "excludedNotebooks"; type: "QStringList" } Property { name: "defaultNotebook"; type: "string" } - Method { name: "createNewEvent"; type: "NemoCalendarEventModification*" } + Method { name: "createNewEvent"; type: "CalendarEventModification*" } Method { name: "createModification" - type: "NemoCalendarEventModification*" - Parameter { name: "sourceEvent"; type: "NemoCalendarEvent"; isPointer: true } + type: "CalendarEventModification*" + Parameter { name: "sourceEvent"; type: "CalendarEvent"; isPointer: true } } Method { name: "remove" @@ -76,7 +76,7 @@ Module { } } Component { - name: "NemoCalendarChangeInformation" + name: "CalendarChangeInformation" prototype: "QObject" exports: ["org.nemomobile.calendar/CalendarChangeInformation 1.0"] isCreatable: false @@ -86,7 +86,43 @@ Module { Property { name: "recurrenceId"; type: "string"; isReadonly: true } } Component { - name: "NemoCalendarEvent" + name: "CalendarContactModel" + prototype: "QAbstractListModel" + exports: ["org.nemomobile.calendar/ContactModel 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "count"; type: "int"; isReadonly: true } + Method { + name: "append" + Parameter { name: "name"; type: "string" } + Parameter { name: "email"; type: "string" } + } + Method { + name: "prepend" + Parameter { name: "name"; type: "string" } + Parameter { name: "email"; type: "string" } + } + Method { + name: "remove" + Parameter { name: "index"; type: "int" } + } + Method { + name: "hasEmail" + type: "bool" + Parameter { name: "email"; type: "string" } + } + Method { + name: "name" + type: "string" + Parameter { name: "index"; type: "int" } + } + Method { + name: "email" + type: "string" + Parameter { name: "index"; type: "int" } + } + } + Component { + name: "CalendarEvent" prototype: "QObject" exports: ["org.nemomobile.calendar/CalendarEvent 1.0"] isCreatable: false @@ -127,43 +163,25 @@ Module { "ResponseDecline": 3 } } - Enum { - name: "ParticipantStatus" - values: { - "NeedsAction": 0, - "Accepted": 1, - "Declined": 2, - "Tentative": 3, - "Delegated": 4 - } - } - Enum { - name: "AttendeeRole" - values: { - "ReqParticipant": 0, - "OptParticipant": 1, - "NonParticipant": 2, - "Chair": 3 - } - } Property { name: "displayLabel"; type: "string"; isReadonly: true } Property { name: "description"; type: "string"; isReadonly: true } Property { name: "startTime"; type: "QDateTime"; isReadonly: true } Property { name: "endTime"; type: "QDateTime"; isReadonly: true } Property { name: "allDay"; type: "bool"; isReadonly: true } - Property { name: "recur"; type: "NemoCalendarEvent::Recur"; isReadonly: true } + Property { name: "recur"; type: "CalendarEvent::Recur"; isReadonly: true } Property { name: "recurEndDate"; type: "QDateTime"; isReadonly: true } Property { name: "hasRecurEndDate"; type: "bool"; isReadonly: true } Property { name: "reminder"; type: "int"; isReadonly: true } Property { name: "uniqueId"; type: "string"; isReadonly: true } Property { name: "recurrenceId"; type: "string"; isReadonly: true } Property { name: "color"; type: "string"; isReadonly: true } - Property { name: "readonly"; type: "bool"; isReadonly: true } + Property { name: "readOnly"; type: "bool"; isReadonly: true } Property { name: "calendarUid"; type: "string"; isReadonly: true } Property { name: "location"; type: "string"; isReadonly: true } - Property { name: "secrecy"; type: "NemoCalendarEvent::Secrecy"; isReadonly: true } - Property { name: "ownerStatus"; type: "NemoCalendarEvent::Response"; isReadonly: true } + Property { name: "secrecy"; type: "CalendarEvent::Secrecy"; isReadonly: true } + Property { name: "ownerStatus"; type: "CalendarEvent::Response"; isReadonly: true } Property { name: "rsvp"; type: "bool"; isReadonly: true } + Property { name: "externalInvitation"; type: "bool"; isReadonly: true } Method { name: "sendResponse" type: "bool" @@ -177,7 +195,7 @@ Module { Method { name: "vCalendar"; type: "string" } } Component { - name: "NemoCalendarEventModification" + name: "CalendarEventModification" prototype: "QObject" exports: ["org.nemomobile.calendar/CalendarEventModification 1.0"] isCreatable: false @@ -187,7 +205,7 @@ Module { Property { name: "startTime"; type: "QDateTime"; isReadonly: true } Property { name: "endTime"; type: "QDateTime"; isReadonly: true } Property { name: "allDay"; type: "bool" } - Property { name: "recur"; type: "NemoCalendarEvent::Recur" } + Property { name: "recur"; type: "CalendarEvent::Recur" } Property { name: "recurEndDate"; type: "QDateTime"; isReadonly: true } Property { name: "hasRecurEndDate"; type: "bool"; isReadonly: true } Property { name: "recurrenceId"; type: "string"; isReadonly: true } @@ -209,15 +227,20 @@ Module { Parameter { name: "dateTime"; type: "QDateTime" } } Method { name: "unsetRecurEndDate" } + Method { + name: "setAttendees" + Parameter { name: "required"; type: "CalendarContactModel"; isPointer: true } + Parameter { name: "optional"; type: "CalendarContactModel"; isPointer: true } + } Method { name: "save" } Method { name: "replaceOccurrence" - type: "NemoCalendarChangeInformation*" - Parameter { name: "occurrence"; type: "NemoCalendarEventOccurrence"; isPointer: true } + type: "CalendarChangeInformation*" + Parameter { name: "occurrence"; type: "CalendarEventOccurrence"; isPointer: true } } } Component { - name: "NemoCalendarEventQuery" + name: "CalendarEventQuery" prototype: "QObject" exports: ["org.nemomobile.calendar/EventQuery 1.0"] exportMetaObjectRevisions: [0] @@ -234,7 +257,7 @@ Module { } } Component { - name: "NemoCalendarImportModel" + name: "CalendarImportModel" prototype: "QAbstractListModel" exports: ["org.nemomobile.calendar/ImportModel 1.0"] exportMetaObjectRevisions: [0] @@ -254,7 +277,7 @@ Module { Method { name: "importToNotebook"; type: "bool" } } Component { - name: "NemoCalendarInvitationQuery" + name: "CalendarInvitationQuery" prototype: "QObject" exports: ["org.nemomobile.calendar/InvitationQuery 1.0"] exportMetaObjectRevisions: [0] @@ -268,7 +291,7 @@ Module { Method { name: "query" } } Component { - name: "NemoCalendarNotebookModel" + name: "CalendarNotebookModel" prototype: "QAbstractListModel" exports: ["org.nemomobile.calendar/NotebookModel 1.0"] exportMetaObjectRevisions: [0] @@ -276,7 +299,7 @@ Module { Method { name: "notebooksChanged" } } Component { - name: "NemoCalendarNotebookQuery" + name: "CalendarNotebookQuery" prototype: "QObject" exports: ["org.nemomobile.calendar/NotebookQuery 1.0"] exportMetaObjectRevisions: [0] @@ -306,276 +329,21 @@ Module { "ChairParticipant": 3 } } - Property { name: "name"; type: "string"; isReadonly: true } - Property { name: "email"; type: "string"; isReadonly: true } - Property { name: "isOrganizer"; type: "bool"; isReadonly: true } - Property { name: "participationRole"; type: "int"; isReadonly: true } - } - Component { - name: "QAbstractItemModel" - prototype: "QObject" Enum { - name: "LayoutChangeHint" + name: "ParticipationStatus" values: { - "NoLayoutChangeHint": 0, - "VerticalSortHint": 1, - "HorizontalSortHint": 2 + "UnknownParticipation": 0, + "AcceptedParticipation": 1, + "DeclinedParticipation": 2, + "TentativeParticipation": 3 } } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - Parameter { name: "roles"; type: "QVector" } - } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - } - Signal { - name: "headerDataChanged" - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutChanged" } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutAboutToBeChanged" } - Signal { - name: "rowsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { name: "modelAboutToBeReset" } - Signal { name: "modelReset" } - Signal { - name: "rowsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationRow"; type: "int" } - } - Signal { - name: "rowsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "row"; type: "int" } - } - Signal { - name: "columnsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationColumn"; type: "int" } - } - Signal { - name: "columnsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "column"; type: "int" } - } - Method { name: "submit"; type: "bool" } - Method { name: "revert" } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "parent" - type: "QModelIndex" - Parameter { name: "child"; type: "QModelIndex" } - } - Method { - name: "sibling" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "idx"; type: "QModelIndex" } - } - Method { - name: "rowCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "rowCount"; type: "int" } - Method { - name: "columnCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "columnCount"; type: "int" } - Method { - name: "hasChildren" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "hasChildren"; type: "bool" } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - } - Method { - name: "fetchMore" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "canFetchMore" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "flags" - type: "Qt::ItemFlags" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - Parameter { name: "flags"; type: "Qt::MatchFlags" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - } + Property { name: "name"; type: "string"; isReadonly: true } + Property { name: "email"; type: "string"; isReadonly: true } + Property { name: "isOrganizer"; type: "bool"; isReadonly: true } + Property { name: "participationRole"; type: "int"; isReadonly: true } + Property { name: "participationStatus"; type: "int"; isReadonly: true } } - Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } Component { name: "QtDate" prototype: "QObject"