kwin Library API Documentation

mouse.h

00001 /*
00002  * mouse.h
00003  *
00004  * Copyright (c) 1998 Matthias Ettrich <ettrich@kde.org>
00005  *
00006  *
00007  *  This program is free software; you can redistribute it and/or modify
00008  *  it under the terms of the GNU General Public License as published by
00009  *  the Free Software Foundation; either version 2 of the License, or
00010  *  (at your option) any later version.
00011  *
00012  *  This program is distributed in the hope that it will be useful,
00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *  GNU General Public License for more details.
00016  *
00017  *  You should have received a copy of the GNU General Public License
00018  *  along with this program; if not, write to the Free Software
00019  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020  */
00021 
00022 #ifndef __KKWMMOUSECONFIG_H__
00023 #define __KKWMMOUSECONFIG_H__
00024 
00025 class QComboBox;
00026 class KConfig;
00027 
00028 #include <qwidget.h>
00029 #include <kcmodule.h>
00030 
00031 class KActionsConfig : public KCModule
00032 {
00033   Q_OBJECT
00034 
00035 public:
00036 
00037   KActionsConfig( bool _standAlone, KConfig *_config, QWidget *parent=0, const char* name=0 );
00038   ~KActionsConfig( );
00039 
00040   void load();
00041   void save();
00042   void defaults();
00043 
00044 public slots:
00045     void changed() { emit KCModule::changed(true); }
00046 
00047 private:
00048   QComboBox* coTiDbl;
00049 
00050   QComboBox* coTiAct1;
00051   QComboBox* coTiAct2;
00052   QComboBox* coTiAct3;
00053   QComboBox* coTiInAct1;
00054   QComboBox* coTiInAct2;
00055   QComboBox* coTiInAct3;
00056 
00057   QComboBox* coWin1;
00058   QComboBox* coWin2;
00059   QComboBox* coWin3;
00060 
00061   QComboBox* coAllKey;
00062   QComboBox* coAll1;
00063   QComboBox* coAll2;
00064   QComboBox* coAll3;
00065 
00066   KConfig *config;
00067   bool standAlone;
00068 
00069   const char* functionTiDbl(int);
00070   const char* functionTiAc(int);
00071   const char* functionTiInAc(int);
00072   const char* functionWin(int);
00073   const char* functionAllKey(int);
00074   const char* functionAll(int);
00075 
00076   void setComboText(QComboBox* combo, const char* text);
00077   const char* fixup( const char* s );
00078 
00079 };
00080 
00081 #endif
00082 
KDE Logo
This file is part of the documentation for kwin Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Aug 20 13:39:13 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003