From 60f199c791927882449e1f9eb9659a61a40be161 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 26 Jul 2007 19:56:16 +0000 Subject: [PATCH] today's random code quality fixes svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693007 --- packages_p.h | 2 +- widgets/rectangle.cpp | 18 ++++++++++++++++++ widgets/rectangle.h | 23 +++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/packages_p.h b/packages_p.h index 4b069f95e..9655be90e 100644 --- a/packages_p.h +++ b/packages_p.h @@ -17,7 +17,7 @@ * Boston, MA 02110-1301, USA. * *******************************************************************************/ -#ifndef PLASMA_PACKAGES_H // krazy:exclude=includes +#ifndef PLASMA_PACKAGES_H //krazy:exclude=includes #define PLASMA_PACKAGES_H #include diff --git a/widgets/rectangle.cpp b/widgets/rectangle.cpp index 0426d7e9d..e5899d762 100644 --- a/widgets/rectangle.cpp +++ b/widgets/rectangle.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2007 by Matias Valdenegro T. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Library General Public License version 2 as + * published by the Free Software Foundation + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details + * + * You should have received a copy of the GNU Library General Public + * License along with this program; if not, write to the + * Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + #include "rectangle.h" #include diff --git a/widgets/rectangle.h b/widgets/rectangle.h index b43e9c6a1..6c916b5be 100644 --- a/widgets/rectangle.h +++ b/widgets/rectangle.h @@ -1,3 +1,24 @@ +/* + * Copyright (C) 2007 by Matias Valdenegro T. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Library General Public License version 2 as + * published by the Free Software Foundation + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details + * + * You should have received a copy of the GNU Library General Public + * License along with this program; if not, write to the + * Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef PLASMA_RECTANGLE +#define PLASMA_RECTANGLE + #include namespace Plasma { @@ -18,3 +39,5 @@ class PLASMA_EXPORT Rectangle : public Plasma::Widget }; } + +#endif // multiple inclusion guard