remove paste

this will need to be provided via a drop action from the graphical system
containment implementation
This commit is contained in:
Aaron Seigo 2012-11-09 15:58:22 +01:00
parent 567d72edc1
commit a265ad7dbb
3 changed files with 2 additions and 13 deletions

View File

@ -208,14 +208,6 @@ QString ContainmentActions::eventToString(QEvent *event)
return trigger;
}
void ContainmentActions::paste(QPointF scenePos, QPoint screenPos)
{
Containment *c = containment();
if (c) {
c->d->dropData(screenPos);
}
}
QPoint screenPosFromEvent(QEvent *event)
{
switch (event->type()) {

View File

@ -213,11 +213,6 @@ class PLASMA_EXPORT ContainmentActions : public QObject
*/
Containment *containment();
/**
* pastes the clipboard at a given location
*/
void paste(QPointF scenePos, QPoint screenPos);
private:
friend class ContainmentActionsPackage;
friend class ContainmentActionsPrivate;

View File

@ -10,6 +10,8 @@ Functionality Blocks
* wallpaper loading
* action plugins access
* applet geometry save/restore
* move ContainmentPrivate::dropData to be a protected member (slot?) so QML Containment can
provide a drop action
* ContainmentActions
* add ToolBox as a recognized trigger
* only return sets of actions