1
/**************************************************************************
3
config.h - KPager config dialog
4
Copyright (C) 2000 Antonio Larrosa Jimenez <larrosa@kde.org>
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
11
This program 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
14
GNU General Public License for more details.
16
You should have received a copy of the GNU General Public License
17
along with this program; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
Send comments and bug fixes to larrosa@kde.org
22
***************************************************************************/
27
#include <Q3ButtonGroup>
31
class KPagerConfigDialog : public KDialog
36
KPagerConfigDialog(QWidget *parent);
39
void setShowName(bool show);
40
void setShowNumber(bool show);
41
void setShowBackground(bool show);
42
void setShowWindows(bool show);
44
void setWindowDrawMode(int mode);
45
void setLayout(int layout);
47
void enableWindowDragging(bool);
49
void loadConfiguration();
52
static void initConfiguration(void);
53
static bool m_showName;
54
static bool m_showNumber;
55
static bool m_showBackground;
56
static bool m_showWindows;
57
static int m_windowDrawMode;
58
static int m_layoutType;
59
static bool m_windowDragging;
62
QCheckBox *m_chkShowName;
63
QCheckBox *m_chkShowNumber;
64
QCheckBox *m_chkShowBackground;
65
QCheckBox *m_chkShowWindows;
66
Q3ButtonGroup *m_grpWindowDrawMode;
67
Q3ButtonGroup *m_grpLayoutType;
68
QCheckBox* m_chkWindowDragging;
71
bool m_tmpShowBackground;
72
bool m_tmpShowWindows;
73
int m_tmpWindowDrawMode;
75
bool m_tmpWindowDragging;