summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/session.h
Commit message (Collapse)AuthorAgeFilesLines
* Project: Add a option to synchronize kits and build/deploy across projectsDaniel Teske2015-09-151-0/+12
| | | | | | | | | | | This is far from perfect but seems to work. Further work could add more fine grained control over which projects are affected by the automatic synchronize. Also there might be a few cases where the switching is over zealous or missing. Change-Id: I26ad3d59431251564917e4b408c66695dc454823 Task-number: QTCREATORBUG-5823 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* SessionManager::projects() return a copy instead of a const&Daniel Teske2015-04-231-1/+1
| | | | | | | | | Fixes a crash on session restore for Eike. Iterating over a const & of the list is dangerous while projects are added to the list. Change-Id: I1861b7f1875420769c2493fb0b4012728380efd2 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Use Qt5 connects in ProjectExplorer and Sessionhjk2015-02-231-2/+2
| | | | | | | | | This is a first, self-contained step only: Replac the connects themselves, rename private slots that coincide with signal names, apply minimal compile fixes and formatting. Change-Id: I0a28d2ebcf4d4f6fdf68a06f582ed962ed54724d Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* ProjectExplorer: Use FileName for Node::pathOrgad Shaneh2015-02-131-3/+3
| | | | | | Change-Id: I4a41cfb629be8bb06b4b0616cd4475525e617a51 Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Merge commit '3c85058694ee2e41658d17f524fb48f0b187d2fe'Eike Ziller2015-02-121-6/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/tooltip/tipcontents.cpp src/libs/utils/tooltip/tipcontents.h src/plugins/android/androiddeployqtstep.cpp src/plugins/baremetal/baremetalconstants.h src/plugins/baremetal/baremetaldevice.cpp src/plugins/baremetal/baremetaldevice.h src/plugins/baremetal/baremetaldeviceconfigurationwidget.cpp src/plugins/baremetal/baremetaldeviceconfigurationwidget.h src/plugins/baremetal/baremetaldeviceconfigurationwizard.cpp src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.cpp src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.h src/plugins/baremetal/baremetalplugin.cpp src/plugins/baremetal/baremetalplugin.h src/plugins/baremetal/baremetalruncontrolfactory.cpp src/plugins/baremetal/baremetalruncontrolfactory.h src/plugins/cppeditor/cppcodemodelinspectordialog.cpp src/plugins/cppeditor/cppdoxygen_test.cpp src/plugins/cppeditor/cppdoxygen_test.h src/plugins/debugger/breakpointmarker.cpp src/plugins/debugger/debuggeritemmodel.cpp src/plugins/debugger/debuggeritemmodel.h src/plugins/debugger/loadcoredialog.cpp src/plugins/genericprojectmanager/cppmodelmanagerhelper.cpp src/plugins/projectexplorer/addnewmodel.cpp src/plugins/projectexplorer/addnewmodel.h src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp src/plugins/qmlprofiler/abstracttimelinemodel.cpp src/plugins/qmlprofiler/abstracttimelinemodel.h src/plugins/qmlprofiler/notesmodel.cpp src/plugins/qmlprofiler/qml/CategoryLabel.qml src/plugins/qmlprofiler/qml/MainView.qml src/plugins/qmlprofiler/qml/Overview.js src/plugins/qmlprofiler/qml/Overview.qml src/plugins/qmlprofiler/qml/TimeDisplay.qml src/plugins/qmlprofiler/qml/TimeMarks.qml src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp src/plugins/qmlprofiler/sortedtimelinemodel.cpp src/plugins/qmlprofiler/sortedtimelinemodel.h src/plugins/qmlprofiler/timelinemodelaggregator.cpp src/plugins/qmlprofiler/timelinemodelaggregator.h src/plugins/qmlprofiler/timelinerenderer.cpp src/plugins/qmlprofiler/timelinerenderer.h src/plugins/qmlprojectmanager/QmlProjectManager.json.in src/plugins/texteditor/findinfiles.cpp src/plugins/vcsbase/vcsconfigurationpage.cpp src/shared/qbs src/shared/scriptwrapper/interface_wrap_helpers.h src/shared/scriptwrapper/wrap_helpers.h tests/auto/qmlprofiler/abstracttimelinemodel/tst_abstracttimelinemodel.cpp tests/system/suite_debugger/tst_debug_empty_main/test.py tests/system/suite_debugger/tst_qml_js_console/test.py tests/system/suite_debugger/tst_qml_locals/test.py Change-Id: I67540b648f8b162496f4aa606b04d50c7c9125c6
| * Update LicenseEike Ziller2015-01-161-6/+6
| | | | | | | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* | Completely rework currentNode/currentProject handlingDaniel Teske2014-12-031-2/+2
|/ | | | | | | | | | | Centralize the handling inside a new class ProjectTree. React to moving focus and remove most special handling. This properly fixes the linked task. Task-number: QTCREATORBUG-13357 Change-Id: I6b06aa32b1e4305ec8a6d432857b302585d8734b Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* SessionManager; configureEditors on project opening/parsingDaniel Teske2014-11-051-0/+2
| | | | | | | | | | | | | | So far editors were only configured on opening, which meant that if a project was opened after the file was already open, the editor settings were wrong. This commit fixes that by connecting to project opening. Also due to changes in how qmake projects are parsed on initial opening the project has a empty filelist. Connecting to fileListChanged() fixes that too. Task-number: QTCREATORBUG-13299 Change-Id: Ia648818c8c0adb9c6e5047b8c855b1f6790a7ae2 Reviewed-by: David Schulz <david.schulz@digia.com>
* Merge "Merge remote-tracking branch 'origin/3.2'"Eike Ziller2014-10-141-7/+8
|\
| * Merge remote-tracking branch 'origin/3.2'Eike Ziller2014-10-141-7/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/ipaddresslineedit.cpp src/libs/utils/logging.h src/plugins/analyzerbase/AnalyzerBase.pluginspec.in src/plugins/android/Android.pluginspec.in src/plugins/android/androiddeploystep.cpp src/plugins/android/androiddeploystep.h src/plugins/android/androiddeploystepfactory.cpp src/plugins/android/androiddeploystepwidget.cpp src/plugins/android/androidpackagecreationfactory.cpp src/plugins/android/androidpackagecreationstep.cpp src/plugins/android/androidpackagecreationstep.h src/plugins/android/androidpackagecreationwidget.cpp src/plugins/android/androidpackagecreationwidget.h src/plugins/android/javafilewizard.cpp src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/baremetal/BareMetal.pluginspec.in src/plugins/bazaar/Bazaar.pluginspec.in src/plugins/beautifier/Beautifier.pluginspec.in src/plugins/bineditor/BinEditor.pluginspec.in src/plugins/bookmarks/Bookmarks.pluginspec.in src/plugins/clangcodemodel/ClangCodeModel.pluginspec.in src/plugins/clangcodemodel/clanghighlightingsupport.cpp src/plugins/clangcodemodel/clangsymbolsearcher.cpp src/plugins/classview/ClassView.pluginspec.in src/plugins/clearcase/ClearCase.pluginspec.in src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec.in src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp src/plugins/cmakeprojectmanager/cmakehighlighter.cpp src/plugins/coreplugin/Core.pluginspec.in src/plugins/cpaster/CodePaster.pluginspec.in src/plugins/cppeditor/CppEditor.pluginspec.in src/plugins/cppeditor/cppfilewizard.cpp src/plugins/cpptools/CppTools.pluginspec.in src/plugins/cpptools/cpphighlightingsupportinternal.cpp src/plugins/cpptools/cppmodelmanagerinterface.cpp src/plugins/cpptools/cppmodelmanagerinterface.h src/plugins/cvs/CVS.pluginspec.in src/plugins/debugger/Debugger.pluginspec.in src/plugins/designer/Designer.pluginspec.in src/plugins/diffeditor/DiffEditor.pluginspec.in src/plugins/emacskeys/EmacsKeys.pluginspec.in src/plugins/fakevim/FakeVim.pluginspec.in src/plugins/genericprojectmanager/GenericProjectManager.pluginspec.in src/plugins/git/Git.pluginspec.in src/plugins/git/gitorious/gitorious.cpp src/plugins/git/gitorious/gitorious.h src/plugins/git/gitorious/gitoriousclonewizard.cpp src/plugins/git/gitorious/gitorioushostwidget.cpp src/plugins/git/gitorious/gitorioushostwidget.h src/plugins/git/gitorious/gitorioushostwizardpage.cpp src/plugins/git/gitorious/gitoriousprojectwidget.cpp src/plugins/git/gitorious/gitoriousprojectwidget.h src/plugins/git/gitorious/gitoriousprojectwizardpage.cpp src/plugins/git/gitorious/gitoriousprojectwizardpage.h src/plugins/git/gitorious/gitoriousrepositorywizardpage.cpp src/plugins/git/gitorious/gitoriousrepositorywizardpage.h src/plugins/glsleditor/GLSLEditor.pluginspec.in src/plugins/glsleditor/glsleditorfactory.cpp src/plugins/glsleditor/glslfilewizard.cpp src/plugins/helloworld/HelloWorld.pluginspec.in src/plugins/help/Help.pluginspec.in src/plugins/imageviewer/ImageViewer.pluginspec.in src/plugins/ios/Ios.pluginspec.in src/plugins/macros/Macros.pluginspec.in src/plugins/mercurial/Mercurial.pluginspec.in src/plugins/perforce/Perforce.pluginspec.in src/plugins/projectexplorer/ProjectExplorer.pluginspec.in src/plugins/pythoneditor/PythonEditor.pluginspec.in src/plugins/pythoneditor/pythoneditorwidget.cpp src/plugins/pythoneditor/wizard/pythonfilewizard.cpp src/plugins/qbsprojectmanager/QbsProjectManager.pluginspec.in src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp src/plugins/qmakeprojectmanager/QmakeProjectManager.pluginspec.in src/plugins/qmakeprojectmanager/profileeditorfactory.cpp src/plugins/qmldesigner/QmlDesigner.pluginspec.in src/plugins/qmljseditor/QmlJSEditor.pluginspec.in src/plugins/qmljseditor/qmljseditorfactory.cpp src/plugins/qmljstools/QmlJSTools.pluginspec.in src/plugins/qmlprofiler/QmlProfiler.pluginspec.in src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec.in src/plugins/qnx/Qnx.pluginspec.in src/plugins/qtsupport/QtSupport.pluginspec.in src/plugins/remotelinux/RemoteLinux.pluginspec.in src/plugins/resourceeditor/ResourceEditor.pluginspec.in src/plugins/resourceeditor/resourcewizard.h src/plugins/subversion/Subversion.pluginspec.in src/plugins/tasklist/TaskList.pluginspec.in src/plugins/texteditor/TextEditor.pluginspec.in src/plugins/texteditor/basetexteditor_p.h src/plugins/texteditor/basetextmark.cpp src/plugins/texteditor/codeassist/basicproposalitemlistmodel.h src/plugins/texteditor/codeassist/defaultassistinterface.h src/plugins/texteditor/codeassist/iassistproposalitem.cpp src/plugins/texteditor/itexteditor.cpp src/plugins/texteditor/itexteditor.h src/plugins/texteditor/itextmark.cpp src/plugins/texteditor/plaintexteditor.cpp src/plugins/texteditor/plaintexteditor.h src/plugins/texteditor/texteditoractionhandler.cpp src/plugins/todo/Todo.pluginspec.in src/plugins/updateinfo/UpdateInfo.pluginspec.in src/plugins/valgrind/Valgrind.pluginspec.in src/plugins/vcsbase/VcsBase.pluginspec.in src/plugins/welcome/Welcome.pluginspec.in src/plugins/winrt/WinRt.pluginspec.in tests/auto/debugger/temporarydir.h Change-Id: I254af8be8119fe9855287909e17d4b8ca9d2fc2f
| | * License updateEike Ziller2014-10-091-7/+8
| | | | | | | | | | | | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* | | ProjectExplorer: Remove redundant namespace qualificationsOrgad Shaneh2014-10-141-1/+1
|/ / | | | | | | | | Change-Id: Id9034e31f3f61c38894111951534dd0d59b746dc Reviewed-by: hjk <hjk121@nokiamail.com>
* | Make SessionManager::instance() return a SessionManager* againhjk2014-10-091-1/+1
| | | | | | | | | | | | | | That's easier to use with Qt5-style connects. Change-Id: If6afac0718502edc1df6bf0cec1db1466116bbb8 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* | Editors: Set window title for external editor windowsEike Ziller2014-08-131-1/+0
| | | | | | | | | | | | Change-Id: I54ed77c0f1b2122ae8833109d8dcac7d8eec7ac4 Task-number: QTCREATORBUG-9612 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* | ProjectExplorer: Select the current node with more magicDaniel Teske2014-07-081-0/+1
|/ | | | | | | | | | If there are multiple file nodes for the same file, check in how many project views they are expanded and select the one that is expanded in most. Task-number: QTCREATORBUG-12595 Change-Id: Ic4a640a80b8244b30b8dec62248aebeeaf9216cf Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* ProjectExplorer: Clean up remaining SessionManager useshjk2013-09-051-2/+0
| | | | | Change-Id: I170edc81cc2bcb4de4168c5ec38d3897c2e7c7e8 Reviewed-by: David Schulz <david.schulz@digia.com>
* SessionManager: Apply 'static' patternhjk2013-09-051-76/+46
| | | | | Change-Id: I370f72fcf7a24216ee189979ce6b5c8bfc5f4140 Reviewed-by: David Schulz <david.schulz@digia.com>
* ProjectExplorer: Fix build dependenciesDaniel Teske2013-07-091-0/+1
| | | | | | | Task-number: QTCREATORBUG-9601 Change-Id: Iece4fd11a42ac1562f9f6a2186c278ad49ce8d7d Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* SessionManager: Ask the user before deleting a sesion.Daniel Teske2013-05-271-0/+1
| | | | | | Task-number: QTCREATORBUG-9272 Change-Id: I636be81544cf114405fbf70e4ee5724c4fd43685 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Fix saving of xml filesTobias Hunger2012-08-241-0/+1
| | | | | | | | Do not save XML config files (profiles.xml, toolchains.xml, etc.) if the file has not changed. Change-Id: I5f0dea374b33a05e7c428f4031d53c83d92de595 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Replace some QStrings with Utils::FileNameTobias Hunger2012-08-241-1/+1
| | | | | Change-Id: Ia96963b90788250b4bc6bc89c2bb697de103535f Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Merge remote-tracking branch 'origin/2.5'Eike Ziller2012-06-011-0/+2
|\ | | | | | | | | | | | | Conflicts: tests/system/objects.map Change-Id: Ie6aed14f2f61111d26498ff3684ea4a57e6da59e
| * SessionManager: Don't autosave the session while loading a sessionDaniel Teske2012-06-011-0/+2
| | | | | | | | | | Change-Id: I3ce769f9d9753b2771b349ad19a5b248a7f306d2 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* | Merge remote-tracking branch 'origin/2.5'Eike Ziller2012-05-021-1/+0
|\ \ | |/ | | | | | | | | | | Conflicts: src/plugins/coreplugin/mainwindow.cpp Change-Id: I975a4208588d174ebb44054de56c5ac8d7c878fe
| * Stop the autosaving session timer on closing CreatorDaniel Teske2012-05-021-1/+0
| | | | | | | | | | Change-Id: I3b9c791d95d7815a711f72cec08f405fb1cdac7c Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* | Update Project's displayName in GUI if it changes after initial load.Konstantin Tokarev2012-04-171-1/+3
|/ | | | | Change-Id: I94386102609772897c93a26ce97acb21d155bdf6 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* WelcomePage: Add tooltip for sessionsThomas Hartmann2012-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | The tooltip allows renaming, cloning and deleting and shows included projects. The following method was added to Session: QStringList projectsForSessionName(const QString &session) const; I moved the SessionNameInputDialog into the header to reuse it. I added new roles to SessionModel (ProjectsPathRole, ProjectsDisplayRole). The following slots were added to SessionModel to expose the backend functionality: void cloneSession(const QString &session); void deleteSession(const QString &session); void renameSession(const QString &session); Change-Id: I0182a26dc63b4f051ea948756decd5413c832c60 Reviewed-by: hjk <qthjk@ovi.com>
* Rename IFile->IDocument and FileManager->DocumentManagerEike Ziller2012-02-201-1/+1
| | | | | | | | And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by: Bill King <bill.king@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-5/+5
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Rename SessionManager::clear() to closeAllProjects()Daniel Teske2012-02-131-1/+1
| | | | | | | | Also move the editor closing out of the function. It isn't needed on shutdown as all editors are already closed then. Change-Id: Ie50a238e0a0382a99b0a267b286f9ed9484f26f6 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* session.h: Fix order of includesDaniel Teske2012-02-131-1/+2
| | | | | | | Forgot to fix that in the last commit Change-Id: I60f23be915f01c43fc3950ba6a97315176429842 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* SessionManager::loadSession inline impl functions and rewriteDaniel Teske2012-02-131-6/+9
| | | | | | | | | | | The order of actions and thus the state at which the signals are emitted has changed. The aboutToUnloadSession comes before the actual saving now. Also the aboutToLoadSession is after restoring values but before restoring projects and editors. Change-Id: I3eae66cffae970f00535d8d6e2bb11a6ca645456 Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Remove forward declaration of a no more existing classDaniel Teske2012-02-071-4/+0
| | | | | Change-Id: I6572080cd1d5aa4a82f548ea2eddfbbbf693ec35 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Remove SessionFileDaniel Teske2012-02-071-3/+1
| | | | | | | Finally one unecessary layer is gone Change-Id: I34ec37ab898884def075a86e7dfd978e3244d2e3 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Move SessionFile::future to SessionManagerDaniel Teske2012-02-071-0/+2
| | | | | | | | Instead of reseting the variable at new SessionFile, I did it at the right place, that is after reportingFinished(). Change-Id: Ia5b58734a646840ff645dad07dd87a2bffcef02b Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Move SessionFile::m_values to SessionManagerDaniel Teske2012-02-071-0/+1
| | | | | Change-Id: Iccb40a16d3087f612ad5d570ed42a243fe87dfe5 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* SesssionManger: Remove unused #include <QPointer>Daniel Teske2012-02-071-1/+0
| | | | | Change-Id: I7a6b19838761bffdd38abd988efa8f1af8f2cb4b Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Move SessionFile::m_depMap to SessionManagerDaniel Teske2012-02-071-0/+2
| | | | | | | | | Note: The m_dep.clear() calls on new SessionFile are theoretically unecessary. After SessionManager::clear(), m_depMap should be empty. I can't prove that easily though, so I'll remove that later. Change-Id: I50b36ca7578dccb50b2b2d81351c8e2d1f0826cd Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Move SessionFile::m_failedProjects to SessionManagerDaniel Teske2012-02-071-0/+1
| | | | | Change-Id: Ic030e6ac521728431ee17b2e69e7d5aaa30b1fc3 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Move SessionFile::m_projects to SessionManagerDaniel Teske2012-02-071-0/+1
| | | | | | | | Note: We do not need to clear it on delete m_file; new SessionFile, since the clear() before that removes all projects from m_projects Change-Id: I800f52939602cc2c02deff993da578e28ad9115c Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Move SessionFile::m_startupProject to SessionManagerDaniel Teske2012-02-071-0/+2
| | | | | | | | | | Preserve the exact same semantics, that is set it to 0 even if it is later overriden anyway. Note, this 0 setting prevents the startup project changed signal from being emitted, so it's likely to be wrong. I'll fix that later. Change-Id: I8efc33e54fca1fe3636006fe8616ae20aa8c211b Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Move SessionFile::sessionLoadingProgress to SessionManagerDaniel Teske2012-02-071-0/+1
| | | | | | | Another step towards removing SessionFile. Change-Id: I63ff5bd1c62d03e362e33c0ed65bf7bf3d7d0d6f Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Move creating of the default session into the SessionManager ctorDaniel Teske2012-02-071-1/+0
| | | | | | | | | | | | | | There used to be 3 states for the SessionManager: 1) Uninitialized (after ctor) 2) A default virgin session 3) Using a session (including the default session) And we used to switch from state 1 to 2 or 3 after ICore::coreOpened(). This changes that we start in state 2 and thus don't emit a few signals after coreOpened. I don't think that'll break anything. Change-Id: I4cf7dade132c9d0ebd6d472d79c8b70c07acd20f Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* SessionManager: Inline and remove updateNameDaniel Teske2012-02-031-2/+0
| | | | | | | | It's only ever called two times and makes it easier to understand how m_sesionName is changed Change-Id: I0106516b78481181d7a027a6348eee45e0e462d6 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* SessionManager: Remove declaration of not implemented functionDaniel Teske2012-01-311-1/+0
| | | | | | | The function was removed long ago. Change-Id: Iee1e413bb675e360eb15a89bcb5d37ac83b40e84 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Remove class SessionNodeImpl, just use SessionNode directlyDaniel Teske2012-01-311-1/+1
| | | | | | | The class added nothing over SessionNode. Change-Id: I137c274514b2c5897a591b7e093ba84e1a91e9d7 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>