22 #ifndef KONQ_FILETIP_H
23 #define KONQ_FILETIP_H
27 #include <tdeio/previewjob.h>
29 #include <libkonq_export.h>
38 class LIBKONQ_EXPORT KonqFileTip :
public TQFrame
43 KonqFileTip( TQScrollView *parent );
46 void setPreview(
bool on);
53 void setOptions(
bool on,
bool preview,
int num );
60 void setItem( KFileItem *item,
const TQRect &rect = TQRect(),
61 const TQPixmap *pixmap = 0 );
63 virtual bool eventFilter( TQObject *, TQEvent *e );
66 virtual void drawContents( TQPainter *p );
67 virtual void resizeEvent( TQResizeEvent * );
70 void gotPreview(
const KFileItem*,
const TQPixmap& );
71 void gotPreviewResult();
78 void setFilter(
bool enable );
87 TQPixmap m_corners[4];
92 TDEIO::PreviewJob* m_previewJob;