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.
22 #ifndef _KU_MAINVIEW_H_
23 #define _KU_MAINVIEW_H_
29 #include <ktabwidget.h>
31 #include "ku_usermodel.h"
32 #include "ku_groupmodel.h"
34 class KU_MainView
: public KTabWidget
{
37 KU_MainView(QWidget
*parent
= 0);
41 void setShowSys( bool b
) { mShowSys
= b
; }
51 void slotTabChanged();
67 void userSelected(bool);
68 void groupSelected(bool);
77 KU_UserModel
*usermodel
;
78 KU_UserSortingProxyModel userproxymodel
;
80 KU_GroupModel
*groupmodel
;
81 KU_GroupSortingProxyModel groupproxymodel
;
89 #endif // _KU_MAINVIEW_H_