eric7/Plugins/VcsPlugins/vcsMercurial/HgExtension.py

Wed, 16 Jun 2021 17:47:50 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 16 Jun 2021 17:47:50 +0200
branch
eric7
changeset 8428
2deec2f8a9ab
parent 8318
962bce857696
child 8881
54e42bc2437a
permissions
-rw-r--r--

Changed some dialogs to use the new QTextEdit and QPlainTextEdit subclasses with spell checker.

# -*- coding: utf-8 -*-

# Copyright (c) 2011 - 2021 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing the base class for Mercurial extension interfaces.
"""

from PyQt6.QtCore import QObject


class HgExtension(QObject):
    """
    Class implementing the base class for Mercurial extension interfaces.
    """
    def __init__(self, vcs):
        """
        Constructor
        
        @param vcs reference to the Mercurial vcs object
        """
        super().__init__(vcs)
        
        self.vcs = vcs
    
    def shutdown(self):
        """
        Public method used to shutdown the extension interface.
        
        The method of this base class does nothing.
        """
        pass

eric ide

mercurial