Exemplo n.º 1
0
void QMakePlugin::OnSaveConfig(clProjectSettingsEvent& event)
{
    event.Skip();

    wxString conf, project;
    project = event.GetProjectName();
    conf = event.GetConfigName();

    QMakeTab* tab = DoGetQmakeTab(conf);
    if(!tab) { return; }
    tab->Save(m_mgr, project, conf);
}
Exemplo n.º 2
0
void QMakePlugin::OnSaveConfig(wxCommandEvent& event)
{
    event.Skip();

    wxString *proj = (wxString *)event.GetClientData();

    wxString conf, project;
    project = *proj;
    conf    = event.GetString();

    QMakeTab *tab = DoGetQmakeTab( conf );
    if ( !tab ) {
        return;
    }
    tab->Save(m_mgr, project, conf);
}