From 0ac536f213a05e557e28b2d3479ff4f617613a77 Mon Sep 17 00:00:00 2001 From: John Layt Date: Mon, 28 Dec 2009 21:00:38 +0000 Subject: krazy fixes svn path=/trunk/KDE/kdebase/runtime/; revision=1067076 --- src/kreadconfig/kreadconfig.cpp | 25 +++++++++++++++++++++---- src/kreadconfig/kwriteconfig.cpp | 30 ++++++++++++++++++++++-------- 2 files changed, 43 insertions(+), 12 deletions(-) (limited to 'src') 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 - * +/* Read KConfig() entries - for use in shell scripts. + + Copyright (c) 2001 Red Hat, Inc. + + Programmed by Bernhard Rosenkraenzer + + 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 . +*/ + +/* * 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 - * based on kreadconfig by Bernhard Rosenkraenzer - * - * License: GPL - * - */ +/* Write KConfig() entries - for use in shell scripts. + + Copyright (c) 2001 Red Hat, Inc. + Copyright (c) 2001 Luís Pedro Coelho + + Programmed by Luís Pedro Coelho + based on kreadconfig by Bernhard Rosenkraenzer + + 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 . +*/ + #include #include #include -- cgit v1.2.1