2 * This file is part of the KDE project
3 * Copyright (C) 2002 Ian Reinhart Geiser <geiseri@kde.org>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License version 2.0 as published by the Free Software Foundation.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
25 #include <konqsidebarplugin.h>
26 #include <kparts/part.h>
27 #include <kparts/factory.h>
28 #include <kparts/browserextension.h>
30 #include <Qt3Support/Q3Dict>
31 #include <QtGui/QLayout>
32 #include <QtCore/QTimer>
37 class KonqSidebarWeather
: public KonqSidebarPlugin
, virtual public DCOPObject
42 KonqSidebarWeather(const KComponentData
&inst
, QObject
* parent
, QWidget
* widgetParent
,
43 QString
& desktopName_
, const char* name
= 0);
45 ~KonqSidebarWeather();
46 virtual void* provides(const QString
&);
47 void emitStatusBarText(const QString
&);
48 virtual QWidget
*getWidget();
51 virtual void refresh(const QString
&);
54 virtual void handleURL(const KUrl
&url
);
55 virtual void handlePreview(const KFileItemList
& items
);
56 virtual void handlePreviewOnMouseOver(const KFileItem
& item
);
62 Q3Dict
<dockwidget
> m_widgets
;
63 sidebarwidget
*m_container
;
67 #endif // WEATHERBAR_H