SVN_SILENT made messages (.desktop file)
[kdeadmin.git] / kuser / ku_mainwidget.h
blob14d26b6ea32995a9a5a1038e5b0ef75d6ef01fd3
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 as published by the Free Software Foundation.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 **/
21 #ifndef _KU_MAINWIDGET_H_
22 #define _KU_MAINWIDGET_H_
24 #include <kxmlguiwindow.h>
26 class KU_SelectConn;
27 class KU_MainView;
28 class KToggleAction;
30 class KU_MainWidget : public KXmlGuiWindow {
31 Q_OBJECT
32 public:
33 KU_MainWidget();
34 ~KU_MainWidget();
35 bool queryClose();
37 protected:
38 void init();
39 void setupActions();
41 protected slots:
42 void showSys( bool show );
43 void properties();
44 void slotApplySettings();
45 void slotApplyConnection();
46 void selectconn();
47 void reload();
49 private:
50 KToggleAction *mShowSys;
51 KU_MainView *mv;
52 KU_SelectConn *sc;
55 #endif // _KU_MAINWIDGET_H_