KonqFileTip Class Reference

List of all members.

Detailed Description

Definition at line 38 of file konq_filetip.h.


Public Member Functions

 KonqFileTip (QScrollView *parent)
 ~KonqFileTip ()
void setPreview (bool on)
void setOptions (bool on, bool preview, int num)
void setItem (KFileItem *item, const QRect &rect=QRect(), const QPixmap *pixmap=0)
virtual bool eventFilter (QObject *, QEvent *e)

Protected Member Functions

virtual void drawContents (QPainter *p)
virtual void resizeEvent (QResizeEvent *)

Member Function Documentation

void KonqFileTip::setOptions ( bool  on,
bool  preview,
int  num 
)

Parameters:
on show tooltip at all

Parameters:
preview include file preview in tooltip
num the number of tooltip texts to get from KFileItem

Definition at line 85 of file konq_filetip.cc.

void KonqFileTip::setItem ( KFileItem *  item,
const QRect &  rect = QRect(),
const QPixmap *  pixmap = 0 
)

Set the item from which to get the tip information.

Parameters:
item the item from which to get the tip information
rect the rectangle around which the tip will be shown
pixmap the pixmap to be shown. If 0, no pixmap is shown

Definition at line 92 of file konq_filetip.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys