diff options
author | Ingo Klöcker <[email protected]> | 2023-06-19 10:11:58 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-06-19 15:58:23 +0000 |
commit | 6f6b35df505af108669bd6ff8c351c970130eb45 (patch) | |
tree | 3678046d543ba19ed0a75ddb67752fb86b867364 /lang/python/examples/howto/add-userid.py | |
parent | qt, cpp: Support larger size-hint on 32 bit builds (diff) | |
download | gpgme-6f6b35df505af108669bd6ff8c351c970130eb45.tar.gz gpgme-6f6b35df505af108669bd6ff8c351c970130eb45.zip |
qt: Return const pointer to JobPrivate class for const pointer to Job
* lang/qt/src/job.cpp, lang/qt/src/job_p.h (getJobPrivate): Replace with
two overloads for non-const pointer and const pointer to Job.
* lang/qt/src/job_p.h (jobPrivate): Replace with two template functions
for non-const pointer and const pointer to Job.
--
This helps avoid changing values stored in the JobPrivate class in
const functions (e.g. getters) of Job classes.
GnuPG-bug-id: 6530
Diffstat (limited to 'lang/python/examples/howto/add-userid.py')
0 files changed, 0 insertions, 0 deletions