public CollectionPropertiesDialog(Akonadi.Collection collection)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("CollectionPropertiesDialog#", "CollectionPropertiesDialog(const Akonadi::Collection&)", typeof(void), typeof(Akonadi.Collection), collection);
 }
예제 #2
0
 /// <remarks>
 ///  Sets the item fetch scope.
 ///  The ItemFetchScope controls how much of an item's data is fetched
 ///  from the server, e.g. whether to fetch the full item payload or
 ///  only meta data.
 /// <param> name="fetchScope" The new scope for item fetch operations.
 /// </param></remarks>        <short>    Sets the item fetch scope.</short>
 ///         <see> fetchScope</see>
 public void SetFetchScope(Akonadi.ItemFetchScope fetchScope)
 {
     interceptor.Invoke("setFetchScope#", "setFetchScope(Akonadi::ItemFetchScope&)", typeof(void), typeof(Akonadi.ItemFetchScope), fetchScope);
 }
예제 #3
0
 /// <remarks>
 ///  Creates a new item synchronizer.
 /// <param> name="collection" The collection we are syncing.
 /// </param><param> name="parent" The parent object.
 ///      </param></remarks>        <short>    Creates a new item synchronizer.</short>
 public ItemSync(Akonadi.Collection collection, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("ItemSync##", "ItemSync(const Akonadi::Collection&, QObject*)", typeof(void), typeof(Akonadi.Collection), collection, typeof(QObject), parent);
 }
예제 #4
0
 /// <remarks>
 ///  Call this method from retrieveItem() once the result is available.
 /// <param> name="item" The retrieved item.
 ///      </param></remarks>        <short>    Call this method from retrieveItem() once the result is available.</short>
 protected void ItemRetrieved(Akonadi.Item item)
 {
     interceptor.Invoke("itemRetrieved#", "itemRetrieved(const Akonadi::Item&)", typeof(void), typeof(Akonadi.Item), item);
 }
예제 #5
0
 /// <remarks>
 ///  Removes the given agent <code>instance.</code>
 ///      </remarks>        <short>    Removes the given agent <code>instance.</code></short>
 public void RemoveInstance(Akonadi.AgentInstance instance)
 {
     interceptor.Invoke("removeInstance#", "removeInstance(const Akonadi::AgentInstance&)", typeof(void), typeof(Akonadi.AgentInstance), instance);
 }
예제 #6
0
 public abstract void Serialize(Akonadi.Item item, QByteArray label, QIODevice data, ref int version);
예제 #7
0
 /// <remarks>
 ///  Resets the dirty flag of the given item and updates the remote id.
 ///  Call whenever you have successfully written changes back to the server.
 ///  This implicitly calls changeProcessed().
 /// <param> name="item" The changed item.
 ///      </param></remarks>        <short>    Resets the dirty flag of the given item and updates the remote id.</short>
 protected void ChangeCommitted(Akonadi.Item item)
 {
     interceptor.Invoke("changeCommitted#", "changeCommitted(const Akonadi::Item&)", typeof(void), typeof(Akonadi.Item), item);
 }
예제 #8
0
 public CollectionModifyJob(Akonadi.Collection collection)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("CollectionModifyJob#", "CollectionModifyJob(const Akonadi::Collection&)", typeof(void), typeof(Akonadi.Collection), collection);
 }
예제 #9
0
 /// <remarks>
 ///  Move the given item into the given collection.
 /// <param> name="item" The item to move.
 /// </param><param> name="target" The target collection.
 /// </param><param> name="parent" The parent object.
 ///      </param></remarks>        <short>    Move the given item into the given collection.</short>
 public ItemMoveJob(Akonadi.Item item, Akonadi.Collection target, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("ItemMoveJob###", "ItemMoveJob(const Akonadi::Item&, const Akonadi::Collection&, QObject*)", typeof(void), typeof(Akonadi.Item), item, typeof(Akonadi.Collection), target, typeof(QObject), parent);
 }
예제 #10
0
 /// <remarks>
 ///  Sets the <code>item</code> that shall be monitored.
 ///      </remarks>        <short>    Sets the <code>item</code> that shall be monitored.</short>
 public void SetItem(Akonadi.Item item)
 {
     interceptor.Invoke("setItem#", "setItem(const Akonadi::Item&)", typeof(void), typeof(Akonadi.Item), item);
 }
예제 #11
0
 /// <remarks>
 ///  Creates a new collection modify job for the given collection.
 /// <param> name="collection" The collection to modify.
 /// </param><param> name="parent" The parent object.
 ///      </param></remarks>        <short>    Creates a new collection modify job for the given collection.</short>
 public CollectionModifyJob(Akonadi.Collection collection, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("CollectionModifyJob##", "CollectionModifyJob(const Akonadi::Collection&, QObject*)", typeof(void), typeof(Akonadi.Collection), collection, typeof(QObject), parent);
 }
예제 #12
0
 protected virtual void ItemChanged(Akonadi.Item item)
 {
     interceptor.Invoke("itemChanged#", "itemChanged(const Akonadi::Item&)", typeof(void), typeof(Akonadi.Item), item);
 }
예제 #13
0
 public CollectionFetchJob(Akonadi.Collection collection, Akonadi.CollectionFetchJob.TypeOf type)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("CollectionFetchJob#$", "CollectionFetchJob(const Akonadi::Collection&, Akonadi::CollectionFetchJob::Type)", typeof(void), typeof(Akonadi.Collection), collection, typeof(Akonadi.CollectionFetchJob.TypeOf), type);
 }
 /// <remarks>
 ///  Register custom pages for the collection properties dialog.
 /// <param> name="factory" The properties page factory that provides the custom page.
 /// </param></remarks>        <short>    Register custom pages for the collection properties dialog.</short>
 ///         <see> Akonadi.CollectionPropertiesPageFactory</see>
 public static void RegisterPage(Akonadi.CollectionPropertiesPageFactory factory)
 {
     staticInterceptor.Invoke("registerPage#", "registerPage(Akonadi::CollectionPropertiesPageFactory*)", typeof(void), typeof(Akonadi.CollectionPropertiesPageFactory), factory);
 }
예제 #15
0
 /// <remarks>
 ///  Sets the label of the action <code>type</code> to <code>text</code>, which is used during
 ///  updating the action state and substituted according to the number of
 ///  selected objects. This is mainly useful to customize the label of actions
 ///  that can operate on multiple objects.
 ///  Example:
 ///  @code
 ///  acctMgr.SetActionText( Akonadi.StandardActionManager.CopyItems,
 ///                          ki18np( "Copy Mail", "Copy %1 Mails" ) );
 ///  @endcode
 ///      </remarks>        <short>    Sets the label of the action <code>type</code> to <code>text</code>, which is used during  updating the action state and substituted according to the number of  selected objects.</short>
 public void SetActionText(Akonadi.StandardActionManager.TypeOf type, KLocalizedString text)
 {
     interceptor.Invoke("setActionText$#", "setActionText(Akonadi::StandardActionManager::Type, const KLocalizedString&)", typeof(void), typeof(Akonadi.StandardActionManager.TypeOf), type, typeof(KLocalizedString), text);
 }
예제 #16
0
 /// <remarks>
 ///  Creates an entity from an <code>other</code> entity.
 ///      </remarks>        <short>    Creates an entity from an <code>other</code> entity.</short>
 public Entity(Akonadi.Entity other)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Entity#", "Entity(const Akonadi::Entity&)", typeof(void), typeof(Akonadi.Entity), other);
 }
예제 #17
0
 public abstract bool Deserialize(Akonadi.Item item, QByteArray label, QIODevice data, int version);
예제 #18
0
 /// <remarks>
 ///  Adds an attribute to the entity.
 ///  If an attribute of the same type name already exists, it is deleted and
 ///  replaced with the new one.
 /// <param> name="attribute" The new attribute.
 /// </param> @note The entity takes the ownership of the attribute.
 ///      </remarks>        <short>    Adds an attribute to the entity.</short>
 public void AddAttribute(Akonadi.Attribute attribute)
 {
     interceptor.Invoke("addAttribute#", "addAttribute(Akonadi::Attribute*)", typeof(void), typeof(Akonadi.Attribute), attribute);
 }
예제 #19
0
 /// <remarks>
 ///  Returns the model index for the given item, with the given column.
 /// <param> name="item" The item to find.
 /// </param><param> name="column" The column for the returned index.
 ///      </param></remarks>        <short>    Returns the model index for the given item, with the given column.</short>
 public QModelIndex IndexForItem(Akonadi.Item item, int column)
 {
     return (QModelIndex) interceptor.Invoke("indexForItem#$", "indexForItem(const Akonadi::Item&, const int) const", typeof(QModelIndex), typeof(Akonadi.Item), item, typeof(int), column);
 }
