Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/xml/libkgpgfile/kgpgfile.cpp
Show All 31 Lines | |||||
32 | #include <QList> | 32 | #include <QList> | ||
33 | #include <QSaveFile> | 33 | #include <QSaveFile> | ||
34 | #include <QDateTime> | 34 | #include <QDateTime> | ||
35 | #include <QStringList> | 35 | #include <QStringList> | ||
36 | 36 | | |||
37 | // ---------------------------------------------------------------------------- | 37 | // ---------------------------------------------------------------------------- | ||
38 | // KDE Includes | 38 | // KDE Includes | ||
39 | 39 | | |||
40 | #ifdef Gpgmepp_FOUND | 40 | #ifdef ENABLE_GPG | ||
41 | #include <gpgme++/context.h> | 41 | #include <gpgme++/context.h> | ||
42 | #include <gpgme++/encryptionresult.h> | 42 | #include <gpgme++/encryptionresult.h> | ||
43 | #include <gpgme++/decryptionresult.h> | 43 | #include <gpgme++/decryptionresult.h> | ||
44 | #include <gpgme++/keylistresult.h> | 44 | #include <gpgme++/keylistresult.h> | ||
45 | #include <gpgme++/key.h> | 45 | #include <gpgme++/key.h> | ||
46 | #include <gpgme++/data.h> | 46 | #include <gpgme++/data.h> | ||
47 | 47 | | |||
48 | class KGPGFile::Private | 48 | class KGPGFile::Private | ||
▲ Show 20 Lines • Show All 324 Lines • ▼ Show 20 Line(s) | 361 | } else { | |||
373 | } | 373 | } | ||
374 | } | 374 | } | ||
375 | } | 375 | } | ||
376 | } | 376 | } | ||
377 | d->ctx->endKeyListing(); | 377 | d->ctx->endKeyListing(); | ||
378 | } | 378 | } | ||
379 | } | 379 | } | ||
380 | 380 | | |||
381 | #else // not Gpgmepp_FOUND | 381 | #else // not ENABLE_GPG | ||
382 | 382 | | |||
383 | // NOOP implementation | 383 | // NOOP implementation | ||
384 | KGPGFile::KGPGFile(const QString& fn, const QString& homedir, const QString& options) : d(0) | 384 | KGPGFile::KGPGFile(const QString& fn, const QString& homedir, const QString& options) : d(0) | ||
385 | { | 385 | { | ||
386 | Q_UNUSED(fn); | 386 | Q_UNUSED(fn); | ||
387 | Q_UNUSED(homedir); | 387 | Q_UNUSED(homedir); | ||
388 | Q_UNUSED(options); | 388 | Q_UNUSED(options); | ||
389 | } | 389 | } | ||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |