KDE/kdevplatform/debugger/variable

Vladimir Prus ghost at cs.msu.su
Tue Oct 13 20:27:16 UTC 2009


On Sunday 11 October 2009 Niko Sams wrote:

> SVN commit 1033903 by nsams:
> 
> Make methods public to modify children from outside.
> (Needed in xdebug plugin)
> 
>  M  +5 -1      variablecollection.h  
> 
> 
> --- trunk/KDE/kdevplatform/debugger/variable/variablecollection.h #1033902:1033903
> @@ -140,8 +140,12 @@
>      Locals(TreeModel* model, TreeItem* parent);
>      void updateLocals(QStringList locals);
>  
> +    using TreeItem::setHasMore;
> +    using TreeItem::child;
> +    using TreeItem::childCount;
> +    using TreeItem::appendChild;
> +    using TreeItem::removeChild;
>      using TreeItem::deleteChildren;
> -    using TreeItem::setHasMore;

Why is this actually needed? Why can't xdebug plugin derive from the Variable class?

- Volodya


>  
>      friend class VariableCollection;
>  
> 




More information about the KDevelop-devel mailing list