5668 self.__makeProcess.finished.disconnect() |
5674 self.__makeProcess.finished.disconnect() |
5669 self.__makeProcess.deleteLater() |
5675 self.__makeProcess.deleteLater() |
5670 self.__makeProcess = None |
5676 self.__makeProcess = None |
5671 |
5677 |
5672 ######################################################################### |
5678 ######################################################################### |
5673 ## Below are methods implementing the some 'IDL' support functions |
5679 ## Below are methods implementing some 'IDL' support functions |
5674 ######################################################################### |
5680 ######################################################################### |
5675 |
5681 |
5676 def hasDefaultIdlCompilerParameters(self): |
5682 def hasDefaultIdlCompilerParameters(self): |
5677 """ |
5683 """ |
5678 Public method to test, if the project contains the default IDL compiler |
5684 Public method to test, if the project contains the default IDL compiler |
5686 "DefinedNames": [], |
5692 "DefinedNames": [], |
5687 "UndefinedNames": [], |
5693 "UndefinedNames": [], |
5688 } |
5694 } |
5689 |
5695 |
5690 ######################################################################### |
5696 ######################################################################### |
5691 ## Below are methods implementing the some 'UIC' support functions |
5697 ## Below are methods implementing some 'UIC' support functions |
5692 ######################################################################### |
5698 ######################################################################### |
5693 |
5699 |
5694 def hasDefaultUicCompilerParameters(self): |
5700 def hasDefaultUicCompilerParameters(self): |
5695 """ |
5701 """ |
5696 Public method to test, if the project contains the default uic compiler |
5702 Public method to test, if the project contains the default uic compiler |
5701 """ |
5707 """ |
5702 return self.pdata["UICPARAMS"] == { |
5708 return self.pdata["UICPARAMS"] == { |
5703 "Package": "", |
5709 "Package": "", |
5704 "RcSuffix": "", |
5710 "RcSuffix": "", |
5705 } |
5711 } |
|
5712 |
|
5713 ######################################################################### |
|
5714 ## Below are methods implementing some 'RCC' support functions |
|
5715 ######################################################################### |
|
5716 |
|
5717 def hasDefaultRccCompilerParameters(self): |
|
5718 """ |
|
5719 Public method to test, if the project contains the default rcc compiler |
|
5720 parameters. |
|
5721 |
|
5722 @return flag indicating default parameter set |
|
5723 @rtype bool |
|
5724 """ |
|
5725 return self.pdata["RCCPARAMS"] == \ |
|
5726 self.getDefaultRccCompilerParameters() |
|
5727 |
|
5728 def getDefaultRccCompilerParameters(self): |
|
5729 """ |
|
5730 Public method to get the default rcc compiler parameters. |
|
5731 |
|
5732 @return dictionary containing the default rcc compiler parameters |
|
5733 @rtype dict |
|
5734 """ |
|
5735 return { |
|
5736 "CompressionThreshold": 70, # default value |
|
5737 "CompressLevel": 0, # use zlib default |
|
5738 "CompressionDisable": False, |
|
5739 "PathPrefix": "", |
|
5740 } |