KURLBarListBox Class Reference
#include <kurlbar.h>
Inherits TDEListBox.
Signals | |
void | dropped (TQDropEvent *e) |
Public Member Functions | |
KURLBarListBox (TQWidget *parent=0, const char *name=0) | |
~KURLBarListBox () | |
virtual void | setOrientation (Qt::Orientation orient) |
Qt::Orientation | orientation () const |
bool | isVertical () const |
Protected Member Functions | |
virtual TQDragObject * | dragObject () |
virtual void | contentsDragEnterEvent (TQDragEnterEvent *) |
virtual void | contentsDropEvent (TQDropEvent *) |
virtual void | contextMenuEvent (TQContextMenuEvent *) |
virtual void | paintEvent (TQPaintEvent *) |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
This is the listbox used in KURLBar.
It is a subclass of TDEListBox to support drag & drop and to set up the row / column mode.
The widget has just one row or one column, depending on orientation().
Constructor & Destructor Documentation
KURLBarListBox::KURLBarListBox | ( | TQWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Constructs a KURLBarListBox.
Definition at line 824 of file kurlbar.cpp.
Destroys the box.
Definition at line 832 of file kurlbar.cpp.
Member Function Documentation
TQDragObject * KURLBarListBox::dragObject | ( | ) | [protected, virtual] |
- Returns:
- a suitable TQDragObject when an item is dragged.
Definition at line 844 of file kurlbar.cpp.
void KURLBarListBox::dropped | ( | TQDropEvent * | e | ) | [signal] |
Emitted when a drop-event happened.
Qt::Orientation KURLBarListBox::orientation | ( | ) | const [inline] |
void KURLBarListBox::setOrientation | ( | Qt::Orientation | orient | ) | [virtual] |
Sets the orientation of the widget.
Horizontal means, all items are arranged in one row. Vertical means, all items are arranged in one column.
- See also:
- orientation
Definition at line 880 of file kurlbar.cpp.
The documentation for this class was generated from the following files: