C KDE Dialog Library
That’s what I’m working on. It’s a little weird, but seems to be working so far! It’s a shared library (or static too, I suspose, if you wanted) that has functions like ShowOpenDialog, ShowSaveDialog, and MessageBox. These functions are wrappers around KDE classes. When a C app (Read: Gnome/GTK+) capps one of these functions, a KDE dialog answers. It’s like a compliment to the QtGtk library.
The QtGtk library works great for entering the Qt event loop, constructing a KApplication, keeping the lines of communication open, etc…but the actual implementation of the dialogs is a bit tricky with QtGtk because you’re compiling a C app with a C++ compiler. Using g++ when you’re susposed to be using gcc can/will cause your compiler to puke. For example, when I was trying to make GEdit use KDE dialogs, I ran into a wall because g++ wouldn’t compile the (valid) C code.
Hopefully this will fix that problem, as the actual code is already in a shared library, and doesn’t need to be compiled. I did get a test program compiled with gcc to work!
It’s a bit tricky because I don’t know any C (or C++), but I’m getting the hang of it. I’ll let you know what I get!