예제 #20
0
 /// <remarks>
 ///  Creates a cache policy from an <code>other</code> cache policy.
 ///      </remarks>        <short>    Creates a cache policy from an <code>other</code> cache policy.</short>
 public CachePolicy(Akonadi.CachePolicy other)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("CachePolicy#", "CachePolicy(const Akonadi::CachePolicy&)", typeof(void), typeof(Akonadi.CachePolicy), other);
 }
예제 #21
0
 /// <remarks>
 ///  Call whenever you have successfully handled or ignored a collection
 ///  change notification.
 ///  This will update the remote identifier of <code>collection</code> if necessary,
 ///  as well as any other collection attributes.
 ///  This implicitly calls changeProcessed().
 /// <param> name="collection" The collection which changes have been handled.
 ///     </param></remarks>        <short>    Call whenever you have successfully handled or ignored a collection  change notification.</short>
 protected void ChangeCommitted(Akonadi.Collection collection)
 {
     interceptor.Invoke("changeCommitted#", "changeCommitted(const Akonadi::Collection&)", typeof(void), typeof(Akonadi.Collection), collection);
 }
예제 #22
0
 public ItemCopyJob(Akonadi.Item item, Akonadi.Collection target)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("ItemCopyJob##", "ItemCopyJob(const Akonadi::Item&, const Akonadi::Collection&)", typeof(void), typeof(Akonadi.Item), item, typeof(Akonadi.Collection), target);
 }
예제 #23
0
 protected abstract void RetrieveItems(Akonadi.Collection collection);
예제 #24
0
 public ItemCopyJob(List<Akonadi.Item> items, Akonadi.Collection target)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("ItemCopyJob?#", "ItemCopyJob(const QList<Akonadi::Item>&, const Akonadi::Collection&)", typeof(void), typeof(List<Akonadi.Item>), items, typeof(Akonadi.Collection), target);
 }
예제 #25
0
 /// <remarks>
 ///  Trigger a synchronization of the given collection by its owning resource agent.
 /// <param> name="collection" The collection to synchronize.
 ///      </param></remarks>        <short>    Trigger a synchronization of the given collection by its owning resource agent.</short>
 public void SynchronizeCollection(Akonadi.Collection collection)
 {
     interceptor.Invoke("synchronizeCollection#", "synchronizeCollection(const Akonadi::Collection&)", typeof(void), typeof(Akonadi.Collection), collection);
 }
예제 #26
0
 /// <remarks>
 ///  Returns the action of the given type, 0 if it has not been created (yet).
 ///      </remarks>        <short>    Returns the action of the given type, 0 if it has not been created (yet).</short>
 public KAction Action(Akonadi.StandardActionManager.TypeOf type)
 {
     return (KAction) interceptor.Invoke("action$", "action(Akonadi::StandardActionManager::Type) const", typeof(KAction), typeof(Akonadi.StandardActionManager.TypeOf), type);
 }
예제 #27
0
 protected virtual bool UpdateItem(Akonadi.Item storedItem, Akonadi.Item newItem)
 {
     return (bool) interceptor.Invoke("updateItem##", "updateItem(const Akonadi::Item&, Akonadi::Item&)", typeof(bool), typeof(Akonadi.Item), storedItem, typeof(Akonadi.Item), newItem);
 }
예제 #28
0
 /// <remarks>
 ///  Creates the action of the given type and adds it to the action collection
 ///  specified in the constructor if it does not exist yet. The action is
 ///  connected to its default implementation provided by this class.
 ///      </remarks>        <short>    Creates the action of the given type and adds it to the action collection  specified in the constructor if it does not exist yet.</short>
 public KAction CreateAction(Akonadi.StandardActionManager.TypeOf type)
 {
     return (KAction) interceptor.Invoke("createAction$", "createAction(Akonadi::StandardActionManager::Type)", typeof(KAction), typeof(Akonadi.StandardActionManager.TypeOf), type);
 }
예제 #29
0
 public ItemSync(Akonadi.Collection collection)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("ItemSync#", "ItemSync(const Akonadi::Collection&)", typeof(void), typeof(Akonadi.Collection), collection);
 }
 /// <remarks>
 ///  Creates a new collection properties dialog.
 /// <param> name="collection" The collection which properties should be shown.
 /// </param><param> name="parent" The parent widget.
 ///      </param></remarks>        <short>    Creates a new collection properties dialog.</short>
 public CollectionPropertiesDialog(Akonadi.Collection collection, QWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("CollectionPropertiesDialog##", "CollectionPropertiesDialog(const Akonadi::Collection&, QWidget*)", typeof(void), typeof(Akonadi.Collection), collection, typeof(QWidget), parent);
 }