|
|
@ -34,6 +34,7 @@ email : geiseri@msoe.edu
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <tdeapplication.h>
|
|
|
|
#include <tdeapplication.h>
|
|
|
|
#include <kpassivepopup.h>
|
|
|
|
#include <kpassivepopup.h>
|
|
|
|
|
|
|
|
#include <tdeconfig.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include "metar_parser.h"
|
|
|
|
#include "metar_parser.h"
|
|
|
|
#include "stationdatabase.h"
|
|
|
|
#include "stationdatabase.h"
|
|
|
@ -89,6 +90,12 @@ WeatherLib::WeatherLib(StationDatabase *stationDB, TQObject *parent, const char
|
|
|
|
m_StationDb = stationDB;
|
|
|
|
m_StationDb = stationDB;
|
|
|
|
|
|
|
|
|
|
|
|
data.setAutoDelete( true );
|
|
|
|
data.setAutoDelete( true );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Initialize correct icon setting
|
|
|
|
|
|
|
|
TDEConfig *conf = new TDEConfig("weather_panelappletrc");
|
|
|
|
|
|
|
|
conf->setGroup("General Options");
|
|
|
|
|
|
|
|
WeatherIconPrivate::instance()->useIconTheme(conf->readBoolEntry("use_icon_theme", true));
|
|
|
|
|
|
|
|
delete conf;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
WeatherLib::~WeatherLib()
|
|
|
|
WeatherLib::~WeatherLib()
|
|
|
|