summaryrefslogtreecommitdiffabout
path: root/microkde/kdeui/klistview.h
Unidiff
Diffstat (limited to 'microkde/kdeui/klistview.h') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kdeui/klistview.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/microkde/kdeui/klistview.h b/microkde/kdeui/klistview.h
index 8d933f6..d559ce7 100644
--- a/microkde/kdeui/klistview.h
+++ b/microkde/kdeui/klistview.h
@@ -363,24 +363,28 @@ public:
363 virtual void setSorting(int column, bool ascending = true); 363 virtual void setSorting(int column, bool ascending = true);
364 364
365 /** 365 /**
366 * @return the currently sorted column, or -1 if none is sorted 366 * @return the currently sorted column, or -1 if none is sorted
367 */ 367 */
368 int columnSorted(void) const; 368 int columnSorted(void) const;
369 369
370 /** 370 /**
371 * @return whether the current sort is ascending (or descending) 371 * @return whether the current sort is ascending (or descending)
372 */ 372 */
373 bool ascendingSort(void) const; 373 bool ascendingSort(void) const;
374 374
375 //US we do not have a "global KDE" variable to setup singleClick functionality
376 void setSingleClick(bool s);
377
378
375signals: 379signals:
376 380
377 /** 381 /**
378 * This signal is emitted whenever the user executes an listview item. 382 * This signal is emitted whenever the user executes an listview item.
379 * That means depending on the KDE wide Single Click/Double Click 383 * That means depending on the KDE wide Single Click/Double Click
380 * setting the user clicked or double clicked on that item. 384 * setting the user clicked or double clicked on that item.
381 * @param item is the pointer to the executed listview item. 385 * @param item is the pointer to the executed listview item.
382 * 386 *
383 * Note that you may not delete any @ref QListViewItem objects in slots 387 * Note that you may not delete any @ref QListViewItem objects in slots
384 * connected to this signal. 388 * connected to this signal.
385 */ 389 */
386 void executed( QListViewItem *item ); 390 void executed( QListViewItem *item );
@@ -674,25 +678,26 @@ protected:
674 } 678 }
675 679
676 /** 680 /**
677 * Reimplemented to reload the alternate background in palette changes. 681 * Reimplemented to reload the alternate background in palette changes.
678 * @internal 682 * @internal
679 */ 683 */
680 virtual bool event( QEvent * ); 684 virtual bool event( QEvent * );
681 685
682 /** 686 /**
683 * Emit signal @ref #executed. 687 * Emit signal @ref #executed.
684 * @internal 688 * @internal
685 */ 689 */
686 void emitExecute( QListViewItem *item, const QPoint &pos, int c ); 690 //US I added buttonstate to pass the current keyboard status
691 void emitExecute( int buttonstate, QListViewItem *item, const QPoint &pos, int c);
687 692
688 /** 693 /**
689 * Reimplemented for internal reasons. 694 * Reimplemented for internal reasons.
690 * Further reimplementations should call this function or else 695 * Further reimplementations should call this function or else
691 * some features may not work correctly. 696 * some features may not work correctly.
692 * 697 *
693 * The API is unaffected. 698 * The API is unaffected.
694 */ 699 */
695 virtual void focusInEvent(QFocusEvent* fe); 700 virtual void focusInEvent(QFocusEvent* fe);
696 701
697 /** 702 /**
698 * Reimplemented for internal reasons. 703 * Reimplemented for internal reasons.