forked from qt-creator/qt-creator
s/profile/kit/
* Rename profiles to kits.
* Update some strings:
* projects mode has a Kits tab, not a Targets tab.
* " Settings" was dropped from the sub-tabs of the Kits tab
* menu entry "Build/Open Build/Run Target Selector" was renamed
to "Build/Open Build and Run Kits Selector".
* Use "Kit" instead of "Target" in miniprojecttargetselector.
(The class was not renamed as it does indeed select targets,
not kits)
Change-Id: I0727e086e2dfa0e8aaaf89fdc6f2e3596c7a4314
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
328d205b62
commit
8ba422d07c
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "doubletabwidget.h"
|
||||
|
||||
#include "profilemanager.h"
|
||||
#include "kitmanager.h"
|
||||
#include "project.h"
|
||||
#include "projectexplorer.h"
|
||||
#include "projectexplorerconstants.h"
|
||||
@@ -261,7 +261,7 @@ ProjectWindow::~ProjectWindow()
|
||||
|
||||
void ProjectWindow::extensionsInitialized()
|
||||
{
|
||||
connect(ProfileManager::instance(), SIGNAL(profilesChanged()), this, SLOT(handleProfilesChanges()));
|
||||
connect(KitManager::instance(), SIGNAL(kitsChanged()), this, SLOT(handleKitChanges()));
|
||||
}
|
||||
|
||||
void ProjectWindow::aboutToShutdown()
|
||||
@@ -288,7 +288,7 @@ void ProjectWindow::projectUpdated(Project *p)
|
||||
m_tabWidget->setCurrentIndex(index);
|
||||
}
|
||||
|
||||
void ProjectWindow::handleProfilesChanges()
|
||||
void ProjectWindow::handleKitChanges()
|
||||
{
|
||||
bool changed = false;
|
||||
int index = m_tabWidget->currentIndex();
|
||||
@@ -330,7 +330,7 @@ void ProjectWindow::registerProject(ProjectExplorer::Project *project)
|
||||
m_hasTarget.insert(project, projectHasTarget);
|
||||
|
||||
if (projectHasTarget) // Use the Targets page
|
||||
subtabs << QCoreApplication::translate("TargetSettingsPanelFactory", "Targets");
|
||||
subtabs << QCoreApplication::translate("TargetSettingsPanelFactory", "Build & Run");
|
||||
|
||||
// Add the project specific pages
|
||||
QList<IProjectPanelFactory *> factories = ExtensionSystem::PluginManager::getObjects<IProjectPanelFactory>();
|
||||
|
||||
Reference in New Issue
Block a user