• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • superkaramba
 

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 TQObject
00031 {
00032     Q_OBJECT
00033   TQ_OBJECT
00034 
00035 public:
00036     static ShowDesktop* the();
00037     bool desktopShowing() { return showingDesktop; }
00038 
00039 public slots:
00040     void showDesktop( bool show );
00041     void toggle() { showDesktop( !desktopShowing() ); }
00042 
00043 signals:
00044     void desktopShown( bool shown );
00045 
00046 private slots:
00047     void slotCurrentDesktopChanged(int);
00048     void slotWindowChanged(WId w, unsigned int dirty);
00049 
00050 private:
00051     ShowDesktop();
00052 
00053     bool              showingDesktop;
00054     KWinModule*       kWinModule;
00055     TQValueList<WId>   iconifiedList;
00056 
00057 };
00058 
00059 #endif

superkaramba

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

superkaramba

Skip menu "superkaramba"
  • kcalc
  •   knumber
  • superkaramba
Generated for superkaramba by doxygen 1.7.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |