MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / initConnection

Method initConnection

src/plugins/git/gui/gittabwidget.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void GitTabWidgetPrivate::initConnection()
78{
79 connect(tabBar, &DTabBar::currentChanged, this, &GitTabWidgetPrivate::tabSwitched);
80 connect(tabBar, &DTabBar::tabCloseRequested, this, &GitTabWidgetPrivate::tabClosed);
81 connect(closeBtn, &DToolButton::clicked, this, [] {
82 auto editSrv = dpfGetService(EditorService);
83 editSrv->switchDefaultWidget();
84 });
85}
86
87int GitTabWidgetPrivate::indexOf(const QString &tip)
88{

Callers 1

GitTabWidgetMethod · 0.45

Calls 2

connectFunction · 0.85
switchDefaultWidgetMethod · 0.80

Tested by

no test coverage detected