aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Layt <john@layt.net>2009-12-28 21:00:38 +0000
committerAleix Pol <aleixpol@kde.org>2014-04-26 14:11:15 +0200
commit0ac536f213a05e557e28b2d3479ff4f617613a77 (patch)
treedadb7b5b9dee2b69fa315e3619b19815f1bdc9ce /src
parentf1e2568213da1e6bf20d0747033aba0f9bf50cc3 (diff)
downloadkconfig-0ac536f213a05e557e28b2d3479ff4f617613a77.tar.gz
kconfig-0ac536f213a05e557e28b2d3479ff4f617613a77.tar.bz2
krazy fixes
svn path=/trunk/KDE/kdebase/runtime/; revision=1067076
Diffstat (limited to 'src')
-rw-r--r--src/kreadconfig/kreadconfig.cpp25
-rw-r--r--src/kreadconfig/kwriteconfig.cpp30
2 files changed, 43 insertions, 12 deletions
diff --git a/src/kreadconfig/kreadconfig.cpp b/src/kreadconfig/kreadconfig.cpp
index 83ed0a8e..1c946b85 100644
--- a/src/kreadconfig/kreadconfig.cpp
+++ b/src/kreadconfig/kreadconfig.cpp
@@ -1,7 +1,24 @@
-/* Read KConfig() entries - for use in shell scripts.
- * (c) 2001 Red Hat, Inc.
- * Programmed by Bernhard Rosenkraenzer <bero@redhat.com>
- *
+/* Read KConfig() entries - for use in shell scripts.
+
+ Copyright (c) 2001 Red Hat, Inc.
+
+ Programmed by Bernhard Rosenkraenzer <bero@redhat.com>
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License, or (at your option) any later version.
+
+ 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 General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/*
* If --type is specified as bool, the return value is 0 if the value
* is set, 1 if it isn't set. There is no output.
*
diff --git a/src/kreadconfig/kwriteconfig.cpp b/src/kreadconfig/kwriteconfig.cpp
index b226be53..6d23aff7 100644
--- a/src/kreadconfig/kwriteconfig.cpp
+++ b/src/kreadconfig/kwriteconfig.cpp
@@ -1,11 +1,25 @@
-/* Write KConfig() entries - for use in shell scripts.
- * (c) 2001 Red Hat, Inc. & Luís Pedro Coelho
- * Programmed by Luís Pedro Coelho <luis_pedro@netcabo.pt>
- * based on kreadconfig by Bernhard Rosenkraenzer <bero@redhat.com>
- *
- * License: GPL
- *
- */
+/* Write KConfig() entries - for use in shell scripts.
+
+ Copyright (c) 2001 Red Hat, Inc.
+ Copyright (c) 2001 Luís Pedro Coelho <luis_pedro@netcabo.pt>
+
+ Programmed by Luís Pedro Coelho <luis_pedro@netcabo.pt>
+ based on kreadconfig by Bernhard Rosenkraenzer <bero@redhat.com>
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License, or (at your option) any later version.
+
+ 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 General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kglobal.h>