|
|
|
@ -27,10 +27,12 @@
|
|
|
|
|
#include <ksettings/dispatcher.h>
|
|
|
|
|
#include <kcmultidialog.h>
|
|
|
|
|
|
|
|
|
|
#include <tdeapplication.h>
|
|
|
|
|
#include <kiconloader.h>
|
|
|
|
|
#include <tdetoolbar.h>
|
|
|
|
|
#include <tdeaction.h>
|
|
|
|
|
#include <tdelocale.h>
|
|
|
|
|
#include <dcopclient.h>
|
|
|
|
|
#include <dcopref.h>
|
|
|
|
|
|
|
|
|
|
sidebarwidget::sidebarwidget(TQWidget* parent, const char* name)
|
|
|
|
@ -61,6 +63,11 @@ sidebarwidget::sidebarwidget(TQWidget* parent, const char* name)
|
|
|
|
|
mainLayout->addWidget(toolbar);
|
|
|
|
|
mainLayout->addWidget(reportGrid);
|
|
|
|
|
|
|
|
|
|
if(!kapp->dcopClient()->isAttached())
|
|
|
|
|
{
|
|
|
|
|
kapp->dcopClient()->attach();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dcopCall = new DCOPRef( "KWeatherService", "WeatherService" );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -75,7 +82,7 @@ TQWidget *sidebarwidget::viewport()
|
|
|
|
|
|
|
|
|
|
void sidebarwidget::slotRefresh()
|
|
|
|
|
{
|
|
|
|
|
dcopCall->send("updateAll()");
|
|
|
|
|
dcopCall->send("forceUpdateAll()");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void sidebarwidget::slotConfigure()
|
|
|
|
|