Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KURLBarListBox Class Reference

#include <kurlbar.h>

Inheritance diagram for KURLBarListBox:

KListBox List of all members.

Signals

void dropped (QDropEvent *e)

Public Methods

 KURLBarListBox (QWidget *parent=0, const char *name=0)
 ~KURLBarListBox ()
virtual void setOrientation (Qt::Orientation orient)
Qt::Orientation orientation () const

Protected Methods

virtual QDragObject * dragObject ()
virtual void contentsDragEnterEvent (QDragEnterEvent *)
virtual void contentsDropEvent (QDropEvent *)
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 446 of file kurlbar.h.


Constructor & Destructor Documentation

KURLBarListBox::KURLBarListBox QWidget *    parent = 0,
const char *    name = 0
 

Constructs a KURLBarListBox.

KURLBarListBox::~KURLBarListBox  
 

Destroys the box.


Member Function Documentation

virtual void KURLBarListBox::contentsDragEnterEvent QDragEnterEvent *    [protected, virtual]
 

@reimpl

virtual void KURLBarListBox::contentsDropEvent QDropEvent *    [protected, virtual]
 

@reimpl

virtual QDragObject* KURLBarListBox::dragObject   [protected, virtual]
 

Returns:
a suitable QDragObject when an item is dragged.

void KURLBarListBox::dropped QDropEvent *    e [signal]
 

Emitted when a drop-event happened.

Qt::Orientation KURLBarListBox::orientation   const [inline]
 

Returns:
the current orientation.
See also:
setOrientation

Definition at line 471 of file kurlbar.h.

virtual 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


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:28 2003 for kdelibs by doxygen1.2.18