Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QML OrganizerItem Element

The OrganizerItem element represents the in-memory version of a calendar organizer item, and has no tie to a specific backend calendar store. More...

  • List of all members, including inherited members
  • Properties

    Methods

    Detailed Description

    A OrganizerItem has a number of mandatory details. Different subclasses of OrganizerItem (i.e., Event, EventOccurrence, Journal, Todo, TodoOccurrence, Note) may have more mandatory details.

    If some of the organizer item details are non-unique, all of this type of detail values can be accessed by dynamic properties. For example, there are 3 comment details stored in an event item, they can be accessed by event.comments property, which holds a list of all comment details. If the dynamic property does not exist (for unique details), an undefined value is returned. The list of dynamic detail properties depends on the engine implementations.

    The OrganizerItem element is part of the QtMobility.organizer 1.1 module.

    See also Event, EventOccurrence, Journal, Todo, TodoOccurrence, Note, QOrganizerManager, and QOrganizerItem.

    Property Documentation

    description : string

    This property holds the description text of the organizer item.


    read-onlydetails : list<Detail>

    This property holds the list of ItemDetail elements that the organizer item has.


    displayLabel : string

    This property holds the display label of the organizer item.


    guid : string

    This property holds the GUID string of the organizer item.


    read-onlyisFloatingTime : bool

    This property indicates whether the organizer item created with floating date time. A floating time will always appear with the same value regardless of what time zone the user is in. A non-floating (absolute) time represents the same time regardless of the time zone, but will appear to change in value if the user's time zone changes. This property is read only.

    This documentation was introduced in QtMobility organizer 1.1.1.


    read-onlyisOccurrence : bool

    If this OrganizerItem is an occurrence item, returns true, otherwise returns false.

    This is a read only property.

    This documentation was introduced in QtMobility organizer 1.1.1.


    read-onlyitemEndTime : date

    This property holds the end date time of the OrganizerItem object. For differrent organizer item type, the return value is differrent, too.

    This documentation was introduced in QtMobility organizer 1.1.1.

    See also OrganizerItemType.


    read-onlyitemId : string

    This property holds the id of the OrganizerItem object. This property is read only.


    read-onlyitemStartTime : date

    This property holds the start date time of the OrganizerItem object. For differrent organizer item type, the return value is differrent, too.

    This documentation was introduced in QtMobility organizer 1.1.1.

    See also OrganizerItemType.


    read-onlymanager : string

    This property holds the manager uri which the OrganizerItem object comes from.


    read-onlymodified : bool

    This property holds the dirty flag of the OrganizerItem object. If the OrganizerItem has been changed, returns true, otherwise returns false.

    See also OrganizerItem::save.


    read-onlytype : string

    This property holds the type name of the organizer item. This property is read only.


    Method Documentation

    OrganizerItem::addComment ( comment )

    Addes a comment for the organizer item.

    See also OrganizerItem::clearComments().


    bool OrganizerItem::addDetail ( detail )

    Adds the given organizer item detail to the organizer item, returns true if successful, otherwise returns false.

    Note:: If the detail has been added into the same organizer item before, this operation will be ignored, so if you want to add a detail multiple times, the detail should be copied before calling this function.


    OrganizerItem::clearComments ()

    Removes all comments from the organizer item.

    See also OrganizerItem::addComment().


    OrganizerItem::clearDetails ()

    Removes all details from the organizer item.

    See also OrganizerItem::removeDetail().


    Detail OrganizerItem::detail ( name )

    This method returns an ItemDetail object which detail name is name.


    list<Detail> OrganizerItem::details ( name )

    This method returns a list of details which detail name is name.


    bool OrganizerItem::removeDetail ( detail )

    Removes given detail from the organizer item. If the detail is not removable, returns false.

    See also ItemDetail::removable.


    OrganizerItem::save ()

    Saves this OrganizerItem if the item has been modified.

    See also OrganizerItem::modified.


    X

    Thank you for giving your feedback.

    Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

    [0]; s.parentNode.insertBefore(ga, s); })();
    Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtmobility-1.1
    Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
    Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
     
     
     
     
    Partenaires

    Hébergement Web