author | ulf69 <ulf69> | 2004-10-29 04:49:32 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-10-29 04:49:32 (UTC) |
commit | 08a4582f8e5184b8abb7d97781c4fc37ee7edf90 (patch) (side-by-side diff) | |
tree | 5131fbfb3992196cf9f4108f7d81b37365104a7d /pwmanager/pwmanager/pwmdoc.h | |
parent | f8dd437160acec2959c462dd43d87f2a0920c0b9 (diff) | |
download | kdepimpi-08a4582f8e5184b8abb7d97781c4fc37ee7edf90.zip kdepimpi-08a4582f8e5184b8abb7d97781c4fc37ee7edf90.tar.gz kdepimpi-08a4582f8e5184b8abb7d97781c4fc37ee7edf90.tar.bz2 |
added category edit feature
Diffstat (limited to 'pwmanager/pwmanager/pwmdoc.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/pwmdoc.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/pwmdoc.h b/pwmanager/pwmanager/pwmdoc.h index 09923ab..ef81dfc 100644 --- a/pwmanager/pwmanager/pwmdoc.h +++ b/pwmanager/pwmanager/pwmdoc.h @@ -253,10 +253,19 @@ struct PwMCategoryItem /** category name/description */ string name; + //US ENH: enhancements of the filestructure + /* each category stores the text for description,name and password */ + string desc_text; + string name_text; + string pw_text; + void clear() { d.clear(); name = ""; + desc_text = "Description"; + name_text = "Username"; + pw_text = "Password"; } }; @@ -785,6 +794,11 @@ protected: virtual void removeSyncInfo( QString syncProfile); #endif + //US ENH: helpermethods to return a whole category entry + /** returns a pointer to the categoryitem */ + PwMCategoryItem* getCategoryEntry(unsigned int index) + { return &(dti.dta[index]); } + private: //US ENH: helpermethods to access the sync data for a certain syncname. // It returns the syncdatas index |