Plugins/PluginVcsPySvn.py

changeset 496
ed1e3f654d0b
parent 398
5b5636320dca
child 723
49ef401db2ce
equal deleted inserted replaced
495:b31b0bffa5b0 496:ed1e3f654d0b
7 Module implementing the PySvn version control plugin. 7 Module implementing the PySvn version control plugin.
8 """ 8 """
9 9
10 import os 10 import os
11 11
12 from PyQt4.QtCore import QObject
12 from PyQt4.QtGui import QApplication 13 from PyQt4.QtGui import QApplication
13 14
14 from E5Gui.E5Application import e5App 15 from E5Gui.E5Application import e5App
15 16
16 import Preferences 17 import Preferences
125 Module function to prepare for an uninstallation. 126 Module function to prepare for an uninstallation.
126 """ 127 """
127 if not e5App().getObject("PluginManager").isPluginLoaded("PluginVcsSubversion"): 128 if not e5App().getObject("PluginManager").isPluginLoaded("PluginVcsSubversion"):
128 Preferences.Prefs.settings.remove("Subversion") 129 Preferences.Prefs.settings.remove("Subversion")
129 130
130 class VcsPySvnPlugin(object): 131 class VcsPySvnPlugin(QObject):
131 """ 132 """
132 Class implementing the PySvn version control plugin. 133 Class implementing the PySvn version control plugin.
133 """ 134 """
134 def __init__(self, ui): 135 def __init__(self, ui):
135 """ 136 """

eric ide

mercurial