summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-09-24 23:05:56 (UTC)
committer ulf69 <ulf69>2004-09-24 23:05:56 (UTC)
commit1a3db02f855f800898f617e3318f98c8c65d6dbb (patch) (unidiff)
tree1fe5f04e150d3aa62d7e7338000516961d6fd897
parente695903cc49b33e63505b651b13d830e318fc29a (diff)
downloadkdepimpi-1a3db02f855f800898f617e3318f98c8c65d6dbb.zip
kdepimpi-1a3db02f855f800898f617e3318f98c8c65d6dbb.tar.gz
kdepimpi-1a3db02f855f800898f617e3318f98c8c65d6dbb.tar.bz2
mooved column const into the headerfile. So that we can access them from
other files as well.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwmview.cpp16
-rw-r--r--pwmanager/pwmanager/pwmview.h10
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
@@ -38,2 +38,6 @@
38 38
39//US ENH: wouldn't it be a good idea if we could use this consts everywhere else.
40//US ENH: for examle in listviewpwm.cpp
41//US ENH: Because of that I transfer them into the headerfile.
42/*
39 #define COLUMN_DESC 0 43 #define COLUMN_DESC 0
@@ -43,3 +47,3 @@
43 #define COLUMN_LAUNCHER 4 47 #define COLUMN_LAUNCHER 4
44 48*/
45 49
@@ -367,7 +371,7 @@ void PwMView::delCatButton_slot()
367 if (KMessageBox::questionYesNo(this, 371 if (KMessageBox::questionYesNo(this,
368 i18n("Do you really want to " 372 i18n("Do you really want to\n"
369 "delete the selected " 373 "delete the selected\n"
370 "category? All password-" 374 "category? All password-\n"
371 "entries will be lost in " 375 "entries will be lost in\n"
372 "this category!"), 376 "this category!\n"),
373 i18n("Delete category?")) 377 i18n("Delete category?"))
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
@@ -22,2 +22,12 @@
22 22
23//US ENH: wouldn't it be a good idea if we could use this consts everywhere else.
24//US ENH: for examle in listviewpwm.cpp
25//US ENH: Because of that I transfer them into the headerfile.
26 #define COLUMN_DESC 0
27 #define COLUMN_NAME 1
28 #define COLUMN_PW 2
29 #define COLUMN_URL 3
30 #define COLUMN_LAUNCHER 4
31
32
23#include "listviewpwm.h" 33#include "listviewpwm.h"