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 class KAboutData;
00036 
00037 class KWinOptions : public KCModule
00038 {
00039   Q_OBJECT
00040 
00041 public:
00042 
00043   KWinOptions(QWidget *parent, const char *name);
00044   virtual ~KWinOptions();
00045 
00046   void load();
00047   void save();
00048   void defaults();
00049   QString quickHelp() const;
00050   const KAboutData* aboutData() const;
00051 
00052 
00053 protected slots:
00054 
00055   void moduleChanged(bool state);
00056 
00057 
00058 private:
00059 
00060   QTabWidget   *tab;
00061 
00062   KFocusConfig *mFocus;
00063   KActionsConfig *mActions;
00064   KMovingConfig *mMoving;
00065   KAdvancedConfig *mAdvanced;
00066 
00067   KConfig *mConfig;
00068 };
00069 
00070 #endif
KDE Logo
This file is part of the documentation for kwin Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 29 21:20:52 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003