From kde-core-devel Sun Apr 26 16:55:06 2009 From: Christoph Feck Date: Sun, 26 Apr 2009 16:55:06 +0000 To: kde-core-devel Subject: Re: Moving Solid-SysClass engine to kdereview Message-Id: <200904261855.06831.christoph () maxiom ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=124076487311346 I cannot compile, I get this error, what I am doing wrong :) In file included from /local/svn/kde/trunk/kdereview/solid-sysclass/module.cpp:23: /local/kde4/include/kpluginfactory.h: In static member function 'static QObject* KPluginFactory::createInstance(QWidget*, QObject*, const QVariantList&) [with impl = IPNetworkManager, ParentType = QObject]': /local/kde4/include/kpluginfactory.h:479: instantiated from 'QObject* (* KPluginFactory::InheritanceChecker::createInstanceFunction(...)) (QWidget*, QObject*, const QVariantList&) [with impl = IPNetworkManager]' /local/svn/kde/trunk/kdereview/solid-sysclass/module.cpp:25: instantiated from here /local/kde4/include/kpluginfactory.h:461: error: cannot allocate an object of abstract type 'IPNetworkManager' /local/svn/kde/trunk/kdereview/solid-sysclass/networkmanager.h:29: note: because the following virtual functions are pure within 'IPNetworkManager': /local/kde4/include/solid/control/ifaces/networkmanager.h:119: note: virtual QFlags Solid::Control::Ifaces::NetworkManager::supportedInterfaceTypes() const make[2]: *** [solid-sysclass/CMakeFiles/solid_sysclass.dir/module.o] Error 1 make[1]: *** [solid-sysclass/CMakeFiles/solid_sysclass.dir/all] Error 2 make: *** [all] Error 2 -- Failed: kdereview Am Monday 20 April 2009 12:05:14 schrieb Dario Freddi: > Hello people, > > As you might know, Solid networking is starting to be used around KDE > applications, such as Plasma for the weather dataengine. Unfortunately, not > every user relies on a network manager such as NM or Wicd, hence having a > check for a link is impossible for them. So, after a discussion on #plasma, > I created a very simple Solid engine based on the values read in > /sys/class/net. > > It does nothing more than checking operstate for changes and notifies Solid > whenever a link is up. I'd like to move this to kdebase, even if soft > freeze is over, to avoid letting people down for not having a network > manager