kwin Library API Documentation

main.h

00001 /* 00002 * main.h 00003 * 00004 * Copyright (c) 2001 Waldo Bastian <bastian@kde.org> 00005 * 00006 * Requires the Qt widget libraries, available at no cost at 00007 * http://www.troll.no/ 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00022 */ 00023 00024 00025 #ifndef __MAIN_H__ 00026 #define __MAIN_H__ 00027 00028 #include <qtabwidget.h> 00029 #include <kcmodule.h> 00030 00031 class KConfig; 00032 class KFocusConfig; 00033 class KActionsConfig; 00034 class KAdvancedConfig; 00035 00036 class KWinOptions : public KCModule 00037 { 00038 Q_OBJECT 00039 00040 public: 00041 00042 KWinOptions(QWidget *parent, const char *name); 00043 virtual ~KWinOptions(); 00044 00045 void load(); 00046 void save(); 00047 void defaults(); 00048 QString quickHelp() const; 00049 00050 00051 protected slots: 00052 00053 void moduleChanged(bool state); 00054 00055 00056 private: 00057 00058 QTabWidget *tab; 00059 00060 KFocusConfig *mFocus; 00061 KActionsConfig *mActions; 00062 KMovingConfig *mMoving; 00063 KAdvancedConfig *mAdvanced; 00064 00065 KConfig *mConfig; 00066 }; 00067 00068 #endif
KDE Logo
This file is part of the documentation for kwin Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 13 21:47:05 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003