kio
KURLBarListBox Class Reference
This is the listbox used in KURLBar. More...
#include <kurlbar.h>
Inheritance diagram for KURLBarListBox:
Signals | |
void | dropped (QDropEvent *e) |
Public Member Functions | |
bool | isVertical () const |
KURLBarListBox (QWidget *parent=0, const char *name=0) | |
Qt::Orientation | orientation () const |
virtual void | setOrientation (Qt::Orientation orient) |
~KURLBarListBox () | |
Protected Member Functions | |
virtual void | contentsDragEnterEvent (QDragEnterEvent *) |
virtual void | contentsDropEvent (QDropEvent *) |
virtual void | contextMenuEvent (QContextMenuEvent *) |
virtual QDragObject * | dragObject () |
virtual void | paintEvent (QPaintEvent *) |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
This is the listbox used in KURLBar.It is a subclass of KListBox to support drag & drop and to set up the row / column mode.
The widget has just one row or one column, depending on orientation().
Definition at line 493 of file kurlbar.h.
Constructor & Destructor Documentation
KURLBarListBox::KURLBarListBox | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
KURLBarListBox::~KURLBarListBox | ( | ) |
Member Function Documentation
void KURLBarListBox::contentsDragEnterEvent | ( | QDragEnterEvent * | e | ) | [protected, virtual] |
Definition at line 855 of file kurlbar.cpp.
void KURLBarListBox::contentsDropEvent | ( | QDropEvent * | e | ) | [protected, virtual] |
Definition at line 860 of file kurlbar.cpp.
void KURLBarListBox::contextMenuEvent | ( | QContextMenuEvent * | e | ) | [protected, virtual] |
Definition at line 865 of file kurlbar.cpp.
QDragObject * KURLBarListBox::dragObject | ( | ) | [protected, virtual] |
void KURLBarListBox::dropped | ( | QDropEvent * | e | ) | [signal] |
Emitted when a drop-event happened.
Qt::Orientation KURLBarListBox::orientation | ( | ) | const [inline] |
void KURLBarListBox::paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Definition at line 831 of file kurlbar.cpp.
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 874 of file kurlbar.cpp.
void KURLBarListBox::virtual_hook | ( | int | id, | |
void * | data | |||
) | [protected, virtual] |
Definition at line 1032 of file kurlbar.cpp.
The documentation for this class was generated from the following files: