summaryrefslogtreecommitdiffstats
path: root/ksnapshot/ksnapshot.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2023-11-24 23:25:16 +0200
committerMavridis Philippe <mavridisf@gmail.com>2023-11-25 16:15:52 +0200
commitcdcc24c6bba3b2d2f8b328c7a1c4abdad3d358e7 (patch)
treefd01b6eabde99d71f6c6f45a8e61c205341408a1 /ksnapshot/ksnapshot.h
parent57ade68197b2c160aff51b75be3cbc17f682547c (diff)
downloadtdegraphics-cdcc24c6.tar.gz
tdegraphics-cdcc24c6.zip
ksnapshot: add setPixmap DCOP call
Can be useful to integrate KSnapshot with applications that can take their own screenshots better (e.g. a media player can use a single frame from a video instead of a lower-quality real screen grab). Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit d7130aacf9ea286af38bb61578fe32a0e4ea2642)
Diffstat (limited to 'ksnapshot/ksnapshot.h')
-rw-r--r--ksnapshot/ksnapshot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ksnapshot/ksnapshot.h b/ksnapshot/ksnapshot.h
index b84e8c18..47cbe47e 100644
--- a/ksnapshot/ksnapshot.h
+++ b/ksnapshot/ksnapshot.h
@@ -118,6 +118,7 @@ protected slots:
void setTime(int newTime);
void setURL(const TQString &newURL);
void setGrabMode( int m );
+ void setPixmap(const TQPixmap &newImage);
void exit();
protected: