summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/TDEListViewSignals.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/TDEListViewSignals.java')
-rw-r--r--kdejava/koala/org/kde/koala/TDEListViewSignals.java160
1 files changed, 160 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/TDEListViewSignals.java b/kdejava/koala/org/kde/koala/TDEListViewSignals.java
new file mode 100644
index 00000000..3952296a
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/TDEListViewSignals.java
@@ -0,0 +1,160 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.TQColor;
+import org.kde.qt.TQRect;
+import org.kde.qt.TQListViewItem;
+import org.kde.qt.TQMetaObject;
+import org.kde.qt.QtSupport;
+import org.kde.qt.TQPaintEvent;
+import org.kde.qt.TQPoint;
+import org.kde.qt.TQDragEnterEvent;
+import org.kde.qt.TQDragMoveEvent;
+import org.kde.qt.TQPainter;
+import org.kde.qt.TQDragLeaveEvent;
+import org.kde.qt.TQFocusEvent;
+import org.kde.qt.TQKeyEvent;
+import org.kde.qt.TQMouseEvent;
+import org.kde.qt.TQDropEvent;
+import org.kde.qt.TQEvent;
+import org.kde.qt.TQIconSet;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQResizeEvent;
+import org.kde.qt.TQDragObject;
+
+public interface TDEListViewSignals {
+ /**
+ 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.
+ @param item is the pointer to the executed listview item.
+ Note that you may not delete any TQListViewItem objects in slots
+ connected to this signal.
+ @short This signal is emitted whenever the user executes an listview item.
+ */
+ void executed(TQListViewItem item);
+ /**
+ 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.
+ @param item is the pointer to the executed listview item.
+ @param pos is the position where the user has clicked
+ @param c is the column into which the user clicked.
+ Note that you may not delete any TQListViewItem objects in slots
+ connected to this signal.
+ @short This signal is emitted whenever the user executes an listview item.
+ */
+ void executed(TQListViewItem item, TQPoint pos, int c);
+ /**
+ This signal gets emitted whenever something acceptable is
+ dropped onto the listview.
+ @param e is the drop event itself (it has already been accepted)
+ @param after is the item after which the drop occurred (or null, if
+ the drop was above all items)
+ @short This signal gets emitted whenever something acceptable is dropped onto the listview.
+ @see #acceptDrop
+ */
+ void dropped(TQDropEvent e, TQListViewItem after);
+ /**
+ This signal gets emitted whenever something acceptable is
+ dropped onto the listview.
+ This is an overloaded version of the above (provided to simplify
+ processing drops outside of the class).
+ @param list is the listview
+ @param e is the drop event itself (it has already been accepted)
+ @param after is the item after which the drop occurred (or null, if
+ the drop was above all items
+ @short This signal gets emitted whenever something acceptable is dropped onto the listview.
+ */
+ void dropped(TDEListView list, TQDropEvent e, TQListViewItem after);
+ /**
+ This signal gets emitted whenever something acceptable is
+ dropped onto the listview.
+ This function also provides a parent, in the event that your listview
+ is a tree
+ @param list is the listview
+ @param e is the drop event itself (it has already been accepted)
+ @param parent the item that is to be the parent of the new item
+ @param after is the item after which the drop occurred (or null, if
+ the drop was above all items
+ @short This signal gets emitted whenever something acceptable is dropped onto the listview.
+ */
+ void dropped(TDEListView list, TQDropEvent e, TQListViewItem parent, TQListViewItem after);
+ /**
+ This signal gets emitted whenever something acceptable is
+ dropped onto the listview.
+ This function also provides a parent, in the event that your listview
+ is a tree
+ @param e is the drop event itself (it has already been accepted)
+ @param parent the item that is to be the parent of the new item
+ @param after is the item after which the drop occurred (or null, if
+ the drop was above all items
+ @short This signal gets emitted whenever something acceptable is dropped onto the listview.
+ */
+ void dropped(TQDropEvent e, TQListViewItem parent, TQListViewItem after);
+ /**
+ This signal is emitted when ever the user moves an item in the list via
+ DnD.
+ If more than one item is moved at the same time, this signal is only emitted
+ once.
+ @short This signal is emitted when ever the user moves an item in the list via DnD.
+ */
+ void moved();
+ /**
+ 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. That is, for each
+ drop that is a move this will be emitted once, before TDEListView calls
+ @short Connect to this signal if you want to do some preprocessing before a move is made, for example, to disable sorting
+ @see #moveItem
+ */
+ void aboutToMove();
+ /**
+ This signal is emitted when ever the user moves an item in the list via
+ DnD.
+ If more than one item is moved at the same time, <code>afterFirst</code> and
+ <code>afterNow</code> 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. // FIXME
+ @param item the item that was moved
+ @param afterFirst the item that parameter item was in before the move, in the list
+ @param afterNow the item it's currently after.
+ @short This signal is emitted when ever the user moves an item in the list via DnD.
+ */
+ void moved(TQListViewItem item, TQListViewItem afterFirst, TQListViewItem afterNow);
+ // void moved(TQPtrList<TQListViewItem>& arg1,TQPtrList<TQListViewItem>& arg2,TQPtrList<TQListViewItem>& arg3); >>>> NOT CONVERTED
+ /**
+ This signal gets emitted when an item is renamed via in-place renaming.
+ @param item is the renamed item.
+ @param str is the new value of column <code>col.</code>
+ @param col is the renamed column.
+ @short This signal gets emitted when an item is renamed via in-place renaming.
+ */
+ void itemRenamed(TQListViewItem item, String str, int col);
+ /**
+ Same as above, but without the extra information.
+ @short Same as above, but without the extra information.
+ */
+ void itemRenamed(TQListViewItem item);
+ /**
+ This signal is emitted when the shortcut key for popup-menus is pressed.
+ Normally you should not use this, just connect a slot to signal
+ contextMenu (TDEListView, TQListViewItem, TQPoint) to correctly
+ handle showing context menus regardless of settings.
+ @param list is this listview.
+ @param item is the currentItem() at the time the key was pressed. May be null.
+ @short This signal is emitted when the shortcut key for popup-menus is pressed.
+ */
+ void menuShortCutPressed(TDEListView list, TQListViewItem item);
+ /**
+ This signal is emitted whenever a context-menu should be shown for item <code>i.</code>
+ It automatically adjusts for all settings involved (Menu key, showMenuOnPress/Click).
+ @param l is this listview.
+ @param i is the item for which the menu should be shown. May be null.
+ @param p is the point at which the menu should be shown.
+ @short This signal is emitted whenever a context-menu should be shown for item <code>i.</code>
+ */
+ void contextMenu(TDEListView l, TQListViewItem i, TQPoint p);
+ void itemAdded(TQListViewItem item);
+ void itemRemoved(TQListViewItem item);
+}