[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Moving Solid-SysClass engine to kdereview
From: Christoph Feck <christoph () maxiom ! de>
Date: 2009-04-26 16:55:06
Message-ID: 200904261855.06831.christoph () maxiom ! de
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic