extragear/sdk/kdevplatform

Andreas Pakulat apaku at gmx.de
Sun Feb 14 08:58:21 UTC 2010


On 14.02.10 01:30:47, David Nolden wrote:
> SVN commit 1089793 by zwabel:
> --- trunk/extragear/sdk/kdevplatform/interfaces/icore.h #1089792:1089793
> @@ -121,6 +121,10 @@
>      /** @return true if the application is currently being shut down */
>      virtual bool shuttingDown() const = 0;
>      
> +    Q_SIGNALS:
> +        /** Emitted when the initialization of the core components has been completed */
> +        void initializationCompleted();
> +    
>  protected:
>      ICore(QObject *parent = 0);
>      static ICore *m_self;

This is not needed, you can access the real core with Core::self()
inside of shell. So this signal could be put into shell/core.h instead.
Or do you have further plans for this?

> --- trunk/extragear/sdk/kdevplatform/interfaces/isession.h #1089792:1089793
> @@ -26,6 +26,7 @@
>  #include <ksharedconfig.h>
>  #include <kurl.h>
>  
> +struct QUuid;
>  class QString;
>  class KUrl;
>  
> @@ -54,6 +55,7 @@
>      virtual KUrl::List containedProjects() const = 0;
>      virtual KUrl pluginDataArea( const IPlugin* ) = 0;
>      virtual KSharedConfig::Ptr config() = 0;
> +    virtual QUuid id() const = 0;
>  };
>  
>  }

Is this necessary? I wanted to leave the id an implementation detail and
not expose it in the public interface. I don't think it makes sense to
expose this to plugins.

Andreas

-- 
Don't look now, but there is a multi-legged creature on your shoulder.




More information about the KDevelop-devel mailing list