#include <kurlbar.h>
Inherits TDEListBox.
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().
- Author
- Carsten Pfeiffer pfeif.nosp@m.fer@.nosp@m.kde.o.nosp@m.rg
Definition at line 493 of file kurlbar.h.
◆ KURLBarListBox()
KURLBarListBox::KURLBarListBox |
( |
TQWidget * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
◆ ~KURLBarListBox()
KURLBarListBox::~KURLBarListBox |
( |
| ) |
|
◆ contentsDragEnterEvent()
void KURLBarListBox::contentsDragEnterEvent |
( |
TQDragEnterEvent * |
e | ) |
|
|
protectedvirtual |
◆ contentsDropEvent()
void KURLBarListBox::contentsDropEvent |
( |
TQDropEvent * |
e | ) |
|
|
protectedvirtual |
◆ contextMenuEvent()
void KURLBarListBox::contextMenuEvent |
( |
TQContextMenuEvent * |
e | ) |
|
|
protectedvirtual |
◆ dragObject()
TQDragObject * KURLBarListBox::dragObject |
( |
| ) |
|
|
protectedvirtual |
- Returns
- a suitable TQDragObject when an item is dragged.
Definition at line 844 of file kurlbar.cpp.
◆ dropped
void KURLBarListBox::dropped |
( |
TQDropEvent * |
e | ) |
|
|
signal |
Emitted when a drop-event happened.
◆ isVertical()
bool KURLBarListBox::isVertical |
( |
| ) |
const |
|
inline |
◆ orientation()
TQt::Orientation KURLBarListBox::orientation |
( |
| ) |
const |
|
inline |
◆ paintEvent()
void KURLBarListBox::paintEvent |
( |
TQPaintEvent * |
| ) |
|
|
protectedvirtual |
◆ setOrientation()
void KURLBarListBox::setOrientation |
( |
TQt::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.
◆ virtual_hook()
void KURLBarListBox::virtual_hook |
( |
int |
id, |
|
|
void * |
data |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following files: