Commit e5af16c9 authored by Laurent Montel's avatar Laurent Montel 😁

Astyle kdelibs

parent fe463669
......@@ -56,7 +56,7 @@ void ChangeCasePluginEditorInterface::createAction(KActionCollection *ac)
void ChangeCasePluginEditorInterface::exec()
{
switch(mType) {
switch (mType) {
case Unknown:
qCDebug(KMAIL_EDITOR_CHANGECASE_PLUGIN_LOG) << " There is an error here. We can't call this plugin with unknown type";
break;
......@@ -104,7 +104,6 @@ void ChangeCasePluginEditorInterface::reverseCase()
editorUtil.reverseCase(textCursor);
}
void ChangeCasePluginEditorInterface::slotUpperCase()
{
mType = UpperCase;
......
......@@ -88,7 +88,7 @@ void ZoomTextPluginEditorInterface::slotZoomReset()
void ZoomTextPluginEditorInterface::exec()
{
switch(mType) {
switch (mType) {
case Unknown:
qCDebug(KMAIL_EDITOR_ZOOMTEXT_PLUGIN_LOG) << " There is an error here. We can't call this plugin with unknown type";
break;
......
......@@ -32,7 +32,6 @@ public:
void exec() Q_DECL_OVERRIDE;
bool hasPopupMenuSupport() const Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotZoomOut();
......
......@@ -37,13 +37,11 @@ public:
{
}
MessageViewer::HtmlWriter *htmlWriter() Q_DECL_OVERRIDE
{
MessageViewer::HtmlWriter *htmlWriter() Q_DECL_OVERRIDE {
return mWriter;
}
MessageViewer::CSSHelperBase *cssHelper() Q_DECL_OVERRIDE
{
MessageViewer::CSSHelperBase *cssHelper() Q_DECL_OVERRIDE {
return mCSSHelper;
}
......@@ -75,29 +73,24 @@ public:
{
return false;
}
void setHtmlMode(MessageViewer::Util::HtmlMode mode) Q_DECL_OVERRIDE
{
void setHtmlMode(MessageViewer::Util::HtmlMode mode) Q_DECL_OVERRIDE {
Q_UNUSED(mode)
}
int levelQuote() const Q_DECL_OVERRIDE
{
return false;
}
const QTextCodec *overrideCodec() Q_DECL_OVERRIDE
{
const QTextCodec *overrideCodec() Q_DECL_OVERRIDE {
return 0;
}
QString createMessageHeader(KMime::Message *message) Q_DECL_OVERRIDE
{
QString createMessageHeader(KMime::Message *message) Q_DECL_OVERRIDE {
Q_UNUSED(message);
return QString();
}
const MessageViewer::AttachmentStrategy *attachmentStrategy() Q_DECL_OVERRIDE
{
const MessageViewer::AttachmentStrategy *attachmentStrategy() Q_DECL_OVERRIDE {
return MessageViewer::AttachmentStrategy::smart();
}
QObject *sourceObject() Q_DECL_OVERRIDE
{
QObject *sourceObject() Q_DECL_OVERRIDE {
return 0;
}
......
......@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "adblockmanagertest.h"
#include "../lib/adblockmanager.h"
#include <QTest>
......
......@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "adblockmanager.h"
#include <QUrl>
......
......@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "adblockmanagertest.h"
#include <QTest>
......
......@@ -15,7 +15,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef ADBLOCKMANAGERTEST_H
#define ADBLOCKMANAGERTEST_H
......
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