-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (12) .- Knowledge Base  . 

Weather Wallpaper Plugin

   0.2.1  

Plasmoid Binary

Score 81%
Weather Wallpaper Plugin
zoom


Weather Wallpaper Plugin
zoom


Depends on  KDE 4.x
Downloads:  5675
Submitted:  Apr 5 2009
Updated:  Apr 7 2009

Description:

A weather-aware wallpaper for KDE's Plasma desktop shell. Once configured, it is aware of the weather at your location, and will change the desktop's wallpaper as the weather changes. It uses the weather dataengine to retrieve the weather.

Bugs:
-Setting a second location will not work unless after you set it, you switch to another wallpaper plugin, hit apply, and switch back again.
-Also, since the NOAA ion doesn't return icon names, this wallpaper plugin will not work with the NOAA weather source. :(

TODO:
- Add an element of time in determining the wallpaper, so that night pics can come at night, etc. (The weather icon we receive can't provide this for most weathers, just for cloudy and clear nights)
- Show basic weather info/location name on top left of screen. For now just use the weather widget of your choice. ;-)
+ Autodetect metric/imperial measurement systems based on locale, or at least let the user choose between the two
- Allow the user to set a custom wallpaper for weather conditions.

This wallpaper is compatible with both KDE 4.2 and KDE 4.3, though users of KDE 4.3 users will want to get the latest version from kdeartwork/weatherwallpapers

Until then, feel free to enjoy the wallpaper plugin. :)

Installation notes:
This plugin does need the wallpapers from kdebase-workspace and kdeartwork.

To build this plugin, you will need the development headers for kdelibs and kdebase-workspace. (kdelibs5-dev and kdebase-workspace-dev on Kubuntu, dunno about other distros)




Changelog:

0.2.1:
------
- Fix a bug where the weather update time configuration wasn't saved
- Update translations for plasma-wallpaper-weather.desktop from trunk. (Added sv translation)
- Use the Air wallpaper if the weather cannot be retrieved (No internet, etc)

0.2:
------
- Initial release.




LicenseGPL
(Source tarball)
Ubuntu(i386 packages for Kubuntu 9.04)
Ubuntu(amd64 packages for Kubuntu 9.04)
Ubuntu(lpia packages for Kubuntu 9.04)
Fedora(i386 Fedora 10 packages (Thanks Phobeus))
Fedora(x86_64 Fedora 10 packages (Thanks Phobeus))
Mandriva(i386 Mandravia 2009 packages (Thanks tigger-gg))
Mandriva(x86_64 Mandravia 2009 packages (Thanks tigger-gg))
Send to a friend
Subscribe
Other  Artwork  from jmthomas
Report inappropriate content



goto page: prev   1  2  3  4 

-
.

 useless...

 
 by thomas12777 on: Apr 7 2009
 
Score 50%

...i could just pick something with raindrops. fits every day ;-P (scnr)


Reply to this

-
.

 good job

 
 by scsi on: Apr 8 2009
 
Score 50%

I like this ^^y. I wish it may use more picture for daylight(even morning, afternoon) and night. It will perfect \^^/


Reply to this

-

 PKGBUILD

 
 by NForce on: Apr 8 2009
 
Score 50%

Here is PKGBUILD for ArchLinux:

pkgname=plasma-weather-wallpaper-plugin
_pkgname=plasma-wallpaper-weather
pkgver=0.2.1
pkgrel=1
pkgdesc="Plugin for Plasma dekstop which sets wallpaper as the weather changes"
arch=('i686' 'x86_64')
url=""
license=('GPL')
depends=('kdebase-workspace')
makedepends=('cmake' 'automoc4')
source=("https://edge.launchpad.net/%7Eechidnaman/+archive/ppa/+files/plasma-wallpaper-weather_$pkgver.orig.tar.gz")
md5sums=('94177bfca63db13bbbb0d837bd36a606')

build() {

cd ${srcdir}/${_pkgname}-${pkgver}/
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. || return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}


Reply to this

-

 Patch

 
 by NForce on: Apr 8 2009
 
Score 50%

Hello again. I was not happy to have Air wallpaper for half an hour after start (because of not immediate internet connection), so i've made a very simple little patch, which allows me to use last used wallpaper if no connection. Here it is:
--- weather.cpp 2009-04-07 17:51:13.000000000 +0300
+++ weather.cpp 2009-04-08 23:47:04.000000000 +0300
@@ -52,6 +52,7 @@

void WeatherWallpaper::init(const KConfigGroup & config)
{
+ m_config = config;
m_weatherUpdateTime = config.readEntry("updateWeather", 30);

// Connect to weather engine.
@@ -61,6 +62,7 @@
// Set custom options
m_ionPlugins = m_weatherEngine->query("ions");

+ m_wallpaper = config.readEntry("wallpaper");
m_activePlace = config.readEntry("place");
m_activeIon = config.readEntry("ion");
m_extraData[m_activePlace] = config.readEntry("data");
@@ -503,6 +505,7 @@
m_wallpaper = QString(m_dir + "Icy_Tree");
}

+ m_config.writeEntry("wallpaper",m_wallpaper);
loadImage();
emit update(boundingRect());
}

(this is for weather.cpp)

--- weather.h 2009-04-07 17:36:23.000000000 +0300
+++ weather.h 2009-04-08 23:47:26.000000000 +0300
@@ -76,6 +76,7 @@
private:
QWidget* m_configWidget;
KDialog *m_addDialog;
+ KConfigGroup m_config;
Ui::weatherLocations locationsUi;
Ui::weatherAddPlace addUi;
QStandardItemModel *m_amodel;

(and this one is for weather.h) It would be nice if you use them :)


Reply to this

-

 Patch

 
 by Cobi on: Apr 11 2009
 
Score 50%
CobiCobi
ClueNet
Home
-
Cobi Carter 0

ClueNet
United States of America, Urbana, IL
Last visit Jun 15 2009
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

The following is a quick hack to get it to work with NOAA.

$ diff -p plasma-wallpaper-weather-0.2/weather.cpp plasma-wallpaper-weather-0.2-Cobi/weather.cpp
*** plasma-wallpaper-weather-0.2/weather.cpp Sat Apr 4 17:26:34 2009
--- plasma-wallpaper-weather-0.2-Cobi/weather.cpp Sat Apr 11 05:55:48 2009
***************
*** 35,40 ****
--- 35,42 ----
#include <Plasma/Animator>
#include <Plasma/DataEngineManager>

+ #include <time.h>
+

WeatherWallpaper::WeatherWallpaper(QObject * parent, const QVariantList & args )
: Plasma::Wallpaper(parent, args),
*************** void WeatherWallpaper::placeEditChanged(
*** 445,455 ****

void WeatherWallpaper::weatherContent(const Plasma::DataEngine::Data &data)
{
// TODO - Find a better way to retrieve weather than by looking at the icon name...
! kDebug() << "Current weather is:" << data["Condition Icon"].toString();
! if (data["Condition Icon"].toString() == "N/A") {
! m_wallpaper = QString(m_dir + "Air");
! kDebug() << "Weather not available";
}

if (data["Condition Icon"].toString() == "weather-clear") {
--- 447,769 ----

void WeatherWallpaper::weatherContent(const Plasma::DataEngine::Data &data)
{
+ time_t epoch;
+ struct tm* friendly;
+
+ epoch = time(NULL);
+ friendly = localtime(&epoch);
// TODO - Find a better way to retrieve weather than by looking at the icon name...
! kDebug() << "Current weather is:" << data["Condition Icon"].toString() << data["Current Conditions"].toString();
! if (data["Condition Icon"].toString() == "N/A"
! || data["Condition Icon"].toString() == "weather-none-available"
! ) {
! /* Utter Ludicrosity */
! if (data["Current Conditions"].toString() == "Fair"
! || data["Current Conditions"].toString() == "Clear"
! || data["Current Conditions"].toString() == "Fair with Haze"
! || data["Current Conditions"].toString() == "Clear with Haze"
! || data["Current Conditions"].toString() == "Fair and Breezy"
! || data["Current Conditions"].toString() == "Clear and Breezy"
! || data["Current Conditions"].toString() == "Windy"
! || data["Current Conditions"].toString() == "Breezy"
! || data["Current Conditions"].toString() == "Fair and Windy")
! if ((friendly->tm_hour >= 0 && friendly->tm_hour < 6)
! || (friendly->tm_hour >= 18))
! m_wallpaper = QString(m_dir + "At_Night");
! else
! m_wallpaper = QString(m_dir + "Fields_of_Peace");
!
! else if (data["Current Conditions"].toString() == "A Few Clouds"
! || data["Current Conditions"].toString() == "A Few Clouds with Haze"
! || data["Current Conditions"].toString() == "A Few Clouds and Breezy"
! || data["Current Conditions"].toString() == "A Few Clouds and Windy"
! || data["Current Conditions"].toString() == "Partly Cloudy"
! || data["Current Conditions"].toString() == "Partly Cloudy with Haze"
! || data["Current Conditions"].toString() == "Partly Cloudy and Breezy"
! || data["Current Conditions"].toString() == "Partly Cloudy and Windy")
! if ((friendly->tm_hour >= 0 && friendly->tm_hour < 6)
! || (friendly->tm_hour >= 18))
! m_wallpaper = QString(m_dir + "JK_Bridge_at_Night");
! else
! m_wallpaper = QString(m_dir + "Colorado_Farm");
!
! else if (data["Current Conditions"].toString() == "Mostly Cloudy"
! || data["Current Conditions"].toString() == "Mostly Cloudy with Haze"
! || data["Current Conditions"].toString() == "Mostly Cloudy and Breezy"
! || data["Current Conditions"].toString() == "Mostly Cloudy and Windy"
! || data["Current Conditions"].toString() == "Overcast"
! || data["Current Conditions"].toString() == "Overcast with Haze"
! || data["Current Conditions"].toString() == "Overcast and Breezy"
! || data["Current Conditions"].toString() == "Overcast and Windy")
! m_wallpaper = QString(m_dir + "Blue_Sun");
!
! else if (data["Current Conditions"].toString() == "Rain Showers"
! || data["Current Conditions"].toString() == "Light Rain Showers"
! || data["Current Conditions"].toString() == "Light Rain and Breezy"
! || data["Current Conditions"].toString() == "Heavy Rain Showers"
! || data["Current Conditions"].toString() == "Rain Showers in Vacinity"
! || data["Current Conditions"].toString() == "Light Showers Rain"
! || data["Current Conditions"].toString() == "Heavy Showers Rain"
! || data["Current Conditions"].toString() == "Showers Rain"
! || data["Current Conditions"].toString() == "Showers Rain in Vicinity"
! || data["Current Conditions"].toString() == "Rain Showers Fog/Mist"
! || data["Current Conditions"].toString() == "Light Rain Showers Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Rain Showers Fog/Mist"
! || data["Current Conditions"].toString() == "Rain Showers in Vicinity Fog/Mist"
! || data["Current Conditions"].toString() == "Light Showers Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Showers Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Showers Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Showers Rain in Vicinity Fog/Mist"
! || data["Current Conditions"].toString() == "Showers in Vicinity"
! || data["Current Conditions"].toString() == "Showers in Vicinity Fog/Mist"
! || data["Current Conditions"].toString() == "Showers in Vicinity Fog"
! || data["Current Conditions"].toString() == "Showers in Vicinity Haze"
! || data["Current Conditions"].toString() == "Light Rain"
! || data["Current Conditions"].toString() == "Drizzle"
! || data["Current Conditions"].toString() == "Light Drizzle"
! || data["Current Conditions"].toString() == "Heavy Drizzle"
! || data["Current Conditions"].toString() == "Light Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Drizzle Fog/Mist"
! || data["Current Conditions"].toString() == "Light Drizzle Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Drizzle Fog/Mist"
! || data["Current Conditions"].toString() == "Light Rain Fog"
! || data["Current Conditions"].toString() == "Drizzle Fog"
! || data["Current Conditions"].toString() == "Light Drizzle Fog"
! || data["Current Conditions"].toString() == "Heavy Drizzle Fog"
! || data["Current Conditions"].toString() == "Rain"
! || data["Current Conditions"].toString() == "Heavy Rain"
! || data["Current Conditions"].toString() == "Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Rain Fog"
! || data["Current Conditions"].toString() == "Heavy Rain Fog")
! m_wallpaper = QString(m_dir + "There_is_Rain_on_the_Table");
!
! else if (data["Current Conditions"].toString() == "Fog/Mist"
! || data["Current Conditions"].toString() == "Fog"
! || data["Current Conditions"].toString() == "Freezing Fog"
! || data["Current Conditions"].toString() == "Shallow Fog"
! || data["Current Conditions"].toString() == "Partial Fog"
! || data["Current Conditions"].toString() == "Patches of Fog"
! || data["Current Conditions"].toString() == "Fog in Vicinity"
! || data["Current Conditions"].toString() == "Freezing Fog in Vacinity"
! || data["Current Conditions"].toString() == "Shallow Fog in Vacinity"
! || data["Current Conditions"].toString() == "Partial Fog in Vacinity"
! || data["Current Conditions"].toString() == "Patches of Fog in Vacinity"
! || data["Current Conditions"].toString() == "Showers in Vacinity Fog"
! || data["Current Conditions"].toString() == "Light Freezing Fog"
! || data["Current Conditions"].toString() == "Heavy Freezing Fog"
! || data["Current Conditions"].toString() == "Haze"
! || data["Current Conditions"].toString() == "Dust"
! || data["Current Conditions"].toString() == "Low Drifting Dust"
! || data["Current Conditions"].toString() == "Blowing Dust"
! || data["Current Conditions"].toString() == "Sand"
! || data["Current Conditions"].toString() == "Blowing Sand"
! || data["Current Conditions"].toString() == "Low Drifting Sand"
! || data["Current Conditions"].toString() == "Dust/Sand Whirls"
! || data["Current Conditions"].toString() == "Dust/Sand Whirls in Vicinity"
! || data["Current Conditions"].toString() == "Dust Storm"
! || data["Current Conditions"].toString() == "Heavy Dust Storm"
! || data["Current Conditions"].toString() == "Dust Storm in Vicinity"
! || data["Current Conditions"].toString() == "Sand Storm"
! || data["Current Conditions"].toString() == "Heavy Sand Storm"
! || data["Current Conditions"].toString() == "Sand Storm in Vicinity"
! || data["Current Conditions"].toString() == "Smoke")
! m_wallpaper = QString(m_dir + "Fresh_Morning");
!
! else if (data["Current Conditions"].toString() == "Thunderstorm"
! || data["Current Conditions"].toString() == "Thunderstorm Rain"
! || data["Current Conditions"].toString() == "Light Thunderstorm Rain"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain"
! || data["Current Conditions"].toString() == "Thunderstorm Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Light Thunderstorm Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain Fog and Windy"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Thunderstorm Showers in Vicinity"
! || data["Current Conditions"].toString() == "Light Thunderstorm Rain Haze"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain Haze"
! || data["Current Conditions"].toString() == "Thunderstorm Fog"
! || data["Current Conditions"].toString() == "Light Thunderstorm Rain Fog"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain Fog"
! || data["Current Conditions"].toString() == "Thunderstorm Light Rain"
! || data["Current Conditions"].toString() == "Thunderstorm Heavy Rain"
! || data["Current Conditions"].toString() == "Thunderstorm Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Thunderstorm Light Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Thunderstorm Heavy Rain Fog/Mist"
! || data["Current Conditions"].toString() == "Thunderstorm in Vicinity Fog/Mist"
! || data["Current Conditions"].toString() == "Thunderstorm Showers in Vicinity"
! || data["Current Conditions"].toString() == "Thunderstorm in Vicinity Haze"
! || data["Current Conditions"].toString() == "Thunderstorm Haze in Vicinity"
! || data["Current Conditions"].toString() == "Thunderstorm Light Rain Haze"
! || data["Current Conditions"].toString() == "Thunderstorm Heavy Rain Haze"
! || data["Current Conditions"].toString() == "Thunderstorm Fog"
! || data["Current Conditions"].toString() == "Thunderstorm Light Rain Fog"
! || data["Current Conditions"].toString() == "Thunderstorm Heavy Rain Fog"
! || data["Current Conditions"].toString() == "Thunderstorm Hail"
! || data["Current Conditions"].toString() == "Light Thunderstorm Rain Hail"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain Hail"
! || data["Current Conditions"].toString() == "Thunderstorm Rain Hail Fog/Mist"
! || data["Current Conditions"].toString() == "Light Thunderstorm Rain Hail Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain Hail Fog/Hail"
! || data["Current Conditions"].toString() == "Thunderstorm Showers in Vicinity Hail"
! || data["Current Conditions"].toString() == "Light Thunderstorm Rain Hail Haze"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain Hail Haze"
! || data["Current Conditions"].toString() == "Thunderstorm Hail Fog"
! || data["Current Conditions"].toString() == "Light Thunderstorm Rain Hail Fog"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain Hail Fog"
! || data["Current Conditions"].toString() == "Thunderstorm Light Rain Hail"
! || data["Current Conditions"].toString() == "Thunderstorm Heavy Rain Hail"
! || data["Current Conditions"].toString() == "Thunderstorm Rain Hail Fog/Mist"
! || data["Current Conditions"].toString() == "Thunderstorm Light Rain Hail Fog/Mist"
! || data["Current Conditions"].toString() == "Thunderstorm Heavy Rain Hail Fog/Mist"
! || data["Current Conditions"].toString() == "Thunderstorm in Vicinity Hail"
! || data["Current Conditions"].toString() == "Thunderstorm in Vicinity Hail Haze"
! || data["Current Conditions"].toString() == "Thunderstorm Haze in Vicinity Hail"
! || data["Current Conditions"].toString() == "Thunderstorm Light Rain Hail Haze"
! || data["Current Conditions"].toString() == "Thunderstorm Heavy Rain Hail Haze"
! || data["Current Conditions"].toString() == "Thunderstorm Hail Fog"
! || data["Current Conditions"].toString() == "Thunderstorm Light Rain Hail Fog"
! || data["Current Conditions"].toString() == "Thunderstorm Heavy Rain Hail Fog"
! || data["Current Conditions"].toString() == "Thunderstorm Small Hail/Snow Pellets"
! || data["Current Conditions"].toString() == "Thunderstorm Rain Small Hail/Snow Pellets"
! || data["Current Conditions"].toString() == "Light Thunderstorm Rain Small Hail/Snow Pellets"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Rain Small Hail/Snow Pellets"
! || data["Current Conditions"].toString() == "Thunderstorm in Vicinity"
! || data["Current Conditions"].toString() == "Thunderstorm in Vicinity Fog"
! || data["Current Conditions"].toString() == "Thunderstorm in Vicinity Haze")
! m_wallpaper = QString(m_dir + "Lightning");
!
! else if (data["Current Conditions"].toString() == "Ice Pellets"
! || data["Current Conditions"].toString() == "Light Ice Pellets"
! || data["Current Conditions"].toString() == "Heavy Ice Pellets"
! || data["Current Conditions"].toString() == "Ice Pellets in Vicinity"
! || data["Current Conditions"].toString() == "Showers Ice Pellets"
! || data["Current Conditions"].toString() == "Thunderstorm Ice Pellets"
! || data["Current Conditions"].toString() == "Ice Crystals"
! || data["Current Conditions"].toString() == "Hail"
! || data["Current Conditions"].toString() == "Small Hail/Snow Pellets"
! || data["Current Conditions"].toString() == "Light Small Hail/Snow Pellets"
! || data["Current Conditions"].toString() == "Heavy small Hail/Snow Pellets"
! || data["Current Conditions"].toString() == "Showers Hail"
! || data["Current Conditions"].toString() == "Hail Showers")
! m_wallpaper = QString(m_dir + "Hail");
!
! else if (data["Current Conditions"].toString() == "Snow"
! || data["Current Conditions"].toString() == "Light Snow"
! || data["Current Conditions"].toString() == "Heavy Snow"
! || data["Current Conditions"].toString() == "Snow Showers"
! || data["Current Conditions"].toString() == "Light Snow Showers"
! || data["Current Conditions"].toString() == "Heavy Snow Showers"
! || data["Current Conditions"].toString() == "Showers Snow"
! || data["Current Conditions"].toString() == "Light Showers Snow"
! || data["Current Conditions"].toString() == "Heavy Showers Snow"
! || data["Current Conditions"].toString() == "Snow Fog/Mist"
! || data["Current Conditions"].toString() == "Light Snow Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Snow Fog/Mist"
! || data["Current Conditions"].toString() == "Snow Showers Fog/Mist"
! || data["Current Conditions"].toString() == "Light Snow Showers Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Snow Showers Fog/Mist"
! || data["Current Conditions"].toString() == "Showers Snow Fog/Mist"
! || data["Current Conditions"].toString() == "Light Showers Snow Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Showers Snow Fog/Mist"
! || data["Current Conditions"].toString() == "Snow Fog"
! || data["Current Conditions"].toString() == "Light Snow Fog"
! || data["Current Conditions"].toString() == "Heavy Snow Fog"
! || data["Current Conditions"].toString() == "Snow Showers Fog"
! || data["Current Conditions"].toString() == "Light Snow Showers Fog"
! || data["Current Conditions"].toString() == "Heavy Snow Showers Fog"
! || data["Current Conditions"].toString() == "Showers Snow Fog"
! || data["Current Conditions"].toString() == "Light Showers Snow Fog"
! || data["Current Conditions"].toString() == "Heavy Showers Snow Fog"
! || data["Current Conditions"].toString() == "Showers in Vicinity Snow"
! || data["Current Conditions"].toString() == "Snow Showers in Vicinity"
! || data["Current Conditions"].toString() == "Snow Showers in Vicinity Fog/Mist"
! || data["Current Conditions"].toString() == "Snow Showers in Vicinity Fog"
! || data["Current Conditions"].toString() == "Low Drifting Snow"
! || data["Current Conditions"].toString() == "Blowing Snow"
! || data["Current Conditions"].toString() == "Snow Low Drifting Snow"
! || data["Current Conditions"].toString() == "Snow Blowing Snow"
! || data["Current Conditions"].toString() == "Light Snow Low Drifting Snow"
! || data["Current Conditions"].toString() == "Light Snow Blowing Snow"
! || data["Current Conditions"].toString() == "Light Snow Blowing Snow Fog/Mist"
! || data["Current Conditions"].toString() == "Heavy Snow Low Drifting Snow"
! || data["Current Conditions"].toString() == "Heavy Snow Blowing Snow"
! || data["Current Conditions"].toString() == "Thunderstorm Snow"
! || data["Current Conditions"].toString() == "Light Thunderstorm Snow"
! || data["Current Conditions"].toString() == "Heavy Thunderstorm Snow"
! || data["Current Conditions"].toString() == "Snow Grains"
! || data["Current Conditions"].toString() == "Light Snow Grains"
! || data["Current Conditions"].toString() == "Heavy Snow Grains"
! || data["Current Conditions"].toString() == "Heavy Blowing Snow"
! || data["Current Conditions"].toString() == "Blowing Snow in Vicinity")
! m_wallpaper = QString(m_dir + "Winter_Track");
!
! else if (data["Current Conditions"].toString() == "Rain Snow"
! || data["Current Conditions"].toString() == "Light Rain Snow"
! || data["Current Conditions"].toString() == "Heavy Rain Snow"
! || data["Current Conditions"].toString() == "Snow Rain"
! || data["Current Conditions"].toString() == "Light Snow Rain"
! || data["Current Conditions"].toString() == "Heavy Snow Rain"
! || data["Current Conditions"].toString() == "Drizzle Snow"
! || data["Current Conditions"].toString() == "Light Drizzle Snow"
! || data["Current Conditions"].toString() == "Heavy Drizzle Snow"
! || data["Current Conditions"].toString() == "Snow Drizzle"
! || data["Current Conditions"].toString() == "Light Snow Drizzle"
! || data["Current Conditions"].toString() == "Heavy Drizzle Snow"
! || data["Current Conditions"].toString() == "Freezing Rain"
! || data["Current Conditions"].toString() == "Freezing Drizzle"
! || data["Current Conditions"].toString() == "Light Freezing Rain"
! || data["Current Conditions"].toString() == "Light Freezing Drizzle"
! || data["Current Conditions"].toString() == "Heavy Freezing Rain"
! || data["Current Conditions"].toString() == "Heavy Freezing Drizzle"
! || data["Current Conditions"].toString() == "Freezing Rain in Vicinity"
! || data["Current Conditions"].toString() == "Freezing Drizzle in Vicinity"
! || data["Current Conditions"].toString() == "Rain Ice Pellets"
! || data["Current Conditions"].toString() == "Light Rain Ice Pellets"
! || data["Current Conditions"].toString() == "Heavy Rain Ice Pellets"
! || data["Current Conditions"].toString() == "Drizzle Ice Pellets"
! || data["Current Conditions"].toString() == "Light Drizzle Ice Pellets"
! || data["Current Conditions"].toString() == "Heavy Drizzle Ice Pellets"
! || data["Current Conditions"].toString() == "Ice Pellets Rain"
! || data["Current Conditions"].toString() == "Light Ice Pellets Rain"
! || data["Current Conditions"].toString() == "Heavy Ice Pellets Rain"
! || data["Current Conditions"].toString() == "Ice Pellets Drizzle"
! || data["Current Conditions"].toString() == "Light Ice Pellets Drizzle"
! || data["Current Conditions"].toString() == "Heavy Ice Pellets Drizzle"
! || data["Current Conditions"].toString() == "Freezing Rain Snow"
! || data["Current Conditions"].toString() == "Light Freezing Rain Snow"
! || data["Current Conditions"].toString() == "Heavy Freezing Rain Snow"
! || data["Current Conditions"].toString() == "Freezing Drizzle Snow"
! || data["Current Conditions"].toString() == "Light Freezing Drizzle Snow"
! || data["Current Conditions"].toString() == "Heavy Freezing Drizzle Snow"
! || data["Current Conditions"].toString() == "Snow Freezing Rain"
! || data["Current Conditions"].toString() == "Light Snow Freezing Rain"
! || data["Current Conditions"].toString() == "Heavy Snow Freezing Rain"
! || data["Current Conditions"].toString() == "Snow Freezing Drizzle"
! || data["Current Conditions"].toString() == "Light Snow Freezing Drizzle"
! || data["Current Conditions"].toString() == "Heavy Snow Freezing Drizzle"
! || data["Current Conditions"].toString() == "Freezing Rain Rain"
! || data["Current Conditions"].toString() == "Light Freezing Rain Rain"
! || data["Current Conditions"].toString() == "Heavy Freezing Rain Rain"
! || data["Current Conditions"].toString() == "Rain Freezing Rain"
! || data["Current Conditions"].toString() == "Light Rain Freezing Rain"
! || data["Current Conditions"].toString() == "Heavy Rain Freezing Rain"
! || data["Current Conditions"].toString() == "Freezing Drizzle Rain"
! || data["Current Conditions"].toString() == "Light Freezing Drizzle Rain"
! || data["Current Conditions"].toString() == "Heavy Freezing Drizzle Rain"
! || data["Current Conditions"].toString() == "Rain Freezing Drizzle"
! || data["Current Conditions"].toString() == "Light Rain Freezing Drizzle"
! || data["Current Conditions"].toString() == "Heavy Rain Freezing Drizzle")
! m_wallpaper = QString(m_dir + "Icy_Tree");
!
! else if (data["Current Conditions"].toString() == "Funnel Cloud"
! || data["Current Conditions"].toString() == "Funnel Cloud in Vicinity"
! || data["Current Conditions"].toString() == "Tornado/Water Spout")
! m_wallpaper = QString(m_dir + "Hill_City_Tornado_Enhanced");
!
! else {
! m_wallpaper = QString(m_dir + "Air");
! kDebug() << "Weather not available";
! }
}

if (data["Condition Icon"].toString() == "weather-clear") {


Reply to this

-

 Yahoo wheater

 
 by alessiol on: Apr 12 2009
 
Score 50%

Nice program!!! But my city isn't in wheater sites.... but in in Yahoo Wheater!

Can you implement http://weather.yahoo.com/ ??

thks!!!


Reply to this

goto page: prev   1  2  3  4 

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.