From ea80dd8867b8243b450adaa8cb40bd1b9a6240f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20W=C3=B6bbeking?= Date: Sun, 12 Dec 2010 18:22:09 +0000 Subject: [PATCH] -pedantic svn path=/trunk/KDE/kdebase/workspace/; revision=1205832 --- lib/kwinglplatform.h | 2 +- scripting/chelate.h | 4 ++-- scripting/meta.h | 6 +++--- scripting/toplevel.cpp | 4 ++-- scripting/workspace.h | 2 +- scripting/workspaceproxy.h | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/kwinglplatform.h b/lib/kwinglplatform.h index 281ffb8daf..0769912065 100644 --- a/lib/kwinglplatform.h +++ b/lib/kwinglplatform.h @@ -98,7 +98,7 @@ enum Driver { Driver_Swrast, Driver_Softpipe, Driver_Llvmpipe, - Driver_Unknown, + Driver_Unknown }; enum ChipClass { diff --git a/scripting/chelate.h b/scripting/chelate.h index a69f2e711b..7e9a932f56 100644 --- a/scripting/chelate.h +++ b/scripting/chelate.h @@ -115,7 +115,7 @@ QScriptValue chelationRegex(QScriptContext*, QScriptEngine*); QScriptValue lazyLogicGenerate(QScriptContext*, QScriptEngine*); QScriptValue lazyLogic(QScriptContext*, QScriptEngine*); -}; -}; +} +} #endif diff --git a/scripting/meta.h b/scripting/meta.h index 4527fca641..ce1f648fff 100644 --- a/scripting/meta.h +++ b/scripting/meta.h @@ -36,8 +36,8 @@ namespace KWin namespace Chelate { QScriptValue lazyLogicGenerate(QScriptContext*, QScriptEngine*); -}; -}; +} +} Q_DECLARE_METATYPE(KClientRef) Q_DECLARE_METATYPE(QPoint) @@ -187,4 +187,4 @@ T RefWrapping::extract(const QScriptValue& value) */ QScriptValue constructTimerClass(QScriptEngine *eng); -#endif \ No newline at end of file +#endif diff --git a/scripting/toplevel.cpp b/scripting/toplevel.cpp index 297e824983..361ce0a41a 100644 --- a/scripting/toplevel.cpp +++ b/scripting/toplevel.cpp @@ -20,7 +20,7 @@ along with this program. If not, see . #include "toplevel.h" -Q_DECLARE_METATYPE(SWrapper::Toplevel*); +Q_DECLARE_METATYPE(SWrapper::Toplevel*) SWrapper::Toplevel::Toplevel(KWin::Toplevel* tlevel) : QObject(tlevel) @@ -110,4 +110,4 @@ void SWrapper::Toplevel::tl_append(QScriptValue& value, QScriptEngine* eng) value.setProperty("opacity", eng->newFunction(opacity, 0), QScriptValue::Undeletable); value.setProperty("hasAlpha", eng->newFunction(hasAlpha, 0), QScriptValue::Undeletable); value.setProperty("setOpacity", eng->newFunction(setOpacity, 1), QScriptValue::Undeletable); - } \ No newline at end of file + } diff --git a/scripting/workspace.h b/scripting/workspace.h index 4bbddf743c..43ce474e61 100644 --- a/scripting/workspace.h +++ b/scripting/workspace.h @@ -92,6 +92,6 @@ class Workspace : public QObject static QScriptValue clientGroups(QScriptContext*, QScriptEngine*); }; -}; +} #endif diff --git a/scripting/workspaceproxy.h b/scripting/workspaceproxy.h index 70fae7ee12..3387451bb1 100644 --- a/scripting/workspaceproxy.h +++ b/scripting/workspaceproxy.h @@ -80,6 +80,6 @@ class WorkspaceProxy : public QObject void clientSetKeepAbove(KWin::Client*, bool); }; -}; +} #endif