diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-30 23:04:42 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-30 23:04:42 +0000 |
commit | 22471b148d8877c3fd721c443792ad1e721d00f9 (patch) | |
tree | 62c683edf0e9f9b900d7a27bc6f66e4af3ae1596 /keylist.cpp | |
parent | cleaned up (diff) | |
download | gpg4usb-22471b148d8877c3fd721c443792ad1e721d00f9.tar.gz gpg4usb-22471b148d8877c3fd721c443792ad1e721d00f9.zip |
added first idea of wizard
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@591 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keylist.cpp')
-rw-r--r-- | keylist.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/keylist.cpp b/keylist.cpp index c098ba4..64f5044 100644 --- a/keylist.cpp +++ b/keylist.cpp @@ -194,6 +194,16 @@ QStringList *KeyList::getSelected() return ret; } +bool KeyList::containsPrivateKeys() +{ + for (int i = 0; i < mKeyList->rowCount(); i++) { + if (mKeyList->item(i, 1)) { + return true; + } + } + return false; +} + void KeyList::setColumnWidth(int row, int size) { mKeyList->setColumnWidth(row, size); |