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.
This commit is contained in:
parent
c0d724b538
commit
26505e14dd
2 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue