Add (and install) svg for the new krunner interface.
[kdebase/uwolfer.git] / apps / konqueror / sidebar / test / konqsidebartest.h
blobb9939d0e407d44d21bd7718b6b4bed3fc3eedfef
1 /***************************************************************************
2 konqsidebartest.h
3 -------------------
4 begin : Sat June 2 16:25:27 CEST 2001
5 copyright : (C) 2001 Joseph Wenninger
6 email : jowenn@kde.org
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17 #ifndef _konq_sidebar_test_h_
18 #define _konq_sidebar_test_h_
19 #include <konqsidebarplugin.h>
20 #include <QtGui/QLabel>
21 #include <QtGui/QLayout>
23 class SidebarTest : public KonqSidebarPlugin
25 Q_OBJECT
26 public:
27 SidebarTest(const KComponentData &componentData,QObject *parent,QWidget *widgetParent, QString &desktopName_, const char* name=0):
28 KonqSidebarPlugin(componentData,parent,widgetParent,desktopName_,name)
30 widget=new QLabel("Init Value",widgetParent);
32 ~SidebarTest(){;}
33 virtual QWidget *getWidget(){return widget;}
34 virtual void *provides(const QString &) {return 0;}
35 protected:
36 QLabel *widget;
37 virtual void handleURL(const KUrl &url)
39 widget->setText(url.url());
43 #endif