libkonq Library API Documentation

KonqFileTip Class Reference

List of all members.

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 *)

Detailed Description

Definition at line 38 of file konq_filetip.h.


Member Function Documentation

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

Parameters:
on show tooltip at all
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.

References setPreview().

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 Logo
This file is part of the documentation for libkonq Library Version 3.4.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Nov 4 00:48:26 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003