Changeset View
Changeset View
Standalone View
Standalone View
src/runtime/kwalletd/backend/kwalletbackend.h
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Line(s) | 85 | #endif | |||
---|---|---|---|---|---|
124 | bool hasFolder(const QString &f) const | 124 | bool hasFolder(const QString &f) const | ||
125 | { | 125 | { | ||
126 | return _entries.contains(f); | 126 | return _entries.contains(f); | ||
127 | } | 127 | } | ||
128 | 128 | | |||
129 | // Look up an entry. Returns null if it doesn't exist. | 129 | // Look up an entry. Returns null if it doesn't exist. | ||
130 | Entry *readEntry(const QString &key); | 130 | Entry *readEntry(const QString &key); | ||
131 | 131 | | |||
132 | #if KWALLET_ENABLE_DEPRECATED_SINCE(5, 70) | ||||
132 | // Look up a list of entries. Supports wildcards. | 133 | // Look up a list of entries. Supports wildcards. | ||
133 | // You delete the list | 134 | // You delete the list. | ||
135 | // Deprecated since 5.70, use entriesList() | ||||
134 | QList<Entry *> readEntryList(const QString &key); | 136 | QList<Entry *> readEntryList(const QString &key); | ||
137 | #endif | ||||
138 | | ||||
139 | // Get a list of all the entries in the current folder. | ||||
140 | // You delete the list. | ||||
dfaure: This makes no sense. The list is a value. Does this mean "The caller takes ownership of the… | |||||
141 | // @since 5.70 | ||||
142 | QList<Entry *> entriesList(); | ||||
135 | 143 | | |||
136 | // Store an entry. | 144 | // Store an entry. | ||
137 | void writeEntry(Entry *e); | 145 | void writeEntry(Entry *e); | ||
138 | 146 | | |||
139 | // Does this folder contain this entry? | 147 | // Does this folder contain this entry? | ||
140 | bool hasEntry(const QString &key) const; | 148 | bool hasEntry(const QString &key) const; | ||
141 | 149 | | |||
142 | // Returns true if the entry was removed | 150 | // Returns true if the entry was removed | ||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |
This makes no sense. The list is a value. Does this mean "The caller takes ownership of the entries"?