• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

KURLBarListBox Class Reference

This is the listbox used in KURLBar. More...

#include <kurlbar.h>

Inheritance diagram for KURLBarListBox:

Inheritance graph
[legend]

List of all members.


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().

Author:
Carsten Pfeiffer <pfeiffer@kde.org>

Definition at line 493 of file kurlbar.h.


Constructor & Destructor Documentation

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

Constructs a KURLBarListBox.

Definition at line 818 of file kurlbar.cpp.

KURLBarListBox::~KURLBarListBox (  ) 

Destroys the box.

Definition at line 826 of file kurlbar.cpp.


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]

Returns:
a suitable QDragObject when an item is dragged.

Definition at line 838 of file kurlbar.cpp.

void KURLBarListBox::dropped ( QDropEvent *  e  )  [signal]

Emitted when a drop-event happened.

bool KURLBarListBox::isVertical (  )  const [inline]

Definition at line 520 of file kurlbar.h.

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

Returns:
the current orientation.
See also:
setOrientation

Definition at line 518 of file kurlbar.h.

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:
  • kurlbar.h
  • kurlbar.cpp

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal