mirror of
https://github.com/MatMoul/plasma-containmentactions-customdesktopmenu.git
synced 2024-12-23 06:26:11 +00:00
replace qdbus-qt4 with qdbus-qt5
This commit is contained in:
parent
418cc3c351
commit
26cd567d57
@ -139,15 +139,15 @@ QString CustomDesktopMenu::getDefaultMenu()
|
|||||||
defMenuConfig += "{programs}\tSystem/\n";
|
defMenuConfig += "{programs}\tSystem/\n";
|
||||||
defMenuConfig += "[end]\n";
|
defMenuConfig += "[end]\n";
|
||||||
defMenuConfig += "[menu]\tExit\tsystem-shutdown\n";
|
defMenuConfig += "[menu]\tExit\tsystem-shutdown\n";
|
||||||
defMenuConfig += "Lock\tsystem-lock-screen\tqdbus-qt4 org.kde.ksmserver /ScreenSaver Lock\n";
|
defMenuConfig += "Lock\tsystem-lock-screen\tqdbus-qt5 org.kde.ksmserver /ScreenSaver Lock\n";
|
||||||
defMenuConfig += "Disconnect\tsystem-log-out\tqdbus-qt4 org.kde.ksmserver /KSMServer logout -1 0 3\n";
|
defMenuConfig += "Disconnect\tsystem-log-out\tqdbus-qt5 org.kde.ksmserver /KSMServer logout -1 0 3\n";
|
||||||
defMenuConfig += "Switch User\tsystem-switch-user\tqdbus-qt4 org.kde.krunner /App switchUser\n";
|
defMenuConfig += "Switch User\tsystem-switch-user\tqdbus-qt5 org.kde.krunner /App switchUser\n";
|
||||||
defMenuConfig += "-\n";
|
defMenuConfig += "-\n";
|
||||||
defMenuConfig += "Sleep\tsystem-suspend\tqdbus-qt4 org.freedesktop.PowerManagement /org/freedesktop/PowerManagement Suspend\n";
|
defMenuConfig += "Sleep\tsystem-suspend\tqdbus-qt5 org.freedesktop.PowerManagement /org/freedesktop/PowerManagement Suspend\n";
|
||||||
defMenuConfig += "Hibernate\tsystem-suspend-hibernate\tqdbus-qt4 org.freedesktop.PowerManagement /org/freedesktop/PowerManagement Hibernate\n";
|
defMenuConfig += "Hibernate\tsystem-suspend-hibernate\tqdbus-qt5 org.freedesktop.PowerManagement /org/freedesktop/PowerManagement Hibernate\n";
|
||||||
defMenuConfig += "-\n";
|
defMenuConfig += "-\n";
|
||||||
defMenuConfig += "Restart\tsystem-reboot\tqdbus-qt4 org.kde.ksmserver /KSMServer logout -1 1 3\n";
|
defMenuConfig += "Restart\tsystem-reboot\tqdbus-qt5 org.kde.ksmserver /KSMServer logout -1 1 3\n";
|
||||||
defMenuConfig += "Shut down\tsystem-shutdown\tqdbus-qt4 org.kde.ksmserver /KSMServer logout -1 2 3\n";
|
defMenuConfig += "Shut down\tsystem-shutdown\tqdbus-qt5 org.kde.ksmserver /KSMServer logout -1 2 3\n";
|
||||||
defMenuConfig += "[end]\n";
|
defMenuConfig += "[end]\n";
|
||||||
defMenuConfig += "-\n";
|
defMenuConfig += "-\n";
|
||||||
defMenuConfig += "/usr/share/applications/org.kde.ksysguard.desktop\n";
|
defMenuConfig += "/usr/share/applications/org.kde.ksysguard.desktop\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user