MCPcopy Create free account
hub / github.com/KDE/kdevelop / enableBuddies

Method enableBuddies

kdevplatform/shell/tests/test_shellbuddy.cpp:107–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106
107void TestShellBuddy::enableBuddies(bool enable)
108{
109 {
110 KConfigGroup uiGroup = KSharedConfig::openConfig()->group("UiSettings");
111 uiGroup.writeEntry("TabBarArrangeBuddies", (enable ? 1 : 0));
112 uiGroup.sync();
113 }
114 Core::self()->uiControllerInternal()->loadSettings();
115 QCOMPARE(Core::self()->uiControllerInternal()->arrangeBuddies(), enable);
116}
117
118
119void TestShellBuddy::enableOpenAfterCurrent(bool enable)

Callers

nothing calls this directly

Calls 4

writeEntryMethod · 0.80
uiControllerInternalMethod · 0.80
arrangeBuddiesMethod · 0.80
loadSettingsMethod · 0.45

Tested by

no test coverage detected