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

libtaskmanager

TaskManager::TaskDrag

TaskManager::TaskDrag Class Reference

#include <task.h>

Inheritance diagram for TaskManager::TaskDrag:

Inheritance graph
[legend]

List of all members.


Detailed Description

Provids a drag object for tasks across desktops.

FIXME: should be folded into the Task class the same way it has been with AppletInfo and KUrl

Definition at line 431 of file task.h.


Public Member Functions

 TaskDrag (const TaskList &tasks, QWidget *source=0)
 ~TaskDrag ()

Static Public Member Functions

static bool canDecode (const QMimeData *e)
static TaskList decode (const QMimeData *e)

Constructor & Destructor Documentation

TaskManager::TaskDrag::TaskDrag ( const TaskList &  tasks,
QWidget *  source = 0 
) [explicit]

Constructs a task drag object for a task list.

Definition at line 1002 of file task.cpp.

TaskManager::TaskDrag::~TaskDrag (  ) 

Definition at line 1022 of file task.cpp.


Member Function Documentation

bool TaskManager::TaskDrag::canDecode ( const QMimeData *  e  )  [static]

Returns true if the mime source can be decoded to a TaskDrag.

Definition at line 1026 of file task.cpp.

TaskList TaskManager::TaskDrag::decode ( const QMimeData *  e  )  [static]

Decodes the tasks from the mime source and returns them if successful.

Otherwise an empty task list is returned.

Definition at line 1031 of file task.cpp.


The documentation for this class was generated from the following files:
  • task.h
  • task.cpp

libtaskmanager

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

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
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