• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libkonq

KonqFileTip Class Reference

#include <konq_filetip.h>

Inheritance diagram for KonqFileTip:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 39 of file konq_filetip.h.


Public Member Functions

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

Protected Member Functions

virtual void paintEvent (QPaintEvent *ev)
virtual void resizeEvent (QResizeEvent *)

Constructor & Destructor Documentation

KonqFileTip::KonqFileTip ( QScrollArea *  parent  ) 

Definition at line 47 of file konq_filetip.cc.

KonqFileTip::~KonqFileTip (  ) 

Definition at line 78 of file konq_filetip.cc.


Member Function Documentation

bool KonqFileTip::eventFilter ( QObject *  ,
QEvent *  e 
) [virtual]

Definition at line 293 of file konq_filetip.cc.

void KonqFileTip::paintEvent ( QPaintEvent *  ev  )  [protected, virtual]

Definition at line 191 of file konq_filetip.cc.

void KonqFileTip::resizeEvent ( QResizeEvent *  event  )  [protected, virtual]

Definition at line 287 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 102 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 95 of file konq_filetip.cc.

void KonqFileTip::setPreview ( bool  on  ) 

Definition at line 86 of file konq_filetip.cc.


The documentation for this class was generated from the following files:
  • konq_filetip.h
  • konq_filetip.cc

libkonq

Skip menu "libkonq"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • Konsole
  • Libraries
  •   libkonq
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal