Commit eac9df6e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QVector here

parent 131da245
......@@ -95,12 +95,12 @@ QObject *SetupManager::createKey()
return connectObject(key);
}
QList<SetupObject *> SetupManager::objectsToSetup() const
QVector<SetupObject *> SetupManager::objectsToSetup() const
{
return m_objectToSetup;
}
QList<SetupObject *> SetupManager::setupObjects() const
QVector<SetupObject *> SetupManager::setupObjects() const
{
return m_setupObjects;
}
......
......@@ -49,8 +49,8 @@ public:
void setKey(const GpgME::Key &key);
void setKeyPublishingMethod(Key::PublishingMethod method);
QList<SetupObject *> objectsToSetup() const;
QList<SetupObject *> setupObjects() const;
QVector<SetupObject *> objectsToSetup() const;
QVector<SetupObject *> setupObjects() const;
public Q_SLOTS:
Q_SCRIPTABLE bool personalDataAvailable();
......@@ -87,8 +87,8 @@ private Q_SLOTS:
private:
QString m_name, m_email, m_password;
QList<SetupObject *> m_objectToSetup;
QList<SetupObject *> m_setupObjects;
QVector<SetupObject *> m_objectToSetup;
QVector<SetupObject *> m_setupObjects;
SetupObject *m_currentSetupObject = nullptr;
SetupPage *m_page = nullptr;
KWallet::Wallet *m_wallet = nullptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment