aboutsummaryrefslogtreecommitdiffstats
path: root/keylist.cpp
diff options
context:
space:
mode:
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) {