aboutsummaryrefslogtreecommitdiffstats
path: root/keylist.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-05-05 07:07:21 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-05-05 07:07:21 +0000
commitc4ad3750fbe7035d3720d6d0fb38fc81dbc5d1e4 (patch)
tree42e39ac4deb4c96161de01591d1eee1c84797bbd /keylist.cpp
parentupdated brazilian translation (diff)
downloadgpg4usb-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.cpp8
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) {