1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed b2abab4

repowidget: group several signals which should be deprecated later

They are not related to RepoWidget, but to repo itself.

  • Participants
  • Parent commits f59bf9c
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/repowidget.py

View file
  • Ignore whitespace
 class RepoWidget(QWidget):
 
     showMessageSignal = pyqtSignal(QString)
-    closeSelfSignal = pyqtSignal(QWidget)
     toolbarVisibilityChanged = pyqtSignal()
 
     output = pyqtSignal(QString, QString)
     # The following signals should be exchanged directly between workbench and
     # thgrepo. But it isn't possible because workbench cannot filter out known
     # repo from the result of thgrepo.repository().
+    closeSelfSignal = pyqtSignal(QWidget)
     repoChanged = pyqtSignal(QString)
     repoConfigChanged = pyqtSignal(QString)
+    shortNameChanged = pyqtSignal(QString, QString)
+    baseNodeChanged = pyqtSignal(QString, object)
 
     revisionSelected = pyqtSignal(object)
 
 
     showIcon = pyqtSignal(QIcon)
 
-    shortNameChanged = pyqtSignal(QString, QString)
-    baseNodeChanged = pyqtSignal(QString, object)
-
     repoLinkClicked = pyqtSignal(unicode)
     """Emitted when clicked a link to open repository"""