How to figure out valid parameter values for qdbus method calls?

Hi! How to figure out valid parameter values for qdbus method calls? For instance, I desire to know all valid values for viewId parameter for method bool org.kde.konsole.Window.createSplit(int viewId, bool horizontalSplit). Is there any way to get this info right in terminal or maybe on some page?

Hi,

From a quick look, you can find the values for viewId using the org.kde.konsole.Window.viewHierarchy() method which should return the list of views including their IDs

2 Likes

Is there any helpful tutorial or maybe documentation about using qdbus regarding Konsole? I would love to see as it might help me to quicker understand this stuff.