4
* Copyright (c) 1998 Matthias Ettrich <ettrich@kde.org>
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
#ifndef __KKWMMOUSECONFIG_H__
23
#define __KKWMMOUSECONFIG_H__
32
class ToolTipComboBox: public KComboBox
37
ToolTipComboBox(QWidget * owner, char const * const * toolTips_)
39
, toolTips(toolTips_) {}
43
this->setToolTip(i18n(toolTips[currentIndex()]));
47
char const * const * toolTips;
52
class KTitleBarActionsConfig : public KCModule
58
KTitleBarActionsConfig(bool _standAlone, KConfig *_config, const KComponentData &inst, QWidget *parent);
59
~KTitleBarActionsConfig();
66
void showEvent(QShowEvent *ev);
70
emit KCModule::changed(true);
80
KComboBox* coTiInAct1;
81
KComboBox* coTiInAct2;
82
KComboBox* coTiInAct3;
84
ToolTipComboBox * coMax[3];
89
const char* functionTiDbl(int);
90
const char* functionTiAc(int);
91
const char* functionTiWAc(int);
92
const char* functionTiInAc(int);
93
const char* functionMax(int);
95
void setComboText(KComboBox* combo, const char* text);
96
const char* fixup(const char* s);
99
void paletteChanged();
103
class KWindowActionsConfig : public KCModule
109
KWindowActionsConfig(bool _standAlone, KConfig *_config, const KComponentData &inst, QWidget *parent);
110
~KWindowActionsConfig();
117
void showEvent(QShowEvent *ev);
121
emit KCModule::changed(true);
128
KComboBox* coWinWheel;
139
const char* functionWin(int);
140
const char* functionWinWheel(int);
141
const char* functionAllKey(int);
142
const char* functionAll(int);
143
const char* functionAllW(int);
145
void setComboText(KComboBox* combo, const char* text);
146
const char* fixup(const char* s);