diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-05-05 07:07:21 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-05-05 07:07:21 +0000 |
commit | c4ad3750fbe7035d3720d6d0fb38fc81dbc5d1e4 (patch) | |
tree | 42e39ac4deb4c96161de01591d1eee1c84797bbd /keylist.cpp | |
parent | updated brazilian translation (diff) | |
download | gpg4usb-c4ad3750fbe7035d3720d6d0fb38fc81dbc5d1e4.tar.gz gpg4usb-c4ad3750fbe7035d3720d6d0fb38fc81dbc5d1e4.zip |
changed QList<QString> to QStringList and reverted gpg4usb.pro (no static building) and added spanish translation files
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@312 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keylist.cpp')
-rw-r--r-- | keylist.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keylist.cpp b/keylist.cpp index be9aa7a..76e9291 100644 --- a/keylist.cpp +++ b/keylist.cpp @@ -97,9 +97,9 @@ void KeyList::refresh() } -QList<QString> *KeyList::getChecked() +QStringList *KeyList::getChecked() { - QList<QString> *ret = new QList<QString>(); + QStringList *ret = new QStringList(); for (int i = 0; i < mKeyList->rowCount(); i++) { if (mKeyList->item(i, 0)->checkState() == Qt::Checked) { *ret << mKeyList->item(i, 4)->text(); @@ -108,9 +108,9 @@ QList<QString> *KeyList::getChecked() return ret; } -QList<QString> *KeyList::getSelected() +QStringList *KeyList::getSelected() { - QList<QString> *ret = new QList<QString>(); + QStringList *ret = new QStringList(); for (int i = 0; i < mKeyList->rowCount(); i++) { if (mKeyList->item(i, 0)->isSelected() == 1) { |