Page MenuHome GnuPG

Allow passing flags to DeleteJob
Needs ReviewPublic

Authored by TobiasFella on Thu, Nov 13, 12:52 PM.

Details

Reviewers
ikloecker
Summary
Test Plan

test with corresponding kleopatra and gpgmepp patches

Diff Detail

Repository
rGPGMEQT Gpgme for Qt
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

TobiasFella created this revision.

@ikloecker would there be any ABI problems with adding the new virtual function here?

@ikloecker would there be any ABI problems with adding the new virtual function here?

Instead of adding new virtuals I have added non-virtual functions that call virtual private functions (NVI pattern). Job has a proper d-pointer since QGpgME 2.0 so this is the way you should go, i.e. add a DeleteJobPrivate. There are plenty of *JobPrivate classes to c&p from.

@ikloecker would there be any ABI problems with adding the new virtual function here?

Instead of adding new virtuals I have added non-virtual functions that call virtual private functions (NVI pattern). Job has a proper d-pointer since QGpgME 2.0 so this is the way you should go, i.e. add a DeleteJobPrivate. There are plenty of *JobPrivate classes to c&p from.

aah, thanks for the pointer!

I think you are using an outdated working copy of gpgmeqt. I have killed the old jobPrivate stuff with rGPGMEQT056567525fb9: Add d-pointer to Job class. We are using Qt macros now.

src/deletejob.cpp
2

;-)