summaryrefslogtreecommitdiffabout
path: root/pwmanager
authorulf69 <ulf69>2004-09-24 23:05:56 (UTC)
committer ulf69 <ulf69>2004-09-24 23:05:56 (UTC)
commit1a3db02f855f800898f617e3318f98c8c65d6dbb (patch) (side-by-side diff)
tree1fe5f04e150d3aa62d7e7338000516961d6fd897 /pwmanager
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 (limited to 'pwmanager') (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
@@ -36,12 +36,16 @@
#include <qpoint.h>
#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
#define COLUMN_PW 2
#define COLUMN_URL 3
#define COLUMN_LAUNCHER 4
-
+*/
PwMView::PwMView(PwM *_mainClass,
QWidget *parent, PwMDoc *_doc,
@@ -365,11 +369,11 @@ void PwMView::delCatButton_slot()
return;
}
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) {
return;
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
@@ -20,6 +20,16 @@
#ifndef PWMVIEW_H
#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"
#include "pwmviewstyle.h"