Public Member Functions | Protected Attributes | Friends

QDropEvent Class Reference

Search for all occurrences

Detailed Description

Definition at line 471 of file qevent.h.

#include <qevent.h>

Inheritance diagram for QDropEvent:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  QDropEvent (const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type=Drop)
  ~QDropEvent ()
const QPoint pos () const
Qt::MouseButtons  mouseButtons () const
Qt::KeyboardModifiers  keyboardModifiers () const
Qt::DropActions  possibleActions () const
Qt::DropAction  proposedAction () const
void  acceptProposedAction ()
Qt::DropAction  dropAction () const
void  setDropAction (Qt::DropAction action)
QWidget source () const
const QMimeData mimeData () const
const char *  format (int n=0) const
QByteArray  encodedData (const char *) const
bool  provides (const char *) const

Protected Attributes

QPoint  p
Qt::MouseButtons  mouseState
Qt::KeyboardModifiers  modState
Qt::DropActions  act
Qt::DropAction  drop_action
Qt::DropAction  default_action
const QMimeData mdata
QList< QByteArray fmts

Friends

class  QApplication

Constructor & Destructor Documentation

QDropEvent ( const QPoint pos,
Qt::DropActions  actions,
const QMimeData data,
Qt::MouseButtons  buttons,
Qt::KeyboardModifiers  modifiers,
Type  type = Drop 
)
~QDropEvent ( )

Member Function Documentation

const QPoint& pos ( ) const [inline]

Definition at line 481 of file qevent.h.

{ return p; }
Qt::MouseButtons mouseButtons ( ) const [inline]

Definition at line 482 of file qevent.h.

{ return mouseState; }
Qt::KeyboardModifiers keyboardModifiers ( ) const [inline]

Definition at line 483 of file qevent.h.

{ return modState; }
Qt::DropActions possibleActions ( ) const [inline]

Definition at line 485 of file qevent.h.

{ return act; }
Qt::DropAction proposedAction ( ) const [inline]

Definition at line 486 of file qevent.h.

{ return default_action; }
void acceptProposedAction ( ) [inline]
Qt::DropAction dropAction ( ) const [inline]

Definition at line 489 of file qevent.h.

{ return drop_action; }
void setDropAction ( Qt::DropAction  action )
QWidget* source ( ) const
const QMimeData* mimeData ( ) const [inline]

Definition at line 493 of file qevent.h.

{ return mdata; }
const char* format ( int  n = 0 ) const [virtual]
QByteArray encodedData ( const char *  ) const [virtual]
bool provides ( const char *  ) const [virtual]

Friends And Related Function Documentation

friend class QApplication [friend]

Reimplemented from QEvent.

Reimplemented in QDragMoveEvent.

Definition at line 513 of file qevent.h.


Member Data Documentation

QPoint p [protected]

Definition at line 514 of file qevent.h.

Qt::MouseButtons mouseState [protected]

Definition at line 515 of file qevent.h.

Qt::KeyboardModifiers modState [protected]

Definition at line 516 of file qevent.h.

Qt::DropActions act [protected]

Definition at line 517 of file qevent.h.

Definition at line 518 of file qevent.h.

Definition at line 519 of file qevent.h.

const QMimeData* mdata [protected]

Definition at line 520 of file qevent.h.

QList<QByteArray> fmts [mutable, protected]

Definition at line 521 of file qevent.h.


The documentation for this class was generated from the following file:

QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent
QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent QDropEvent