• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

superkaramba

showdesktop.h

00001 /*
00002  * Copyright (C) 2003-2004 Adam Geitgey <adam@rootnode.org>
00003  * Copyright (c) 2005 Ryan Nickell <p0z3r@earthlink.net>
00004  *
00005  * This file is part of SuperKaramba.
00006  *
00007  *  SuperKaramba 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  *  SuperKaramba 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 SuperKaramba; if not, write to the Free Software
00019  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00020  ****************************************************************************/
00021 
00022 #ifndef __showdesktop_h__
00023 #define __showdesktop_h__
00024 
00025 class KWinModule;
00026 
00030 class ShowDesktop : public QObject
00031 {
00032     Q_OBJECT
00033 
00034 public:
00035     static ShowDesktop* the();
00036     bool desktopShowing() { return showingDesktop; }
00037 
00038 public slots:
00039     void showDesktop( bool show );
00040     void toggle() { showDesktop( !desktopShowing() ); }
00041 
00042 signals:
00043     void desktopShown( bool shown );
00044 
00045 private slots:
00046     void slotCurrentDesktopChanged(int);
00047     void slotWindowChanged(WId w, unsigned int dirty);
00048 
00049 private:
00050     ShowDesktop();
00051 
00052     bool              showingDesktop;
00053     KWinModule*       kWinModule;
00054     TQValueList<WId>   iconifiedList;
00055 
00056 };
00057 
00058 #endif

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

@topname@

Skip menu "@topname@"
  • kcalc
  •   knumber
  • superkaramba
Generated for @topname@ by doxygen 1.5.6
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal