Some names got changed around but the procedure for loading the libs is still the same. Chris
--- ../../kdehw-devel/solid/devicemanager.cpp 2006-05-23 06:09:25.000000000 +0400 +++ devicemanager.cpp 2006-05-23 16:04:55.000000000 +0400 @@ -21,7 +21,7 @@ #include <QFile> -#include <ktrader.h> +#include <kservicetypetrader.h> #include <kservice.h> #include <klibloader.h> @@ -86,7 +86,7 @@ Ifaces::DeviceManager *backend = 0; - KTrader::OfferList offers = KTrader::self()->query( "SolidDeviceManager", "(Type == 'Service')" ); + KService::List offers = KServiceTypeTrader::self()->query( "SolidDeviceManager", "(Type == 'Service')" ); foreach ( KService::Ptr ptr, offers ) {
_______________________________________________ Kde-hardware-devel mailing list Kde-hardware-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-hardware-devel