AUG
18
2005
|
New take on Qt/KDE integrationI have blogged about QDS, my Qt desktop integration library, almost exactly a year ago. However, as the QDS part of my webspace got quite some hits after mentioning QDS on the Dot, While my original goal was to provide the best flexibility, I figured that the Consider you have this main function in your network aware Qt application: int main(int argc, char** argv) MyWindow w; app.setMainWidget(&w); return app.exec(); Now, if we change that to use QDS in order to enable KIO based access on KDE, we get this: int main(int argc, char** argv) MyWindow w; app->setMainWidget(&w); int ret = app->exec(); delete app; return ret; The createApplication function in the QDS namespace is a convenience wrapper around a The KDE plugin as of QDS release 0.3, implements only the Network service, i.e. An simple example application in the QDS source package demonstrates this. #> qdsexample http://www.kde.org/ kde.html downloading the index of www.kde.org to the local file kde.html using Qt's HTTP After building and installing the KDE plugin (and probably setting LD_LIBRARY_PATH
|
![]() |