//Auto-generated by kalyptus. DO NOT EDIT.
namespace Akonadi {
    using Kimono;
    using System;
    using Qyoto;
    /// <remarks>
    ///  This job modifies the properties of an existing collection.
    ///  @code
    ///  Akonadi.Collection collection = ...
    ///  Akonadi.CollectionModifyJob job = new Akonadi.CollectionModifyJob( collection );
    ///  if ( job.Exec() )
    ///    qDebug() << "Modified successfully";
    ///  else
    ///    qDebug() << "Error occurred";
    ///  @endcode
    /// </remarks>        <author> Volker Krause <vkrause@kde.org>
    ///  </author>
    ///         <short> Job that modifies a collection in the Akonadi storage. </short>
    [SmokeClass("Akonadi::CollectionModifyJob")]
    public class CollectionModifyJob : Akonadi.Job, IDisposable {
        protected CollectionModifyJob(Type dummy) : base((Type) null) {}
        protected new void CreateProxy() {
            interceptor = new SmokeInvocation(typeof(CollectionModifyJob), this);
        }
        /// <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);
        }
        public CollectionModifyJob(Akonadi.Collection collection) : this((Type) null) {
            CreateProxy();
            interceptor.Invoke("CollectionModifyJob#", "CollectionModifyJob(const Akonadi::Collection&)", typeof(void), typeof(Akonadi.Collection), collection);
        }
        [SmokeMethod("doStart()")]
        protected override void DoStart() {
            interceptor.Invoke("doStart", "doStart()", typeof(void));
        }
        ~CollectionModifyJob() {
            interceptor.Invoke("~CollectionModifyJob", "~CollectionModifyJob()", typeof(void));
        }
        public new void Dispose() {
            interceptor.Invoke("~CollectionModifyJob", "~CollectionModifyJob()", typeof(void));
        }
        protected new ICollectionModifyJobSignals Emit {
            get { return (ICollectionModifyJobSignals) Q_EMIT; }
        }
    }

    public interface ICollectionModifyJobSignals : Akonadi.IJobSignals {
    }
}
