• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

DragAndDrop

Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
DeclarativeDropArea Class Reference

#include <DeclarativeDropArea.h>

Inheritance diagram for DeclarativeDropArea:
Inheritance graph
[legend]

Signals

void dragEnter (DeclarativeDragDropEvent *event)
 
void dragLeave (DeclarativeDragDropEvent *event)
 
void dragMove (DeclarativeDragDropEvent *event)
 
void drop (DeclarativeDragDropEvent *event)
 
void enabledChanged ()
 

Public Member Functions

 DeclarativeDropArea (QDeclarativeItem *parent=0)
 
bool isEnabled () const
 
void setEnabled (bool enabled)
 

Protected Member Functions

void dragEnterEvent (QGraphicsSceneDragDropEvent *event)
 
void dragLeaveEvent (QGraphicsSceneDragDropEvent *event)
 
void dragMoveEvent (QGraphicsSceneDragDropEvent *event)
 
void dropEvent (QGraphicsSceneDragDropEvent *event)
 

Properties

bool enabled
 

Detailed Description

Definition at line 31 of file DeclarativeDropArea.h.

Constructor & Destructor Documentation

DeclarativeDropArea::DeclarativeDropArea ( QDeclarativeItem *  parent = 0)

Definition at line 30 of file DeclarativeDropArea.cpp.

Member Function Documentation

void DeclarativeDropArea::dragEnter ( DeclarativeDragDropEvent *  event)
signal

Emitted when the mouse cursor dragging something enters in the drag area.

  • DeclarativeDragDropEvent description of the dragged content
    See also
    DeclarativeDragDropEvent
void DeclarativeDropArea::dragEnterEvent ( QGraphicsSceneDragDropEvent *  event)
protected

Definition at line 37 of file DeclarativeDropArea.cpp.

void DeclarativeDropArea::dragLeave ( DeclarativeDragDropEvent *  event)
signal

Emitted when the mouse cursor dragging something leaves the drag area.

  • DeclarativeDragDropEvent description of the dragged content
    See also
    DeclarativeDragDropEvent
void DeclarativeDropArea::dragLeaveEvent ( QGraphicsSceneDragDropEvent *  event)
protected

Definition at line 42 of file DeclarativeDropArea.cpp.

void DeclarativeDropArea::dragMove ( DeclarativeDragDropEvent *  event)
signal

Emitted when the mouse cursor dragging something moves over the drag area.

  • DeclarativeDragDropEvent description of the dragged content
    See also
    DeclarativeDragDropEvent
void DeclarativeDropArea::dragMoveEvent ( QGraphicsSceneDragDropEvent *  event)
protected

Definition at line 48 of file DeclarativeDropArea.cpp.

void DeclarativeDropArea::drop ( DeclarativeDragDropEvent *  event)
signal

Emitted when the user drops something in the area.

  • DeclarativeDragDropEvent description of the dragged content
    See also
    DeclarativeDragDropEvent
void DeclarativeDropArea::dropEvent ( QGraphicsSceneDragDropEvent *  event)
protected

Definition at line 54 of file DeclarativeDropArea.cpp.

void DeclarativeDropArea::enabledChanged ( )
signal
bool DeclarativeDropArea::isEnabled ( ) const

Definition at line 60 of file DeclarativeDropArea.cpp.

void DeclarativeDropArea::setEnabled ( bool  enabled)

Definition at line 65 of file DeclarativeDropArea.cpp.

Property Documentation

bool DeclarativeDropArea::enabled
readwrite

If false the area will receive no drop events.

Definition at line 38 of file DeclarativeDropArea.h.


The documentation for this class was generated from the following files:
  • DeclarativeDropArea.h
  • DeclarativeDropArea.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

DragAndDrop

Skip menu "DragAndDrop"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal