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 | |
KURLBarListBox (QWidget *parent=0, const char *name=0) | |
~KURLBarListBox () | |
virtual void | setOrientation (Qt::Orientation orient) |
Qt::Orientation | orientation () const |
bool | isVertical () const |
Protected Member Functions | |
virtual QDragObject * | dragObject () |
virtual void | contentsDragEnterEvent (QDragEnterEvent *) |
virtual void | contentsDropEvent (QDropEvent *) |
virtual void | contextMenuEvent (QContextMenuEvent *) |
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().
- Author:
- Carsten Pfeiffer <pfeiffer@kde.org>
Definition at line 495 of file kurlbar.h.
Constructor & Destructor Documentation
|
Constructs a KURLBarListBox.
Definition at line 836 of file kurlbar.cpp. References KURLBarListBox(). Referenced by KURLBarListBox(). |
|
Destroys the box.
Definition at line 844 of file kurlbar.cpp. |
Member Function Documentation
|
Sets the orientation of the widget. Horizontal means, all items are arranged in one row. Vertical means, all items are arranged in one column.
Definition at line 892 of file kurlbar.cpp. References setOrientation(). Referenced by setOrientation(), and KURLBar::setOrientation(). |
|
Definition at line 520 of file kurlbar.h. Referenced by KURLBar::orientation(). |
|
Emitted when a drop-event happened.
|
|
Definition at line 856 of file kurlbar.cpp. References QValueList< KURL >::append(), QListBox::firstItem(), QValueList< KURL >::isEmpty(), and KURLBarItem::url(). |
The documentation for this class was generated from the following files: