aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-07-16 16:02:39 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-07-16 16:02:39 +0000
commitfc404e157a957e043b0c89e5de5bce0c78771d08 (patch)
treee612da19ede8e411287f1f76016070a3444bb778
parentadd action for cleaning double linebreaks (diff)
downloadgpg4usb-fc404e157a957e043b0c89e5de5bce0c78771d08.tar.gz
gpg4usb-fc404e157a957e043b0c89e5de5bce0c78771d08.zip
add dummy method markKeys to keylist widget
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@499 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--keylist.cpp8
-rw-r--r--keylist.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/keylist.cpp b/keylist.cpp
index 77155e6..fd45c47 100644
--- a/keylist.cpp
+++ b/keylist.cpp
@@ -227,3 +227,11 @@ void KeyList::dragEnterEvent(QDragEnterEvent *event)
event->acceptProposedAction();
}
+/** set background color for Keys and put them to top
+ *
+ */
+void KeyList::markKeys(QStringList *keyIds) {
+ foreach(QString id, *keyIds) {
+ qDebug() << id;
+ }
+}
diff --git a/keylist.h b/keylist.h
index 1806c79..d130244 100644
--- a/keylist.h
+++ b/keylist.h
@@ -44,6 +44,7 @@ public:
void setChecked(QStringList *keyIds);
//QStringList *getPrivateChecked();
QStringList *getSelected();
+ void markKeys(QStringList *keyIds);
public slots:
void refresh();