Proof-reading - fixed one usage of the i18n plural form (it wasn't doing before,...
[kdeadmin.git] / kuser / ku_global.h
blobd4aaeee619f7fc8a76b1e54477741a78d4b15e75
1 /*
2 * Copyright (c) 1998 Denis Perchine <dyp@perchine.com>
3 * Copyright (c) 2004 Szombathelyi GyĂśrgy <gyurco@freemail.hu>
4 * Maintained by Adriaan de Groot <groot@kde.org>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 **/
22 #ifndef _KU_GLOBAL_H_
23 #define _KU_GLOBAL_H_
25 #include "ku_user.h"
26 #include "ku_group.h"
28 class KU_Global {
29 public:
30 static void init();
31 static void initCfg( const QString &connection );
32 static void displayUsersError();
33 static void displayGroupsError();
35 static KU_PrefsBase *kcfg();
36 static KU_Users *users();
37 static KU_Groups *groups();
39 private:
40 KU_Global();
41 ~KU_Global();
43 static KU_Users *mUsers;
44 static KU_Groups *mGroups;
46 static KU_PrefsBase *mCfg;
49 //extern KU_Global *kug;
51 #endif //_KU_GLOBAL_H_