All pastes #637491 Raw Edit

Unbenannt

public cpp v1 · immutable
#637491 ·published 2007-07-28 22:32 UTC
rendered paste body
class KRegistry{ public:    enum HeadKey { hkcu, hkcr, ...}    enum RegType {..}    KRegistry(HeadKey hk, QString path);    KRegistry();    bool exists();    open(HeadKey hk, QString path);    QStringList SubKeys();    QStringList Values();    bool delete();    bool deleteValue(QString v);    bool SubKeyExists(QString k);    bool ValueExists(QString v);    bool hasValue(QSting v);    bool hasSubKey(QString v);    QVariant GetValue(QStirng v, RegType *t=NULL);    bool SetValue(QString v, QVariant v, RegType *t=NULL);        bool copyTo(HeadKey hk, QString path);};