Esempio n. 1
0
        void ProjectItemsEvents_ItemRemoved(ProjectItem ProjectItem)
        {
            Project pro = HelperFunctions.GetSelectedQtProject(VSPackage.dte);

            if (pro == null)
            {
                return;
            }

            QtProject qtPro = QtProject.Create(pro);

            qtPro.RemoveGeneratedFiles(ProjectItem.Name);
        }
Esempio n. 2
0
        void ProjectItemsEvents_ItemRenamed(ProjectItem ProjectItem, string OldName)
        {
            if (OldName == null)
            {
                return;
            }
            Project pro = HelperFunctions.GetSelectedQtProject(VSPackage.dte);

            if (pro == null)
            {
                return;
            }

            QtProject qtPro = QtProject.Create(pro);

            qtPro.RemoveGeneratedFiles(OldName);
            ProjectItemsEvents_ItemAdded(ProjectItem);
        }