krazy fixes

svn path=/trunk/KDE/kdebase/runtime/; revision=1067076
wilder
John Layt 16 years ago committed by Aleix Pol
parent f1e2568213
commit 0ac536f213
  1. 25
      src/kreadconfig/kreadconfig.cpp
  2. 30
      src/kreadconfig/kwriteconfig.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.
*

@ -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>

Loading…
Cancel
Save