-rw-r--r-- | pwmanager/pwmanager/pwmview.cpp | 16 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmview.h | 10 |
2 files changed, 20 insertions, 6 deletions
diff --git a/pwmanager/pwmanager/pwmview.cpp b/pwmanager/pwmanager/pwmview.cpp index 58c2fca..d192119 100644 --- a/pwmanager/pwmanager/pwmview.cpp +++ b/pwmanager/pwmanager/pwmview.cpp @@ -37,4 +37,8 @@ #include <qapplication.h> +//US ENH: wouldn't it be a good idea if we could use this consts everywhere else. +//US ENH: for examle in listviewpwm.cpp +//US ENH: Because of that I transfer them into the headerfile. +/* #define COLUMN_DESC 0 #define COLUMN_NAME 1 @@ -42,5 +46,5 @@ #define COLUMN_URL 3 #define COLUMN_LAUNCHER 4 - +*/ PwMView::PwMView(PwM *_mainClass, @@ -366,9 +370,9 @@ void PwMView::delCatButton_slot() } if (KMessageBox::questionYesNo(this, - i18n("Do you really want to " - "delete the selected " - "category? All password-" - "entries will be lost in " - "this category!"), + i18n("Do you really want to\n" + "delete the selected\n" + "category? All password-\n" + "entries will be lost in\n" + "this category!\n"), i18n("Delete category?")) == KMessageBox::No) { diff --git a/pwmanager/pwmanager/pwmview.h b/pwmanager/pwmanager/pwmview.h index b4cec65..5a326d3 100644 --- a/pwmanager/pwmanager/pwmview.h +++ b/pwmanager/pwmanager/pwmview.h @@ -21,4 +21,14 @@ #define PWMVIEW_H +//US ENH: wouldn't it be a good idea if we could use this consts everywhere else. +//US ENH: for examle in listviewpwm.cpp +//US ENH: Because of that I transfer them into the headerfile. +#define COLUMN_DESC 0 +#define COLUMN_NAME 1 +#define COLUMN_PW 2 +#define COLUMN_URL 3 +#define COLUMN_LAUNCHER 4 + + #include "listviewpwm.h" #include "pwmdoc.h" |