Gianluca Recchia
f31d65bdaf
Replace deprecated parts of the code ( #2419 )
...
Performing a dev build against the latest version of Qt failed
because of some deprecated members. They have been replaced
according to the Qt documentation.
Further, Q_OS_MACOS is now the only macro available to identify a
machine running macOS, the others are now deprecated.
See https://doc.qt.io/qt-5/qtglobal.html#Q_OS_OSX and
https://doc.qt.io/qt-5/qtglobal.html#Q_OS_MAC .
2018-10-26 15:19:04 +02:00
TheZ3ro
08a36b4d40
Prevent Klipper from storing secrets in clipboard history ( #1969 )
2018-08-29 11:13:55 -04:00
Louis-Bertrand Varin
8324d03f0a
Formatting the code.
2018-03-31 16:01:30 -04:00
Janek Bevendorff
ee8499f65c
Do not delete MacPasteboard instance on exit, resolves #1543
2018-03-03 02:33:43 +01:00
Weslly
afe48da4b1
Change MacPasteboard init object to QScopedPointer
2017-11-20 17:25:27 -02:00
Weslly
806248ebd4
Review fixes
2017-11-20 16:50:56 -02:00
Weslly
dc7322cc4a
Improve macOS pasteboard handling
2017-11-20 16:09:42 -02:00
Felix Geyer
d559db4fb1
Merge branch '2.0'
2015-09-21 23:23:51 +02:00
Felix Geyer
f236c32063
Clear clipboard when locking databases.
...
Closes #342
2015-09-13 12:38:19 +02:00
Felix Geyer
7fa0eddc5f
Make C++11 mandatory.
2015-09-12 13:55:50 +02:00
Felix Geyer
6d1ca363af
Remove support for clearing the Klipper history.
...
KDE Plasma 5 doesn't provide the DBus interface anymore and
this avoids the QtDBus dependency.
2015-07-16 20:02:10 +02:00
Felix Geyer
7137990a21
Clear clipboard only if copied text is still present.
...
Closes #198
2014-05-26 18:41:48 +02:00
Felix Geyer
6504b6f2bd
Drop Qt module name from include statements.
...
This is a preparation to be able to build KeePassX against Qt 5.
2013-10-03 15:18:16 +02:00
Felix Geyer
6e206704f9
Make sure the clipboard is cleared before the QApplication instance is destroyed.
...
Also add safety check so we don't try to use the clipboard if it's not available.
2012-08-04 22:06:41 +02:00
Felix Geyer
965dba63d7
Use Q_OS_MAC instead of the nonexistent Q_OS_MACOS.
...
Thanks to Richard Johnson for spotting this.
Closes #33
2012-07-16 17:49:12 +02:00
Felix Geyer
9de4cbbbd6
Use Q_OS_* defines instead of Q_WS_*.
2012-07-12 13:58:40 +02:00
Felix Geyer
68155e8f89
Make use of Q_NULLPTR.
2012-06-29 14:15:16 +02:00
Felix Geyer
d3fcf2e0c4
Move singleton instance code to static member functions.
2012-05-31 14:51:44 +02:00
Florian Geyer
20c95737cb
Fix clipboard timeout.
2012-05-27 20:58:44 +02:00
Felix Geyer
d707fb4760
Store clear clipboard settings.
2012-05-27 20:10:41 +02:00
Felix Geyer
f43ad8d062
Support copying username and password to the clipboard.
2012-05-26 16:37:57 +02:00