Proof-reading - fixed one usage of the i18n plural form (it wasn't doing before,...
[kdeadmin.git] / kuser / ku_mainwidget.h
blob52aef5bce215fa1bd4613f3c8251d51414539977
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 version 2 or at your option version 3 as published by
9 * the Free Software Foundation.
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_MAINWIDGET_H_
23 #define _KU_MAINWIDGET_H_
25 #include <kxmlguiwindow.h>
27 class KU_SelectConn;
28 class KU_MainView;
29 class KToggleAction;
31 class KU_MainWidget : public KXmlGuiWindow {
32 Q_OBJECT
33 public:
34 KU_MainWidget();
35 ~KU_MainWidget();
36 bool queryClose();
38 protected:
39 void init();
40 void setupActions();
42 protected slots:
43 void showSys( bool show );
44 void properties();
45 void slotApplySettings();
46 void slotApplyConnection();
47 void selectconn();
48 void reload();
50 private:
51 KToggleAction *mShowSys;
52 KU_MainView *mv;
53 KU_SelectConn *sc;
56 #endif // _KU_MAINWIDGET_H_