summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-21 20:47:18 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-21 20:47:18 (GMT)
commit0d4dd578ed9f318ce5b8d957f182746706ca606e (patch)
tree64998d6328b5fbcd7bb5cabb69a667f519574e41
parent8d71eaf903efa96223329592c2545f984efa291f (diff)
Astyle kdelibs
-rw-r--r--src/configureplugins/configurepluginslistwidget.cpp4
-rw-r--r--src/configureplugins/configurepluginswidget.cpp1
-rw-r--r--src/genericplugins/pluginutil.cpp8
3 files changed, 8 insertions, 5 deletions
diff --git a/src/configureplugins/configurepluginslistwidget.cpp b/src/configureplugins/configurepluginslistwidget.cpp
index e391d24..e6c0b85 100644
--- a/src/configureplugins/configurepluginslistwidget.cpp
+++ b/src/configureplugins/configurepluginslistwidget.cpp
@@ -105,7 +105,7 @@ void ConfigurePluginsListWidget::savePlugins(const QString &groupName, const QSt
}
void ConfigurePluginsListWidget::fillTopItems(const QVector<PimCommon::PluginUtilData> &lst, const QString &topLevelItemName,
- const QString &groupName, const QString &prefixKey, QList<PluginItem *> &itemsList)
+ const QString &groupName, const QString &prefixKey, QList<PluginItem *> &itemsList)
{
#ifdef CONFIGUREPLUGIN_SUPPORT
mListWidget->setColumnCount(2);
@@ -140,7 +140,7 @@ void ConfigurePluginsListWidget::fillTopItems(const QVector<PimCommon::PluginUti
void ConfigurePluginsListWidget::slotClicked()
{
#ifdef CONFIGUREPLUGIN_SUPPORT
- qDebug() <<" void ConfigurePluginsListWidget::slotClicked()";
+ qDebug() << " void ConfigurePluginsListWidget::slotClicked()";
#endif
}
diff --git a/src/configureplugins/configurepluginswidget.cpp b/src/configureplugins/configurepluginswidget.cpp
index 8d196fa..f474867 100644
--- a/src/configureplugins/configurepluginswidget.cpp
+++ b/src/configureplugins/configurepluginswidget.cpp
@@ -81,7 +81,6 @@ void ConfigurePluginsWidget::initLayout(ConfigurePluginsListWidget *configurePlu
readConfig();
}
-
void ConfigurePluginsWidget::save()
{
mConfigureListWidget->save();
diff --git a/src/genericplugins/pluginutil.cpp b/src/genericplugins/pluginutil.cpp
index 4dc892f..1873118 100644
--- a/src/genericplugins/pluginutil.cpp
+++ b/src/genericplugins/pluginutil.cpp
@@ -19,8 +19,12 @@
#include <KConfigGroup>
#include <KSharedConfig>
-namespace {
-inline QString pluginConfigFile() { return QStringLiteral("pimpluginsrc"); }
+namespace
+{
+inline QString pluginConfigFile()
+{
+ return QStringLiteral("pimpluginsrc");
+}
}
bool PimCommon::PluginUtil::isPluginActivated(const QStringList &enabledPluginsList, const QStringList &disabledPluginsList, bool isEnabledByDefault, const QString &pluginId)