• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kgpg

KGpgSettings Class Reference

#include <kgpgsettings.h>

Inheritance diagram for KGpgSettings:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 12 of file kgpgsettings.h.


Public Member Functions

 ~KGpgSettings ()

Static Public Member Functions

static KGpgSettings * self ()
static void setCustomDecrypt (const QString &v)
static QString customDecrypt ()
static void setCustomEncryptionOptions (const QString &v)
static QString customEncryptionOptions ()
static void setAllowCustomEncryptionOptions (bool v)
static bool allowCustomEncryptionOptions ()
static void setFileEncryptionKey (const QString &v)
static QString fileEncryptionKey ()
static void setEncryptFilesTo (bool v)
static bool encryptFilesTo ()
static void setAsciiArmor (bool v)
static bool asciiArmor ()
static void setAllowUntrustedKeys (bool v)
static bool allowUntrustedKeys ()
static void setHideUserID (bool v)
static bool hideUserID ()
static void setPgpCompatibility (bool v)
static bool pgpCompatibility ()
static void setPgpExtension (bool v)
static bool pgpExtension ()
static void setGpgConfigPath (const QString &v)
static QString gpgConfigPath ()
static void setGpgBinaryPath (const QString &v)
static QString gpgBinaryPath ()
static void setGroups (const QString &v)
static QString groups ()
static void setPhotoProperties (int v)
static int photoProperties ()
static void setFirstRun (bool v)
static bool firstRun ()
static void setEditorGeometry (const QSize &v)
static QSize editorGeometry ()
static void setShowTrust (bool v)
static bool showTrust ()
static void setShowExpi (bool v)
static bool showExpi ()
static void setShowSize (bool v)
static bool showSize ()
static void setShowCreat (bool v)
static bool showCreat ()
static void setShowSecret (bool v)
static bool showSecret ()
static void setHideExRev (bool v)
static bool hideExRev ()
static void setUseMouseSelection (bool v)
static bool useMouseSelection ()
static void setAutoStart (bool v)
static bool autoStart ()
static void setRemoteFileWarn (bool v)
static bool remoteFileWarn ()
static void setLeftClick (int v)
static int leftClick ()
static void setEncryptedDropEvent (int v)
static int encryptedDropEvent ()
static void setUnencryptedDropEvent (int v)
static int unencryptedDropEvent ()
static void setSignMenu (int v)
static int signMenu ()
static void setDecryptMenu (int v)
static int decryptMenu ()
static void setShowSystray (bool v)
static bool showSystray ()
static void setShowTipOfDay (bool v)
static bool showTipOfDay ()
static void setColorGood (const QColor &v)
static QColor colorGood ()
static void setColorRev (const QColor &v)
static QColor colorRev ()
static void setColorUnknown (const QColor &v)
static QColor colorUnknown ()
static void setColorBad (const QColor &v)
static QColor colorBad ()
static void setColorUltimate (const QColor &v)
static QColor colorUltimate ()
static void setColorMarginal (const QColor &v)
static QColor colorMarginal ()
static void setColorExpired (const QColor &v)
static QColor colorExpired ()
static void setFont (const QFont &v)
static QFont font ()
static void setUseProxy (bool v)
static bool useProxy ()
static QString defaultKey ()
static void setDefaultKey (const QString &_defaultKey)

Protected Member Functions

 KGpgSettings ()

Protected Attributes

QString mCustomDecrypt
QString mCustomEncryptionOptions
bool mAllowCustomEncryptionOptions
QString mFileEncryptionKey
bool mEncryptFilesTo
bool mAsciiArmor
bool mAllowUntrustedKeys
bool mHideUserID
bool mPgpCompatibility
bool mPgpExtension
QString mGpgConfigPath
QString mGpgBinaryPath
QString mGroups
int mPhotoProperties
bool mFirstRun
QSize mEditorGeometry
bool mShowTrust
bool mShowExpi
bool mShowSize
bool mShowCreat
bool mShowSecret
bool mHideExRev
bool mUseMouseSelection
bool mAutoStart
bool mRemoteFileWarn
int mLeftClick
int mEncryptedDropEvent
int mUnencryptedDropEvent
int mSignMenu
int mDecryptMenu
bool mShowSystray
bool mShowTipOfDay
QColor mColorGood
QColor mColorRev
QColor mColorUnknown
QColor mColorBad
QColor mColorUltimate
QColor mColorMarginal
QColor mColorExpired
QFont mFont
bool mUseProxy

Friends

class KGpgSettingsHelper

Classes

class  EnumDecryptMenu
class  EnumEncryptedDropEvent
class  EnumLeftClick
class  EnumPhotoProperties
class  EnumSignMenu
class  EnumUnencryptedDropEvent

Constructor & Destructor Documentation

KGpgSettings::~KGpgSettings (  ) 

Definition at line 274 of file kgpgsettings.cpp.

KGpgSettings::KGpgSettings (  )  [protected]

Definition at line 27 of file kgpgsettings.cpp.


Member Function Documentation

KGpgSettings * KGpgSettings::self (  )  [static]

Definition at line 17 of file kgpgsettings.cpp.

static void KGpgSettings::setCustomDecrypt ( const QString &  v  )  [inline, static]

Set Custom decryption command.

Definition at line 53 of file kgpgsettings.h.

static QString KGpgSettings::customDecrypt (  )  [inline, static]

Get Custom decryption command.

Definition at line 63 of file kgpgsettings.h.

static void KGpgSettings::setCustomEncryptionOptions ( const QString &  v  )  [inline, static]

Set Custom encryption options.

Definition at line 72 of file kgpgsettings.h.

static QString KGpgSettings::customEncryptionOptions (  )  [inline, static]

Get Custom encryption options.

Definition at line 82 of file kgpgsettings.h.

static void KGpgSettings::setAllowCustomEncryptionOptions ( bool  v  )  [inline, static]

Set Allow custom encryption options.

Definition at line 91 of file kgpgsettings.h.

static bool KGpgSettings::allowCustomEncryptionOptions (  )  [inline, static]

Get Allow custom encryption options.

Definition at line 101 of file kgpgsettings.h.

static void KGpgSettings::setFileEncryptionKey ( const QString &  v  )  [inline, static]

Set File encryption key.

Definition at line 110 of file kgpgsettings.h.

static QString KGpgSettings::fileEncryptionKey (  )  [inline, static]

Get File encryption key.

Definition at line 120 of file kgpgsettings.h.

static void KGpgSettings::setEncryptFilesTo ( bool  v  )  [inline, static]

Set Encrypt files.

Definition at line 129 of file kgpgsettings.h.

static bool KGpgSettings::encryptFilesTo (  )  [inline, static]

Get Encrypt files.

Definition at line 139 of file kgpgsettings.h.

static void KGpgSettings::setAsciiArmor ( bool  v  )  [inline, static]

Set Use ASCII armored encryption.

Definition at line 148 of file kgpgsettings.h.

static bool KGpgSettings::asciiArmor (  )  [inline, static]

Get Use ASCII armored encryption.

Definition at line 158 of file kgpgsettings.h.

static void KGpgSettings::setAllowUntrustedKeys ( bool  v  )  [inline, static]

Set Allow encryption with untrusted keys.

Definition at line 167 of file kgpgsettings.h.

static bool KGpgSettings::allowUntrustedKeys (  )  [inline, static]

Get Allow encryption with untrusted keys.

Definition at line 177 of file kgpgsettings.h.

static void KGpgSettings::setHideUserID ( bool  v  )  [inline, static]

Set Hide the user ID.

Definition at line 186 of file kgpgsettings.h.

static bool KGpgSettings::hideUserID (  )  [inline, static]

Get Hide the user ID.

Definition at line 196 of file kgpgsettings.h.

static void KGpgSettings::setPgpCompatibility ( bool  v  )  [inline, static]

Set Enable PGP 6 compatibility.

Definition at line 205 of file kgpgsettings.h.

static bool KGpgSettings::pgpCompatibility (  )  [inline, static]

Get Enable PGP 6 compatibility.

Definition at line 215 of file kgpgsettings.h.

static void KGpgSettings::setPgpExtension ( bool  v  )  [inline, static]

Set Use *.pgp extension for encrypted files.

Definition at line 224 of file kgpgsettings.h.

static bool KGpgSettings::pgpExtension (  )  [inline, static]

Get Use *.pgp extension for encrypted files.

