summaryrefslogtreecommitdiffstats
path: root/certmanager/certlistview.h
blob: 3434fc47885d8d38a3928475297096a8e3da3fe1 (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
#ifndef CERTLISTVIEW_H
#define CERTLISTVIEW_H

#include <ui/keylistview.h>
#include <kurl.h>

/// We need to derive from Kleo::KeyListView simply to add support for drop events
class CertKeyListView : public Kleo::KeyListView {
  Q_OBJECT
  TQ_OBJECT

public:
  CertKeyListView( const ColumnStrategy * strategy,
                   const DisplayStrategy * display=0,
                   TQWidget * tqparent=0, const char * name=0, WFlags f=0 );

signals:
  void dropped( const KURL::List& urls );

protected:
  virtual void contentsDragEnterEvent ( TQDragEnterEvent * );
  virtual void contentsDragMoveEvent( TQDragMoveEvent * );
  virtual void contentsDragLeaveEvent( TQDragLeaveEvent * );
  virtual void contentsDropEvent ( TQDropEvent * );

};


#endif /* CERTLISTVIEW_H */