class KListView

This Widget extends the functionality of QListView to honor the system wide settings for Single Click/Double Click mode, Auto Selection and Change Cursor over Link. More...

Definition#include <klistview.h>
InheritsQListView
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods

Protected Slots

Protected Members


Detailed Description

This Widget extends the functionality of QListView to honor the system wide settings for Single Click/Double Click mode, Auto Selection and Change Cursor over Link.

There is a new signal executed(). It gets connected to either QListView::clicked() or QListView::doubleClicked() depending on the KDE wide Single Click/Double Click settings. It is strongly recomended that you use this signal instead of the above mentioned. This way you donīt need to care about the current settings. If you want to get informed when the user selects something connect to the QListView::selectionChanged() signal.

bool  isExecuteArea ( const QPoint& point )

[virtual]

This function determines whether the given coordinates are within the execute area. The execute area is the part of an QListViewItem where mouse clicks or double clicks respectively generate a executed() signal. Depending on QListView::allColumnsShowFocus() this is either the whole item or only the first column.

Returns: true if point is inside execute area of an item, false in all other cases including the case that it is over the viewport.

void  executed ( QListViewItem *item )

[signal]

This signal is emitted whenever the user executes an listview item. That means depending on the KDE wide Single Click/Double Click setting the user clicked or double clicked on that item.

Note that you may not delete any QListViewItem objects in slots connected to this signal.

Parameters:
itemis the pointer to the executed listview item.

void  executed ( QListViewItem *item, const QPoint &pos, int c )

[signal]

This signal is emitted whenever the user executes an listview item. That means depending on the KDE wide Single Click/Double Click setting the user clicked or double clicked on that item.

Note that you may not delete any QListViewItem objects in slots connected to this signal.

Parameters:
itemis the pointer to the executed listview item.
posis the position where the user has clicked
cis the column into which the user clicked.

void  doubleClicked ( QListViewItem *item, const QPoint &pos, int c )

[signal]

This signal gets emitted whenever the user double clicks into the listview.

Note that you may not delete any QListViewItem objects in slots connected to this signal.

This signal is more or less here for the sake of completeness. You should normally not need to use this. In most cases itīs better to use executed instead.

Parameters:
itemis the pointer to the clicked listview item.
posis the position where the user has clicked, and
cthe column into which the user clicked.

void  slotAutoSelect ()

[protected slot]

Auto selection happend.


Generated by: root@porky.devel.redhat.com on Wed May 10 08:56:43 2000, using kdoc 2.0a35.