From c4ad3750fbe7035d3720d6d0fb38fc81dbc5d1e4 Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 5 May 2010 07:07:21 +0000 Subject: changed QList 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 --- keylist.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'keylist.cpp') 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 *KeyList::getChecked() +QStringList *KeyList::getChecked() { - QList *ret = new QList(); + 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 *KeyList::getChecked() return ret; } -QList *KeyList::getSelected() +QStringList *KeyList::getSelected() { - QList *ret = new QList(); + QStringList *ret = new QStringList(); for (int i = 0; i < mKeyList->rowCount(); i++) { if (mKeyList->item(i, 0)->isSelected() == 1) { -- cgit v1.2.3