Definition at line 234 of file kgpgsettings.h.

static void KGpgSettings::setGpgConfigPath ( const QString &  v  )  [inline, static]

Set The path of the gpg configuration file.

Definition at line 243 of file kgpgsettings.h.

static QString KGpgSettings::gpgConfigPath (  )  [inline, static]

Get The path of the gpg configuration file.

Definition at line 253 of file kgpgsettings.h.

static void KGpgSettings::setGpgBinaryPath ( const QString &  v  )  [inline, static]

Set The path of the gpg binary used by KGpg.

Definition at line 262 of file kgpgsettings.h.

static QString KGpgSettings::gpgBinaryPath (  )  [inline, static]

Get The path of the gpg binary used by KGpg.

Definition at line 272 of file kgpgsettings.h.

static void KGpgSettings::setGroups ( const QString &  v  )  [inline, static]

Set GPG groups.

Definition at line 281 of file kgpgsettings.h.

static QString KGpgSettings::groups (  )  [inline, static]

Get GPG groups.

Definition at line 291 of file kgpgsettings.h.

static void KGpgSettings::setPhotoProperties ( int  v  )  [inline, static]

Set photo properties.

Definition at line 300 of file kgpgsettings.h.

static int KGpgSettings::photoProperties (  )  [inline, static]

Get photo properties.

Definition at line 310 of file kgpgsettings.h.

static void KGpgSettings::setFirstRun ( bool  v  )  [inline, static]

Set Is the first time the application runs.

Definition at line 319 of file kgpgsettings.h.

static bool KGpgSettings::firstRun (  )  [inline, static]

Get Is the first time the application runs.

Definition at line 329 of file kgpgsettings.h.

static void KGpgSettings::setEditorGeometry ( const QSize &  v  )  [inline, static]

Set The size of the editor window.

Definition at line 338 of file kgpgsettings.h.

static QSize KGpgSettings::editorGeometry (  )  [inline, static]

Get The size of the editor window.

Definition at line 348 of file kgpgsettings.h.

static void KGpgSettings::setShowTrust ( bool  v  )  [inline, static]

Set Show the trust value in key manager.

Definition at line 357 of file kgpgsettings.h.

static bool KGpgSettings::showTrust (  )  [inline, static]

Get Show the trust value in key manager.

Definition at line 367 of file kgpgsettings.h.

static void KGpgSettings::setShowExpi ( bool  v  )  [inline, static]

Set Show the expiration value in key manager.

Definition at line 376 of file kgpgsettings.h.

static bool KGpgSettings::showExpi (  )  [inline, static]

Get Show the expiration value in key manager.

Definition at line 386 of file kgpgsettings.h.

static void KGpgSettings::setShowSize ( bool  v  )  [inline, static]

Set Show the size value in key manager.

Definition at line 395 of file kgpgsettings.h.

static bool KGpgSettings::showSize (  )  [inline, static]

Get Show the size value in key manager.

Definition at line 405 of file kgpgsettings.h.

static void KGpgSettings::setShowCreat ( bool  v  )  [inline, static]

Set Show the creation value in key manager.

Definition at line 414 of file kgpgsettings.h.

static bool KGpgSettings::showCreat (  )  [inline, static]

Get Show the creation value in key manager.

Definition at line 424 of file kgpgsettings.h.

static void KGpgSettings::setShowSecret ( bool  v  )  [inline, static]

Set Show only secret keys in key manager.

Definition at line 433 of file kgpgsettings.h.

static bool KGpgSettings::showSecret (  )  [inline, static]

Get Show only secret keys in key manager.

Definition at line 443 of file kgpgsettings.h.

static void KGpgSettings::setHideExRev ( bool  v  )  [inline, static]

Set Hide revoked and disabled keys in key manager.

Definition at line 452 of file kgpgsettings.h.

static bool KGpgSettings::hideExRev (  )  [inline, static]

Get Hide revoked and disabled keys in key manager.

Definition at line 462 of file kgpgsettings.h.

static void KGpgSettings::setUseMouseSelection ( bool  v  )  [inline, static]

Set Use the mouse selection instead of the clipboard.

Definition at line 471 of file kgpgsettings.h.

static bool KGpgSettings::useMouseSelection (  )  [inline, static]

