[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kwallet
From: Tim Jansen <tim () tjansen ! de>
Date: 2002-12-12 22:23:45
[Download RAW message or body]
CVS commit by tjansen:
rename app->type, as discussed with george on irc
M +3 -3 backend/kwalletbackend.cc 1.18
M +2 -2 backend/kwalletbackend.h 1.7
M +3 -0 client/kwalletentry.cc 1.6
M +2 -1 client/kwalletentry.h 1.5
--- kdelibs/kwallet/backend/kwalletbackend.cc #1.17:1.18
@@ -400,10 +400,10 @@ bool Backend::changeWallet(const QString
-const QPtrList<Entry>& Backend::getEntriesByApp(const QString& app) const {
- return _entries[app];
+const QPtrList<Entry>& Backend::getEntriesByType(const QString& type) const {
+ return _entries[type];
}
-const QStringList Backend::getAppList() const {
+const QStringList Backend::getTypeList() const {
QStringList list;
--- kdelibs/kwallet/backend/kwalletbackend.h #1.6:1.7
@@ -58,7 +58,7 @@ class Backend {
//
- const QPtrList<Entry>& getEntriesByApp(const QString& app) const;
+ const QPtrList<Entry>& getEntriesByType(const QString& type) const;
- const QStringList getAppList() const;
+ const QStringList getTypeList() const;
private:
--- kdelibs/kwallet/client/kwalletentry.cc #1.5:1.6
@@ -81,2 +81,5 @@ void Entry::addKey(const QString& name,
}
+QString Entry::type() const {
+ return _type;
+}
--- kdelibs/kwallet/client/kwalletentry.h #1.4:1.5
@@ -52,8 +52,9 @@ class Entry {
void addKey(const QString& name, const QString& value);
+ virtual QString type() const;
private:
class EntryPrivate;
EntryPrivate *d;
- QString _app;
+ QString _type;
bool _dirty;
Key _key;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic