Plasma WiFi
KDE Plasma 4 Extensions
Score 83%
Description:

This is a kde 4 plasma applet which displays the signal strength of the
access point your wifi nic is currently connected to. It makes no attempt
to do any configuration itself, but only reports on the state of the
connection.

This Software is published under the terms of the GNU GPL V3 and comes
without any warranty. Feel free to change or distribute this software.

The graphic is based on the network-wireless icon from the KDE4 Oxygen
icons. I tried to change it as little as possible but unfortunately plasma
wouldn't render the waveforms correctly so I opted to change them to flat
bands of green.

Short installation instruction:
# wget http://movemearound.org/software/plasma-wifi/plasma-wifi-0.3.tar.gz
# tar -xvzf plasma-wifi-0.3.tar.gz
# cd plasma-wifi-0.3/
# cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 .
# make
# make install

NOTE: The install prefix is from my Kubuntu system. Please adjust this
value to your needs.

Thanks to Jonathan Thomas for building .deb packages for Ubuntu.

The source for this applet is now under /playground in the KDE svn repository. I'm hoping that this will prompt me to work more collaboratively with the Plasma team. My next goal is to create a data engine for obtaining the data, in order to provide platform independence.
Last changelog:

9 years ago

0.5 - updated for the new Plasma API in KDE 4.1
0.4 - applied a patch from Mikael Gerdin to avoid crashes when the wifi module unloads
0.3 - commented out lines in CMakeList.txt which were related to unit test (for now, to allow compilation on a wider variety of machines)
0.2 - added explicit license information

radecz3k

8 years ago

Its not stick to new api, so it isnt working as it should on 4.2.2. I like this work, and i would like to run it to on kde 4.2.2. Size of sign isnt changing when resizing plasmoid, and sign stand in one place of plasmoi area.

Report

radecz3k

8 years ago

I realy like this but its pises me off with a lot of ugly logs.

all the time i get
plasma(8476) Plasma_WiFi_Signal_Strength::paintAntenna: "off"
plasma(8476) Plasma_WiFi_Signal_Strength::refresh: refreshing
plasma(8476) Plasma_WiFi_Signal_Strength::collectData: parts[3]: "0"
plasma(8476) Plasma_WiFi_Signal_Strength::paintAntenna: "off"
plasma(8476) Plasma_WiFi_Signal_Strength::refresh: refreshing
plasma(8476) Plasma_WiFi_Signal_Strength::collectData: parts[3]: "0"

i know i have disabled my wifi so i dont info about that every secend. How can i disable it or set to lower lever verbosity?

Report

sconosciuto

8 years ago

If you want to install it on KDE 4.2 you have to edit CMakeLists.txt and
1) comment "find_package(Plasma REQUIRED)"
2) change ${PLASMA_LIBS} with ${KDE4_PLASMA_LIBS}

Report

chris0c0hogan

8 years ago

I made it a but further by modifying the CMakeLists.txt. However, now I get:

