You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
621 B
33 lines
621 B
15 years ago
|
#ifndef METABAR_H
|
||
|
#define METABAR_H
|
||
|
|
||
|
#ifdef HAVE_CONFIG_H
|
||
|
#include <config.h>
|
||
|
#endif
|
||
|
|
||
|
#include <konqsidebarplugin.h>
|
||
|
#include <qstring.h>
|
||
|
#include <kconfig.h>
|
||
|
|
||
|
|
||
|
class Metabar : public KonqSidebarPlugin
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
Metabar(KInstance *inst,QObject *parent,QWidget *widgetParent, QString &desktopName, const char* name=0);
|
||
|
~Metabar();
|
||
|
|
||
|
virtual QWidget *getWidget(){ return widget; }
|
||
|
virtual void *provides(const QString &) { return 0; }
|
||
|
|
||
|
protected:
|
||
|
MetabarWidget *widget;
|
||
|
|
||
|
void handleURL(const KURL &url);
|
||
|
void handlePreview(const KFileItemList &items);
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|