summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/metabar/src/metabar.h
blob: bb2387bbbac1523cd81d205ef1d2b4c50285f7d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef METABAR_H
#define METABAR_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <konqsidebarplugin.h>
#include <tqstring.h>
#include <kconfig.h>


class Metabar : public KonqSidebarPlugin
{
    Q_OBJECT
  TQ_OBJECT
    
  public:
    Metabar(KInstance *inst,TQObject *tqparent,TQWidget *widgetParent, TQString &desktopName, const char* name=0);
    ~Metabar();
      
    virtual TQWidget *getWidget(){ return widget; }
    virtual void *provides(const TQString &) { return 0; }

  protected:
    MetabarWidget *widget;
    
    void handleURL(const KURL &url);
    void handlePreview(const KFileItemList &items);

};

#endif