Get Use the mouse selection instead of the clipboard.

Definition at line 481 of file kgpgsettings.h.

static void KGpgSettings::setAutoStart ( bool  v  )  [inline, static]

Set Start KGpg automatically at KDE startup.

Definition at line 490 of file kgpgsettings.h.

static bool KGpgSettings::autoStart (  )  [inline, static]

Get Start KGpg automatically at KDE startup.

Definition at line 500 of file kgpgsettings.h.

static void KGpgSettings::setRemoteFileWarn ( bool  v  )  [inline, static]

Set Display a warning before creating temporary files during remote file operations.

Definition at line 509 of file kgpgsettings.h.

static bool KGpgSettings::remoteFileWarn (  )  [inline, static]

Get Display a warning before creating temporary files during remote file operations.

Definition at line 519 of file kgpgsettings.h.

static void KGpgSettings::setLeftClick ( int  v  )  [inline, static]

Set Choose default left-click behavior.

Definition at line 528 of file kgpgsettings.h.

static int KGpgSettings::leftClick (  )  [inline, static]

Get Choose default left-click behavior.

Definition at line 538 of file kgpgsettings.h.

static void KGpgSettings::setEncryptedDropEvent ( int  v  )  [inline, static]

Set Handle encrypted drops.

Definition at line 547 of file kgpgsettings.h.

static int KGpgSettings::encryptedDropEvent (  )  [inline, static]

Get Handle encrypted drops.

Definition at line 557 of file kgpgsettings.h.

static void KGpgSettings::setUnencryptedDropEvent ( int  v  )  [inline, static]

Set Handle unencrypted drops.

Definition at line 566 of file kgpgsettings.h.

static int KGpgSettings::unencryptedDropEvent (  )  [inline, static]

Get Handle unencrypted drops.

Definition at line 576 of file kgpgsettings.h.

static void KGpgSettings::setSignMenu ( int  v  )  [inline, static]

Set Show the "sign file" service menu.

Definition at line 585 of file kgpgsettings.h.

static int KGpgSettings::signMenu (  )  [inline, static]

Get Show the "sign file" service menu.

Definition at line 595 of file kgpgsettings.h.

static void KGpgSettings::setDecryptMenu ( int  v  )  [inline, static]

Set Show the "decrypt file" service menu.

Definition at line 604 of file kgpgsettings.h.

static int KGpgSettings::decryptMenu (  )  [inline, static]

Get Show the "decrypt file" service menu.

Definition at line 614 of file kgpgsettings.h.

static void KGpgSettings::setShowSystray ( bool  v  )  [inline, static]

Set Show the systray icon.

Definition at line 623 of file kgpgsettings.h.

static bool KGpgSettings::showSystray (  )  [inline, static]

Get Show the systray icon.

Definition at line 633 of file kgpgsettings.h.

static void KGpgSettings::setShowTipOfDay ( bool  v  )  [inline, static]

Set Show tip of the day.

Definition at line 642 of file kgpgsettings.h.

static bool KGpgSettings::showTipOfDay (  )  [inline, static]

Get Show tip of the day.

Definition at line 652 of file kgpgsettings.h.

static void KGpgSettings::setColorGood ( const QColor &  v  )  [inline, static]

Set Color used for trusted keys.

Definition at line 661 of file kgpgsettings.h.

static QColor KGpgSettings::colorGood (  )  [inline, static]

Get Color used for trusted keys.

Definition at line 671 of file kgpgsettings.h.

static void KGpgSettings::setColorRev ( const QColor &  v  )  [inline, static]

Set Color used for revoked keys.

Definition at line 680 of file kgpgsettings.h.

static QColor KGpgSettings::colorRev (  )  [inline, static]

Get Color used for revoked keys.

Definition at line 690 of file kgpgsettings.h.

static void KGpgSettings::setColorUnknown ( const QColor &  v  )  [inline, static]

Set Color used for unknown keys.

Definition at line 699 of file kgpgsettings.h.

static QColor KGpgSettings::colorUnknown (  )  [inline, static]

Get Color used for unknown keys.

Definition at line 709 of file kgpgsettings.h.

static void KGpgSettings::setColorBad ( const QColor &  v  )  [inline, static]

