Project/Project.py

changeset 501
5c615a85241a
parent 500
c3abc7895a01
child 517
fe6fe492f82e
equal deleted inserted replaced
500:c3abc7895a01 501:5c615a85241a
71 class Project(QObject): 71 class Project(QObject):
72 """ 72 """
73 Class implementing the project management functionality. 73 Class implementing the project management functionality.
74 74
75 @signal dirty(int) emitted when the dirty state changes 75 @signal dirty(int) emitted when the dirty state changes
76 @signal projectLanguageAdded(string) emitted after a new language was added 76 @signal projectLanguageAdded(str) emitted after a new language was added
77 @signal projectLanguageAddedByCode(string) emitted after a new language was added. 77 @signal projectLanguageAddedByCode(str) emitted after a new language was added.
78 The language code is sent by this signal. 78 The language code is sent by this signal.
79 @signal projectFormAdded(string) emitted after a new form was added 79 @signal projectFormAdded(str) emitted after a new form was added
80 @signal projectSourceAdded(string) emitted after a new source file was added 80 @signal projectSourceAdded(str) emitted after a new source file was added
81 @signal projectInterfaceAdded(string) emitted after a new IDL file was added 81 @signal projectInterfaceAdded(str) emitted after a new IDL file was added
82 @signal projectResourceAdded(string) emitted after a new resource file was added 82 @signal projectResourceAdded(str) emitted after a new resource file was added
83 @signal projectAboutToBeCreated() emitted just before the project will be created 83 @signal projectAboutToBeCreated() emitted just before the project will be created
84 @signal newProjectHooks() emitted after a new project was generated but before 84 @signal newProjectHooks() emitted after a new project was generated but before
85 the newProject() signal is sent 85 the newProject() signal is sent
86 @signal newProject() emitted after a new project was generated 86 @signal newProject() emitted after a new project was generated
87 @signal sourceFile(string) emitted after a project file was read to 87 @signal sourceFile(str) emitted after a project file was read to
88 open the main script 88 open the main script
89 @signal projectOpenedHooks() emitted after a project file was read but before the 89 @signal projectOpenedHooks() emitted after a project file was read but before the
90 projectOpened() signal is sent 90 projectOpened() signal is sent
91 @signal projectOpened() emitted after a project file was read 91 @signal projectOpened() emitted after a project file was read
92 @signal projectClosedHooks() emitted after a project file was closed but before the 92 @signal projectClosedHooks() emitted after a project file was closed but before the
93 projectClosed() signal is sent 93 projectClosed() signal is sent
94 @signal projectClosed() emitted after a project was closed 94 @signal projectClosed() emitted after a project was closed
95 @signal projectOthersAdded(string) emitted after a file or directory was added 95 @signal projectOthersAdded(str) emitted after a file or directory was added
96 to the OTHERS project data area 96 to the OTHERS project data area
97 @signal projectFileRenamed(string, string) emitted after a file of the project 97 @signal projectFileRenamed(str, str) emitted after a file of the project
98 has been renamed 98 has been renamed
99 @signal projectPropertiesChanged() emitted after the project properties were changed 99 @signal projectPropertiesChanged() emitted after the project properties were changed
100 @signal directoryRemoved(string) emitted after a directory has been removed from 100 @signal directoryRemoved(str) emitted after a directory has been removed from
101 the project 101 the project
102 @signal prepareRepopulateItem(string) emitted before an item of the model is 102 @signal prepareRepopulateItem(str) emitted before an item of the model is
103 repopulated 103 repopulated
104 @signal completeRepopulateItem(string) emitted after an item of the model was 104 @signal completeRepopulateItem(str) emitted after an item of the model was
105 repopulated 105 repopulated
106 @signal vcsStatusMonitorStatus(string, string) emitted to signal the status of the 106 @signal vcsStatusMonitorStatus(str, str) emitted to signal the status of the
107 monitoring thread (ok, nok, op, off) and a status message 107 monitoring thread (ok, nok, op, off) and a status message
108 @signal reinitVCS() emitted after the VCS has been reinitialized 108 @signal reinitVCS() emitted after the VCS has been reinitialized
109 @signal showMenu(string, QMenu) emitted when a menu is about to be shown. The name 109 @signal showMenu(str, QMenu) emitted when a menu is about to be shown. The name
110 of the menu and a reference to the menu are given. 110 of the menu and a reference to the menu are given.
111 @signal lexerAssociationsChanged() emitted after the lexer associations have been 111 @signal lexerAssociationsChanged() emitted after the lexer associations have been
112 changed 112 changed
113 """ 113 """
114 dirty = pyqtSignal(int) 114 dirty = pyqtSignal(int)

eric ide

mercurial