[Konsole-devel] Review Request: Split class SessionManager into ProfileManager and SessionManager

Commit Hook null at kde.org
Thu Mar 29 17:29:54 UTC 2012


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


This review has been submitted with commit 193777e21a2f813fe273abaae03961a37eb900d9 by Jekyll Wu to branch master.

- Commit Hook


On March 27, 2012, 11:55 a.m., Jekyll Wu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104425/
> -----------------------------------------------------------
> 
> (Updated March 27, 2012, 11:55 a.m.)
> 
> 
> Review request for Konsole.
> 
> 
> Description
> -------
> 
> The existing class SessionManager actually manages both profiles and sessions. Although sessions and profiles are closed related in concept, their corresponding code within existing SessionManager are mostly independent upon each other. Also, code like "SessionManager::instance()->defaultProfile()" is confusing at first sight.
> 
> The patch splits SessionManager into ProfileManager and SessionManager, each doing the job as its name implies.
> 
> Unlike previous split, this one involved new and more classes. I think it is better to be reviewd first.
> 
> 
> Diffs
> -----
> 
>   src/Application.cpp 4925fa7 
>   src/CMakeLists.txt d53fd4c 
>   src/EditProfileDialog.cpp 58c6c21 
>   src/MainWindow.cpp e7da18e 
>   src/ManageProfilesDialog.cpp 0c5e083 
>   src/Part.cpp 3051ab7 
>   src/ProfileList.cpp bc95f49 
>   src/ProfileManager.h PRE-CREATION 
>   src/ProfileManager.cpp PRE-CREATION 
>   src/SessionManager.h fe519dc 
>   src/SessionManager.cpp bc9988f 
>   src/ViewManager.cpp 52b62c0 
> 
> Diff: http://git.reviewboard.kde.org/r/104425/diff/
> 
> 
> Testing
> -------
> 
> Tested with konsoleprofile, 'konsole --profile', etc. No regression observed so far.
> 
> 
> Thanks,
> 
> Jekyll Wu
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20120329/9ae82099/attachment.html>


More information about the konsole-devel mailing list