libkonq
KonqFileTip Class Reference
#include <konq_filetip.h>
Inheritance diagram for KonqFileTip:

Detailed Description
Definition at line 40 of file konq_filetip.h.
Public Member Functions | |
| KonqFileTip (QScrollArea *parent) | |
| ~KonqFileTip () | |
| void | setPreview (bool on) |
| void | setOptions (bool on, bool preview, int num) |
| void | setItem (const KFileItem &item, const QRect &rect=QRect(), const QPixmap *pixmap=0) |
| virtual bool | eventFilter (QObject *, QEvent *e) |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *ev) |
| virtual void | resizeEvent (QResizeEvent *) |
Constructor & Destructor Documentation
| KonqFileTip::KonqFileTip | ( | QScrollArea * | parent | ) |
Definition at line 45 of file konq_filetip.cc.
| KonqFileTip::~KonqFileTip | ( | ) |
Definition at line 76 of file konq_filetip.cc.
Member Function Documentation
| void KonqFileTip::setPreview | ( | bool | on | ) |
Definition at line 84 of file konq_filetip.cc.
| 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 93 of file konq_filetip.cc.
| void KonqFileTip::setItem | ( | const 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 100 of file konq_filetip.cc.
Definition at line 291 of file konq_filetip.cc.
| void KonqFileTip::paintEvent | ( | QPaintEvent * | ev | ) | [protected, virtual] |
Definition at line 189 of file konq_filetip.cc.
| void KonqFileTip::resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
Definition at line 285 of file konq_filetip.cc.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference