remove paste
this will need to be provided via a drop action from the graphical system containment implementation
This commit is contained in:
parent
567d72edc1
commit
a265ad7dbb
@ -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()) {
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user