org.kde.koala
public interface KListViewSignals
Method Summary | |
---|---|
void | aboutToMove()
Connect to this signal if you want to do some preprocessing before
a move is made, for example, to disable sorting
This is sent only once per each groups of moves. |
void | contextMenu(KListView l, QListViewItem i, QPoint p)
This signal is emitted whenever a context-menu should be shown for item i.
It automatically adjusts for all settings involved (Menu key, showMenuOnPress/Click). |
void | dropped(QDropEvent e, QListViewItem after)
This signal gets emitted whenever something acceptable is
dropped onto the listview. |
void | dropped(KListView list, QDropEvent e, QListViewItem after)
This signal gets emitted whenever something acceptable is
dropped onto the listview.
|
void | dropped(KListView list, QDropEvent e, QListViewItem parent, QListViewItem after)
This signal gets emitted whenever something acceptable is
dropped onto the listview.
|
void | dropped(QDropEvent e, QListViewItem parent, QListViewItem after)
This signal gets emitted whenever something acceptable is
dropped onto the listview.
|
void | executed(QListViewItem item)
This signal is emitted whenever the user executes an listview item.
|
void | executed(QListViewItem item, QPoint pos, int c)
This signal is emitted whenever the user executes an listview item.
|
void | itemAdded(QListViewItem item) |
void | itemRemoved(QListViewItem item) |
void | itemRenamed(QListViewItem item, String str, int col)
This signal gets emitted when an item is renamed via in-place renaming. |
void | itemRenamed(QListViewItem item)
Same as above, but without the extra information. |
void | menuShortCutPressed(KListView list, QListViewItem item)
This signal is emitted when the shortcut key for popup-menus is pressed.
|
void | moved()
This signal is emitted when ever the user moves an item in the list via
DnD.
|
void | moved(QListViewItem item, QListViewItem afterFirst, QListViewItem afterNow)
This signal is emitted when ever the user moves an item in the list via
DnD.
|
See Also: KListViewSignals
UNKNOWN: Connect to this signal if you want to do some preprocessing before a move is made, for example, to disable sorting
i.
It automatically adjusts for all settings involved (Menu key, showMenuOnPress/Click).Parameters: l is this listview. i is the item for which the menu should be shown. May be null. p is the point at which the menu should be shown.
UNKNOWN: This signal is emitted whenever a context-menu should be shown for item i.
Parameters: e is the drop event itself (it has already been accepted) after is the item after which the drop occurred (or null, if the drop was above all items)
See Also: KListViewSignals
UNKNOWN: This signal gets emitted whenever something acceptable is dropped onto the listview.
Parameters: list is the listview e is the drop event itself (it has already been accepted) after is the item after which the drop occurred (or null, if the drop was above all items
UNKNOWN: This signal gets emitted whenever something acceptable is dropped onto the listview.
Parameters: list is the listview e is the drop event itself (it has already been accepted) parent the item that is to be the parent of the new item after is the item after which the drop occurred (or null, if the drop was above all items
UNKNOWN: This signal gets emitted whenever something acceptable is dropped onto the listview.
Parameters: e is the drop event itself (it has already been accepted) parent the item that is to be the parent of the new item after is the item after which the drop occurred (or null, if the drop was above all items
UNKNOWN: This signal gets emitted whenever something acceptable is dropped onto the listview.
Parameters: item is the pointer to the executed listview item. Note that you may not delete any QListViewItem objects in slots connected to this signal.
UNKNOWN: This signal is emitted whenever the user executes an listview item.
Parameters: item is the pointer to the executed listview item. pos is the position where the user has clicked c is the column into which the user clicked. Note that you may not delete any QListViewItem objects in slots connected to this signal.
UNKNOWN: This signal is emitted whenever the user executes an listview item.
Parameters: item is the renamed item. str is the new value of column col.
col is the renamed column.
UNKNOWN: This signal gets emitted when an item is renamed via in-place renaming.
UNKNOWN: Same as above, but without the extra information.
Parameters: list is this listview. item is the currentItem() at the time the key was pressed. May be null.
UNKNOWN: This signal is emitted when the shortcut key for popup-menus is pressed.
UNKNOWN: This signal is emitted when ever the user moves an item in the list via DnD.
afterFirst
and
afterNow
will reflect what was true before the move.
This differs from moved(), so be careful. All the items will have been
moved before moved() is emitted, which is not true in this method. // FIXMEParameters: item the item that was moved afterFirst the item that parameter item was in before the move, in the list afterNow the item it's currently after.
UNKNOWN: This signal is emitted when ever the user moves an item in the list via DnD.