Commit Graph

10 Commits

Author SHA1 Message Date
Jeremy Borgman
0d5386edd4 Changed clang format to new agreement 2020-09-24 07:53:28 -05:00
Jeremy Borgman
c8d15205be reformatted to Mozilla code style 2020-09-04 20:40:45 -05:00
Magnus Groß
5174f8dc1b Allow notification to be dragged and dropped (#473)
* Set x-kde-urls for notifications

The x-kde-urls field in the hints map allows us to provide a direct URL
to the saved screenshot. The notification server may then use this hint
to provide extra functionality, such as drag and drop support and
thumbnails.

For more information see https://community.kde.org/Plasma/Notifications#File_Path

Fixes #256

Note that other notification servers may ignore this hint.

* Avoid branching twice for ok
2019-03-20 22:41:55 +01:00
lupoDharkael
42619158fa Update copyright year 2019-03-04 16:38:45 +01:00
lupoDharkael
1047aa0058 Make SysNotification title string translatable 2018-04-11 20:00:05 +02:00
lupoDharkael
5746a58582 Code refactor
More flexible tool API
Minor code format fixes
Clipboard freeze fixed(?)
Arrow correcly growing close to the start point
Improve maintainability
Add undo/redo stack
2018-04-10 15:33:08 +02:00
lupoDharkael
e1bc6ba9c6 Start using #pragma once 2018-01-22 20:08:21 +01:00
lupoDharkael
3a38abc2ab Add missing license information 2018-01-12 18:10:02 +01:00
lupoDharkael
924d467c53 general cleanup
-use of the override keyword
-delete unused code
-const correctness
-more uniform code style
-for each with const references when possible
-getters no longer use the word 'get'
-others
2017-08-09 13:20:07 +02:00
lupoDharkael
bd4b5b0def Add base system notifications class 2017-07-28 18:53:17 +02:00