make
Scanning dependencies of target plasma_applet_wifi_signal_automoc
Generating plasma-wifi-signal.moc
[ 0%] Built target plasma_applet_wifi_signal_automoc
Scanning dependencies of target plasma_applet_wifi_signal
[ 50%] Building CXX object CMakeFiles/plasma_applet_wifi_signal.dir/plasma_applet_wifi_signal_automoc.o
[100%] Building CXX object CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o
Linking CXX shared module lib/plasma_applet_wifi_signal.so
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `Plasma_WiFi_Signal_Strength::qt_metacast(char const*)':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.moc:58: undefined reference to `Plasma::Applet::qt_metacast(char const*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `~Plasma_WiFi_Signal_Strength':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:48: undefined reference to `Plasma::Applet::~Applet()'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:48: undefined reference to `Plasma::Applet::~Applet()'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:48: undefined reference to `Plasma::Applet::~Applet()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `Plasma_WiFi_Signal_Strength':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:37: undefined reference to `Plasma::Applet::Applet(QObject*, QList<QVariant> const&)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:37: undefined reference to `Plasma::Applet::Applet(QObject*, QList<QVariant> const&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `Plasma_WiFi_Signal_Strength::qt_metacall(QMetaObject::Call, int, void**)':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.moc:64: undefined reference to `Plasma::Applet::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o: In function `Plasma_WiFi_Signal_Strength::paintAntenna(QPainter*, QRect const&)':
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:122: undefined reference to `Plasma::Svg::Svg(QObject*)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:123: undefined reference to `Plasma::Svg::setImagePath(QString const&)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:124: undefined reference to `Plasma::Svg::setContainsMultipleImages(bool)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:127: undefined reference to `Plasma::Svg::hasElement(QString const&) const'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:155: undefined reference to `Plasma::Svg::hasElement(QString const&) const'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:156: undefined reference to `Plasma::Svg::paint(QPainter*, QRectF const&, QString const&)'
/home/krit/Documents/downloads/kde4/plasmoids/plasma-wifi-0.5/plasma-wifi-signal.cpp:128: undefined reference to `Plasma::Svg::paint(QPainter*, QRectF const&, QString const&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro+0x0): undefined reference to `Plasma::Applet::staticMetaObject'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x20): undefined reference to `Plasma::Applet::eventFilter(QObject*, QEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x24): undefined reference to `Plasma::Applet::timerEvent(QTimerEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x40): undefined reference to `Plasma::Applet::type() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x44): undefined reference to `Plasma::Applet::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x48): undefined reference to `Plasma::Applet::paintWindowFrame(QPainter*, QStyleOptionGraphicsItem const*, QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x50): undefined reference to `Plasma::Applet::shape() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x58): undefined reference to `Plasma::Applet::sizeHint(Qt::SizeHint, QSizeF const&) const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x60): undefined reference to `Plasma::Applet::itemChange(QGraphicsItem::GraphicsItemChange, QVariant const&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x7c): undefined reference to `Plasma::Applet::focusInEvent(QFocusEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x94): undefined reference to `Plasma::Applet::resizeEvent(QGraphicsSceneResizeEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xa0): undefined reference to `Plasma::Applet::hoverLeaveEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xb4): undefined reference to `Plasma::Applet::save(KConfigGroup&) const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xb8): undefined reference to `Plasma::Applet::restore(KConfigGroup&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xbc): undefined reference to `Plasma::Applet::formFactor() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xc0): undefined reference to `Plasma::Applet::location() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xc8): undefined reference to `Plasma::Applet::contextualActions()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xcc): undefined reference to `Plasma::Applet::isPopupShowing() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xd0): undefined reference to `Plasma::Applet::addAssociatedWidget(QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xd4): undefined reference to `Plasma::Applet::removeAssociatedWidget(QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xd8): undefined reference to `Plasma::Applet::initExtenderItem(Plasma::ExtenderItem*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xdc): undefined reference to `Plasma::Applet::createConfigurationInterface(KConfigDialog*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xe0): undefined reference to `Plasma::Applet::destroy()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xe4): undefined reference to `Plasma::Applet::showConfigurationInterface()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xec): undefined reference to `Plasma::Applet::configChanged()'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xf0): undefined reference to `Plasma::Applet::saveState(KConfigGroup&) const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xf4): undefined reference to `Plasma::Applet::constraintsEvent(QFlags<Plasma::Constraint>)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xf8): undefined reference to `Plasma::Applet::sceneEventFilter(QGraphicsItem*, QEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0xfc): undefined reference to `Plasma::Applet::mouseMoveEvent(QGraphicsSceneMouseEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x100): undefined reference to `Plasma::Applet::hoverEnterEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x11c): undefined reference to `non-virtual thunk to Plasma::Applet::shape() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x134): undefined reference to `non-virtual thunk to Plasma::Applet::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x138): undefined reference to `non-virtual thunk to Plasma::Applet::type() const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x13c): undefined reference to `non-virtual thunk to Plasma::Applet::sceneEventFilter(QGraphicsItem*, QEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x158): undefined reference to `non-virtual thunk to Plasma::Applet::focusInEvent(QFocusEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x160): undefined reference to `non-virtual thunk to Plasma::Applet::hoverEnterEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x168): undefined reference to `non-virtual thunk to Plasma::Applet::hoverLeaveEvent(QGraphicsSceneHoverEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x178): undefined reference to `non-virtual thunk to Plasma::Applet::mouseMoveEvent(QGraphicsSceneMouseEvent*)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x190): undefined reference to `non-virtual thunk to Plasma::Applet::itemChange(QGraphicsItem::GraphicsItemChange, QVariant const&)'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTV27Plasma_WiFi_Signal_Strength[vtable for Plasma_WiFi_Signal_Strength]+0x1bc): undefined reference to `non-virtual thunk to Plasma::Applet::sizeHint(Qt::SizeHint, QSizeF const&) const'
CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o:(.data.rel.ro._ZTI27Plasma_WiFi_Signal_Strength[typeinfo for Plasma_WiFi_Signal_Strength]+0x8): undefined reference to `typeinfo for Plasma::Applet'
collect2: ld returned 1 exit status
make[2]: *** [lib/plasma_applet_wifi_signal.so] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wifi_signal.dir/all] Error 2
make: *** [all] Error 2
loft plasma-wifi-0.5 #


QT: 4.4.2
KDELIBS: 4.2.0-r3
OS: Gentoo

I'd really like to get this applet back!

Thanks,

Chris

Report

zersaa

8 years ago

It works, thanks

Report

Hwoarang

8 years ago

Yeah. I would really like this application to work on kde-4.2 :)

Report

ZXP6

8 years ago

When are we having a version for KDE 4.2? :D
I miss it in my desktop now :)

Report

sconosciuto

8 years ago

Same here :P

Report

coolpcguy

8 years ago

Hey I cant compile this on KDE 4.1.3, Fedora 10. Here's what I get on exec'ing make
Quote:
Generating plasma-wifi-signal.moc
Scanning dependencies of target plasma_applet_wifi_signal
[ 50%] Building CXX object CMakeFiles/plasma_applet_wifi_signal.dir/plasma_applet_wifi_signal_automoc.o
[100%] Building CXX object CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp: In constructor ‘Plasma_WiFi_Signal_Strength::Plasma_WiFi_Signal_Strength(QObject*, const QVariantList&)’:
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:37: error: ‘setDrawStandardBackground’ was not declared in this scope
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp: In member function ‘virtual void Plasma_WiFi_Signal_Strength::init()’:
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:57: error: ‘self’ is not a member of ‘Plasma::Theme’
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:58: error: ‘self’ is not a member of ‘Plasma::Theme’
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp: In member function ‘void Plasma_WiFi_Signal_Strength::paintAntenna(QPainter*, const QRect&)’:
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:115: error: no matching function for call to ‘Plasma::Svg::Svg(QString&, Plasma_WiFi_Signal_Strength* const)’
/usr/include/kde4/plasma/svg.h:73: note: candidates are: Plasma::Svg::Svg(QObject*)
/usr/include/kde4/plasma/svg.h:51: note: Plasma::Svg::Svg(const Plasma::Svg&)
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:116: error: ‘class Plasma::Svg’ has no member named ‘setContentType’
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:116: error: ‘SingleImage’ is not a member of ‘Plasma::Svg’
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:117: error: ‘contentSize’ was not declared in this scope
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:119: error: ‘class Plasma::Svg’ has no member named ‘elementExists’
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:147: error: ‘class Plasma::Svg’ has no member named ‘elementExists’
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp: In member function ‘QSizeF Plasma_WiFi_Signal_Strength::contentSizeHint() const’:
/home/Sathyajith/Plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:216: error: ‘contentSize’ was not declared in this scope
make[2]: *** [CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wifi_signal.dir/all] Error 2
make: *** [all] Error 2


Report

laurencevde

8 years ago

Could you make sure the applet stays square, and keeps a sane size in a panel? It now sizes to take whatever is left in the panel, resulting in weird shapes and sizes. I've got a vertical, not-full-size, panel at the left-hand-size of my screen with buttons and stuff in it, and this meter is currently twice as high as it should be.
Some more wifi-info, like essid, and ip-address, in a tooltip or so, would be nice.
And an option to start a configuration-tool, like wpa_gui, would make it complete.

Report

cookdav

9 years ago

When it's put into container 'panel',
then the percent-signal-strength is
NOT visible...needs to be centered
over the ball.

Also, it would be nice to show
the 'ESSID' of AP connected to, when
one hovers over it.

Report

GuSArg

9 years ago

Hi,

I've installed this package and when i've add the plasmoid to my desktop it says that is unknown plasmoid...

Using Kubuntu hardy + KDE4.1

Cheers.

Report

nildon

9 years ago

cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /root/.kde/share/apps;/usr/share/kde4/apps;/usr/share/kde-settings/kde-profile/default/share/apps;/usr/share/apps
-- Configuring done

Report

downdiagonal

9 years ago

I really like this plasmoid, but unfortunately it always shows 1/10th the actual signal strength.

Report

downdiagonal

9 years ago

This seemed to fix my problem. I had to change this line in plasma-wifi-signal.cpp:

m_signal_strength = parts[3].left(parts[3].size() - 1).toInt();

To this:

m_signal_strength = parts[3].left(parts[3].size()).toInt();

Report

meako

8 years ago

thanks man, had the same problem too.

Report

warezmen

9 years ago


i add you plasmoid on my debian repo

deb http://www.amarok2deb.co.cc/debian/ unstable main

Report

warezmen

9 years ago


i add you plasmoid on my debian repo

deb http://www.amarok2deb.co.cc/debian/ unstable main

Report

warezmen

9 years ago

http://rapidshare.com/files/131265213/plasma-wifi_0.5_i386.deb.html

Good Job

Report

DenisBY

9 years ago

# make
Generating plasma-wifi-signal.moc
Scanning dependencies of target plasma_applet_wifi_signal
[ 50%] Building CXX object CMakeFiles/plasma_applet_wifi_signal.dir/plasma_applet_wifi_signal_automoc.o
[100%] Building CXX object CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp: In constructor ‘Plasma_WiFi_Signal_Strength::Plasma_WiFi_Signal_Strength(QObject*, const QVariantList&)’:
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:37: error: ‘setDrawStandardBackground’ was not declared in this scope
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp: In member function ‘virtual void Plasma_WiFi_Signal_Strength::init()’:
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:57: error: ‘self’ is not a member of ‘Plasma::Theme’
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:58: error: ‘self’ is not a member of ‘Plasma::Theme’
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp: In member function ‘void Plasma_WiFi_Signal_Strength::paintAntenna(QPainter*, const QRect&)’:
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:115: error: no matching function for call to ‘Plasma::Svg::Svg(QString&, Plasma_WiFi_Signal_Strength* const)’
/usr/kde/4.1/include/plasma/svg.h:73: note: candidates are: Plasma::Svg::Svg(QObject*)
/usr/kde/4.1/include/plasma/svg.h:51: note: Plasma::Svg::Svg(const Plasma::Svg&)
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:116: error: ‘class Plasma::Svg’ has no member named ‘setContentType’
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:116: error: ‘SingleImage’ is not a member of ‘Plasma::Svg’
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:117: error: ‘contentSize’ was not declared in this scope
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:119: error: ‘class Plasma::Svg’ has no member named ‘elementExists’
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:147: error: ‘class Plasma::Svg’ has no member named ‘elementExists’
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp: In member function ‘QSizeF Plasma_WiFi_Signal_Strength::contentSizeHint() const’:
/usr/src/plasmoids/plasma-wifi-0.3/plasma-wifi-signal.cpp:216: error: ‘contentSize’ was not declared in this scope
make[2]: *** [CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_wifi_signal.dir/all] Error 2
make: *** [all] Error 2

kde-4.0.85

Report

flatrose

9 years ago

http://www.cmake.org/Wiki/CMake:How_To_Build_KDE4_Software

Report

Linkin

9 years ago

I'm having the following errors:

/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp: In constructor »Plasma_WiFi_Signal_Strength::Plasma_WiFi_Signal_Strength(QObject*, const QVariantList&)«:
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:37: Fehler: »setDrawStandardBackground« wurde in diesem Gültigkeitsbereich nicht definiert
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp: In member function »virtual void Plasma_WiFi_Signal_Strength::init()«:
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:57: Fehler: »self« ist kein Element von »Plasma::Theme«
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:58: Fehler: »self« ist kein Element von »Plasma::Theme«
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp: In member function »void Plasma_WiFi_Signal_Strength::paintAntenna(QPainter*, const QRect&)«:
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:119: Fehler: keine passende Funktion für Aufruf von »Plasma::Svg::Svg(QString&, Plasma_WiFi_Signal_Strength* const)«
/opt/kdemod/include/plasma/svg.h:72: Anmerkung: Kandidaten sind: Plasma::Svg::Svg(QObject*)
/opt/kdemod/include/plasma/svg.h:48: Anmerkung: Plasma::Svg::Svg(const Plasma::Svg&)
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:120: Fehler: »class Plasma::Svg« hat kein Element namens »setContentType«
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:120: Fehler: »SingleImage« ist kein Element von »Plasma::Svg«
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:121: Fehler: »contentSize« wurde in diesem Gültigkeitsbereich nicht definiert
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:123: Fehler: »class Plasma::Svg« hat kein Element namens »elementExists«
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:151: Fehler: »class Plasma::Svg« hat kein Element namens »elementExists«
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp: In member function »QSizeF Plasma_WiFi_Signal_Strength::contentSizeHint() const«:
/home/chrissi/plasma-wifi/src/plasma-wifi-0.4/plasma-wifi-signal.cpp:220: Fehler: »contentSize« wurde in diesem Gültigkeitsbereich nicht definiert
make[2]: *** [CMakeFiles/plasma_applet_wifi_signal.dir/plasma-wifi-signal.o] Fehler 1
make[1]: *** [CMakeFiles/plasma_applet_wifi_signal.dir/all] Fehler 2
make: *** [all] Fehler 2

I'm on ArchLinux, cmake is version 2.4-patch 8. How can i fix the errors?

Report

C

ochoha

9 years ago

My best guess is that that's a linker error, because it looks like the object files already exist.

Maybe you have two different versions of QT4 installed, and the linker is getting confused. I'll see if I can find a similar error string elsewhere.

Report

Linkin

9 years ago

Thanks, I'd really love to use this plasmoid.

Report

C

ochoha

9 years ago

Looks like you've got an older (or possibly newer) version of the KDE4 libs installed. What version do you have?

I' m not sure that my previous answer was useful at all, but I don't really read German, so I had to study up a bit to read what the compiler was trying to say. ;)

-mark

Report

9 years ago

0.5 - updated for the new Plasma API in KDE 4.1
0.4 - applied a patch from Mikael Gerdin to avoid crashes when the wifi module unloads
0.3 - commented out lines in CMakeList.txt which were related to unit test (for now, to allow compilation on a wider variety of machines)
0.2 - added explicit license information

product-maker 17 109

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.5
updated Jun 16 2008
added Apr 22 2008
downloads today
0
page views today 8