Screenshot effect provides hooks for KSnapshot.
This adds a DBus slot to capture a window and the pixmap handle is passed back via a DBus signal. Previous code using a shortcut and saving to filesystem is dropped completely in favor for ksnapshot. See http://reviewboard.kde.org/r/4814/ svn path=/trunk/KDE/kdebase/workspace/; revision=1175353
Showing with 98 additions and 28 deletions