--- a/Plugins/PluginVcsSubversion.py Tue Jan 12 18:33:34 2010 +0000 +++ b/Plugins/PluginVcsSubversion.py Tue Jan 12 18:36:05 2010 +0000 @@ -12,7 +12,7 @@ from PyQt4.QtGui import QApplication -from E4Gui.E4Application import e4App +from E4Gui.E4Application import e5App import Preferences from Preferences.Shortcuts import readShortcuts @@ -127,7 +127,7 @@ """ Module function to prepare for an uninstallation. """ - if not e4App().getObject("PluginManager").isPluginLoaded("PluginVcsSubversion"): + if not e5App().getObject("PluginManager").isPluginLoaded("PluginVcsSubversion"): Preferences.Prefs.settings.remove("Subversion") class VcsSubversionPlugin(object): @@ -151,7 +151,7 @@ from VcsPlugins.vcsSubversion.ProjectHelper import SvnProjectHelper self.__projectHelperObject = SvnProjectHelper(None, None) try: - e4App().registerPluginObject(pluginTypename, self.__projectHelperObject, + e5App().registerPluginObject(pluginTypename, self.__projectHelperObject, pluginType) except KeyError: pass # ignore duplicate registration @@ -232,4 +232,4 @@ """ Public method to prepare for an uninstallation. """ - e4App().unregisterPluginObject(pluginTypename) + e5App().unregisterPluginObject(pluginTypename) \ No newline at end of file