33 #ifndef KLEO_TQGPGMECRYPTOCONFIG_H
34 #define KLEO_TQGPGMECRYPTOCONFIG_H
36 #include <kleo/cryptoconfig.h>
38 #include <tqstringlist.h>
40 #include <tqvariant.h>
44 class QGpgMECryptoConfigEntry;
65 virtual void sync( bool runtime );
68 void slotCollectStdOut( KProcIO* proc );
71 void runGpgConf( bool showErrors );
74 TQDict<QGpgMECryptoConfigComponent> mComponents;
78 class QGpgMECryptoConfigGroup;
89 TQString name() const { return mName; }
95 void sync( bool runtime );
98 void slotCollectStdOut( KProcIO* proc );
103 TQDict<QGpgMECryptoConfigGroup> mGroups;
105 TQString mDescription;
106 QGpgMECryptoConfigGroup* mCurrentGroup;
107 TQString mCurrentGroupName;
113 QGpgMECryptoConfigGroup( const TQString & name, const TQString& description, int level );
114 ~QGpgMECryptoConfigGroup() {}
116 TQString name() const { return mName; }
117 TQString iconName() const { return TQString(); }
118 TQString description() const { return mDescription; }
125 TQDict<QGpgMECryptoConfigEntry> mEntries;
127 TQString mDescription;
133 QGpgMECryptoConfigEntry( const TQStringList& parsedLine );
134 ~QGpgMECryptoConfigEntry();
136 TQString name() const { return mName; }
137 TQString description() const { return mDescription; }
166 bool isDirty() const { return mDirty; }
168 void setDirty( bool b );
169 TQString outputString() const;
172 bool isStringType() const;
173 TQVariant stringToValue( const TQString& value, bool unescape ) const;
174 TQString toString( bool escape ) const;
177 TQString mDescription;
178 TQVariant mDefaultValue;
182 uint mRealArgType : 6;
|