diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/kreadconfig/kreadconfig.cpp | 25 | ||||
| -rw-r--r-- | src/kreadconfig/kwriteconfig.cpp | 30 | 
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> | 
