This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Please help me find docs for org.kde.ScreenSaver dbus method

Tags: None
(comma "," separated)
timrichardson
Registered Member
Posts
15
Karma
0
OS
Hi. I'm writing a python program which responds to org.kde.ScreenSaver signals and methods. I'm a beginner at this. What I want to do is trivial and there are code examples on the web; I'm not stuck wit the coding. But what I can't find is the API documentation.
Despite a lot of looking, I'm lost about where to find documentation which defines the API. I know there are software browsers showing me what signals and methods are available, which is great, but it's not the same as documentation.
Gnome has just what I'm looking for, except that it's for gnome, but it shows what I'm trying to find.
http://people.gnome.org/~mccann/gnome-s ... saver.html

So, where is this for KDE?


regards
Tim
User avatar
Damnshock
Registered Member
Posts
111
Karma
0
OS


Damnshock, proud to be a member of KDE forums since 2008-Oct.
timrichardson
Registered Member
Posts
15
Karma
0
OS
yes, I tried that earlier. Your link returns
No results found!
which was the same result that I got. But thanks for trying.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The org.kde.screensaver service is provided by KRunner. I would suggest checking it's source code for documentation.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Damnshock
Registered Member
Posts
111
Karma
0
OS
bcooksley wrote:The org.kde.screensaver service is provided by KRunner. I would suggest checking it's source code for documentation.


I understood that was precisely what he did not want to do :S

I guess it's the only option though


Damnshock, proud to be a member of KDE forums since 2008-Oct.
mzanetti
Registered Member
Posts
3
Karma
0
Damnshock wrote:
bcooksley wrote:The org.kde.screensaver service is provided by KRunner. I would suggest checking it's source code for documentation.


I understood that was precisely what he did not want to do :S

I guess it's the only option though


http://geekandpoke.typepad.com/geekandp ... coder.html

The code actually has some documentation in it. No idea why this isn't exported to api.kde.org:
http://quickgit.kde.org/?p=kde-workspac ... erengine.h

Anyways, stuff like the screensaver API is defined by freedesktop.org. KDE's screensaver has just the same API as org.gnome.ScreenSaver or org.freedesktop.ScreenSaver. There might be small KDE-specific additions though. In this case setupPlasma() for example is one of them.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft