Moving Solid-SysClass engine to kdereview

Dario Freddi drf54321 at gmail.com
Mon Apr 27 15:40:42 BST 2009


Fixed in svn, forgot to update the engine with the recent additions I made to 
Solid::Control. I also improved naming

On Sunday 26 April 2009 18:55:06 Christoph Feck wrote:
> 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<impl>::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::NetworkInterface::Type>
> 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

-- 
-------------------

Dario Freddi
KDE Developer
GPG Key Signature: 511A9A3B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090427/7beb88cb/attachment.sig>


More information about the kde-core-devel mailing list