Click to See Complete Forum and Search --> : API Docs for KDE Programming????
PhatBarren
12-01-2002, 11:20 PM
Hey,
Where's the best place for API documentation for KDE? I need to make a KDE GUI app.
Its certainly not like that beutiful JavaDoc in the C++ world :(
Cheers!
Energon
12-02-2002, 02:18 AM
I dont' know about using KDE extensions, but the best thing to do is use Qt (which is what KDE uses underneath it all). You can find the docs probably on your system somewhere, but if not, www.trolltech.com has them.
They're very similar to the Java documentation, also.
x_Ray
12-02-2002, 02:51 AM
Main KDE dev page.
http://developer.kde.org/
API reference
http://developer.kde.org/documentation/library/3.0-api/classref/index.html
PhatBarren
12-02-2002, 10:52 AM
Thanks.......
Would't it be best if I used the KDE API rather than going directly to the QT API if I want to make a real KDE APP?
Do I still have to directly use the QT API if I just use the KDE API?
Thanks.
Energon
12-02-2002, 11:09 AM
Well, Qt's gonna be more portable (ie, I don't have to have KDE to run a Qt app, and Qt runs in Windows) and if they have KDE, it'll look just as good as their KDE stuff. The only things you'll miss are KDE specific things (like docking and so forth). But it's really up to you what you do.
bwkaz
12-02-2002, 02:46 PM
Also, if you use Qt and the user has a KDE theme set (but NOT a Qt theme), then your app won't feel like part of their desktop. If they set up a Qt theme, then it will.
It's always a tradeoff -- in this case, between portability and integrated-ness. Go for whatever you decide is more important to you.
Energon
12-02-2002, 11:19 PM
What KDE themes can't be applied to non-KDE apps? I've also had a lot of problems with KDE themes crashing Qt apps in the past, so that's something else to watch out for.
bwkaz
12-03-2002, 10:54 AM
Oh, I have no idea. But I'm sure there are some somewhere.
Energon
12-03-2002, 11:20 AM
Not that I don't trust you, but I don't think that's the case. If they have KDE, there's a button they can check that says "Apply theme to non-KDE applications", and I think that covers any Qt app. I could be wrong, but I'm pretty sure that does it. Every KDE theme I've seen goes right onto my Qt apps.
bwkaz
12-03-2002, 01:51 PM
So you think a KDE theme incorporates a Qt theme? Interesting idea -- I have no idea if it'd work or if it's what happens (I've never needed or wanted themes, personally), but interesting nonetheless.
I could have just been inadvertently BS'ing, I guess that's possible. :p
Energon
12-04-2002, 02:22 AM
Not that I've been making stuff up or anything... but I think entire debate has been wallowing in it on both ends... ;)