• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Plasma

WeatherUtils Namespace Reference

The WeatherUtils namespace contains helper functions for weather ions. More...

Functions

QString degreesToCardinal (float degrees)

Detailed Description

The WeatherUtils namespace contains helper functions for weather ions.


Function Documentation

ION_EXPORT QString WeatherUtils::degreesToCardinal ( float  degrees  ) 

Converts wind/sun direction given in degrees to the nearest cardinal direction.

Parameters:
degrees wind direction in degrees.
Returns:
a cardinal if available, empty string on error.

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •     Animators
  •     Applets
  •     Engines
  • Solid Modules
  • System Settings
  •   SystemSettingsView
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal