refactor: keyboard layout applet: return to Properties-based QML API

As all layouts names are now stored in Property on client side, there is
no need for KeyboardLayoutDBusInterface::getLayoutLongName() method any
more.
icc-effect-5.26.4
Andrey Butirsky 2021-01-18 17:53:51 +03:00
parent c0d724b538
commit 26505e14dd
2 changed files with 0 additions and 6 deletions

View File

@ -222,11 +222,6 @@ uint KeyboardLayoutDBusInterface::getLayout() const
return m_xkb->currentLayout();
}
QString KeyboardLayoutDBusInterface::getLayoutLongName() const
{
return translatedLayout(m_xkb->layoutName());
}
QVector<KeyboardLayoutDBusInterface::LayoutNames> KeyboardLayoutDBusInterface::getLayoutsList() const
{
// TODO: - should be handled by layout applet itself, it has nothing to do with KWin

View File

@ -86,7 +86,6 @@ public Q_SLOTS:
void switchToPreviousLayout();
bool setLayout(uint index);
uint getLayout() const;
QString getLayoutLongName() const;
QVector<LayoutNames> getLayoutsList() const;
Q_SIGNALS: