Review Request: Save/Restore the ProjectTreeView. This enables a more seamless transition when returning to a project that was closed.

Andrew Fuller mactalla.obair at gmail.com
Sun Jan 8 05:32:09 UTC 2012



> On Jan. 7, 2012, 6:20 p.m., Milian Wolff wrote:
> > ok, a few more tidbits, then it's ready.
> > 
> > Oh and please take a look at http://api.kde.org/4.6-api/kdelibs-apidocs/kdeui/html/classKViewStateMaintainer.html - Steven (the author of both classes) told me that this is probably more useful for us.

I tried KViewStateMaintainer briefly, but it didn't seem to trigger.  I didn't investigate too deeply as api.kde.org doesn't list it for KDE 4.5, so until we bump to 4.6 it's not an option.  I did change KViewStateMaintainer to use a default constructor in order to play nice with KViewStateMaintainer should we use it in the future.


- Andrew


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103619/#review9644
-----------------------------------------------------------


On Jan. 8, 2012, 5:31 a.m., Andrew Fuller wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103619/
> -----------------------------------------------------------
> 
> (Updated Jan. 8, 2012, 5:31 a.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Description
> -------
> 
> Save/Restore the ProjectTreeView.  This enables a more seamless transition when returning to a project that was closed.
> 
> 
> Diffs
> -----
> 
>   plugins/projectmanagerview/CMakeLists.txt 7b58e8e5489819b0370f5d55e0218f063da90af2 
>   plugins/projectmanagerview/projecttreeview.h 16893f0713b83a78a5b025a55fcfa082265d4419 
>   plugins/projectmanagerview/projecttreeview.cpp 8237af513627c0459d571de2bccc275e8a4b0ae9 
>   project/CMakeLists.txt bac4b22b8a9966f4efe4080a6d24e0de17c48e12 
>   project/projectmodelsaver.h PRE-CREATION 
>   project/projectmodelsaver.cpp PRE-CREATION 
>   shell/sessioncontroller.h 551894d4131218b9ab2640e28f2c354ce319a105 
>   shell/sessioncontroller.cpp d2ee8732710e0e4bded56e547d83a3906b20b018 
> 
> Diff: http://git.reviewboard.kde.org/r/103619/diff/diff
> 
> 
> Testing
> -------
> 
> Load a session, Exit, and return.  Voilà!  The tree is right where you left it.
> 
> 
> Thanks,
> 
> Andrew Fuller
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120108/6084733a/attachment.html>


More information about the KDevelop-devel mailing list