Set Color used for untrusted keys.

Definition at line 718 of file kgpgsettings.h.

static QColor KGpgSettings::colorBad (  )  [inline, static]

Get Color used for untrusted keys.

Definition at line 728 of file kgpgsettings.h.

static void KGpgSettings::setColorUltimate ( const QColor &  v  )  [inline, static]

Set Color used for ulitmately trusted keys.

Definition at line 737 of file kgpgsettings.h.

static QColor KGpgSettings::colorUltimate (  )  [inline, static]

Get Color used for ulitmately trusted keys.

Definition at line 747 of file kgpgsettings.h.

static void KGpgSettings::setColorMarginal ( const QColor &  v  )  [inline, static]

Set Color used for marginally trusted keys.

Definition at line 756 of file kgpgsettings.h.

static QColor KGpgSettings::colorMarginal (  )  [inline, static]

Get Color used for marginally trusted keys.

Definition at line 766 of file kgpgsettings.h.

static void KGpgSettings::setColorExpired ( const QColor &  v  )  [inline, static]

Set Color used for expired keys.

Definition at line 775 of file kgpgsettings.h.

static QColor KGpgSettings::colorExpired (  )  [inline, static]

Get Color used for expired keys.

Definition at line 785 of file kgpgsettings.h.

static void KGpgSettings::setFont ( const QFont &  v  )  [inline, static]

Set Font.

Definition at line 794 of file kgpgsettings.h.

static QFont KGpgSettings::font (  )  [inline, static]

Get Font.

Definition at line 804 of file kgpgsettings.h.

static void KGpgSettings::setUseProxy ( bool  v  )  [inline, static]

Set Use HTTP proxy when available.

Definition at line 813 of file kgpgsettings.h.

static bool KGpgSettings::useProxy (  )  [inline, static]

Get Use HTTP proxy when available.

Definition at line 823 of file kgpgsettings.h.

static QString KGpgSettings::defaultKey (  )  [inline, static]

Definition at line 916 of file kgpgsettings.h.

static void KGpgSettings::setDefaultKey ( const QString &  _defaultKey  )  [inline, static]

Definition at line 926 of file kgpgsettings.h.


Friends And Related Function Documentation

friend class KGpgSettingsHelper [friend]

Definition at line 830 of file kgpgsettings.h.


Member Data Documentation

QString KGpgSettings::mCustomDecrypt [protected]

Definition at line 834 of file kgpgsettings.h.

QString KGpgSettings::mCustomEncryptionOptions [protected]

Definition at line 837 of file kgpgsettings.h.

bool KGpgSettings::mAllowCustomEncryptionOptions [protected]

Definition at line 838 of file kgpgsettings.h.

QString KGpgSettings::mFileEncryptionKey [protected]

Definition at line 839 of file kgpgsettings.h.

bool KGpgSettings::mEncryptFilesTo [protected]

Definition at line 840 of file kgpgsettings.h.

bool KGpgSettings::mAsciiArmor [protected]

Definition at line 841 of file kgpgsettings.h.

bool KGpgSettings::mAllowUntrustedKeys [protected]

Definition at line 842 of file kgpgsettings.h.

bool KGpgSettings::mHideUserID [protected]

Definition at line 843 of file kgpgsettings.h.

bool KGpgSettings::mPgpCompatibility [protected]

Definition at line 844 of file kgpgsettings.h.

bool KGpgSettings::mPgpExtension [protected]

Definition at line 845 of file kgpgsettings.h.

QString KGpgSettings::mGpgConfigPath [protected]

Definition at line 848 of file kgpgsettings.h.

QString KGpgSettings::mGpgBinaryPath [protected]

Definition at line 849 of file kgpgsettings.h.

QString KGpgSettings::mGroups [protected]

Definition at line 850 of file kgpgsettings.h.

int KGpgSettings::mPhotoProperties [protected]

Definition at line 853 of file kgpgsettings.h.

bool KGpgSettings::mFirstRun [protected]

Definition at line 854 of file kgpgsettings.h.

QSize KGpgSettings::mEditorGeometry [protected]

Definition at line 855 of file kgpgsettings.h.

bool KGpgSettings::mShowTrust [protected]

Definition at line 856 of file kgpgsettings.h.