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

Improve remotecontentconfigurewidget

parent 5e89c502
Pipeline #46400 passed with stage
in 45 minutes and 45 seconds
......@@ -32,7 +32,10 @@ RemoteContentConfigureWidget::~RemoteContentConfigureWidget()
void RemoteContentConfigureWidget::saveSettings()
{
for (int i = 0; i < mListWidget->count(); ++i) {
}
//TODO add to manager.
}
void RemoteContentConfigureWidget::readSettings()
......
......@@ -99,6 +99,11 @@ void RemoteContentManager::writeSettings()
group.writeEntry("Authorized", authorizedUrl);
}
void RemoteContentManager::setRemoveContentInfo(const QVector<RemoteContentInfo> &removeContentInfo)
{
mRemoveContentInfo = removeContentInfo;
}
QVector<RemoteContentInfo> RemoteContentManager::removeContentInfo() const
{
return mRemoveContentInfo;
......
......@@ -27,6 +27,8 @@ public:
void addRemoteContent(const RemoteContentInfo &info);
Q_REQUIRED_RESULT QVector<RemoteContentInfo> removeContentInfo() const;
void setRemoveContentInfo(const QVector<RemoteContentInfo> &removeContentInfo);
private:
void loadSettings();
void writeSettings();
......
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