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

superkaramba

  • superkaramba
  • src
showdesktop.h
1 /*
2  * Copyright (C) 2003-2004 Adam Geitgey <adam@rootnode.org>
3  * Copyright (c) 2005 Ryan Nickell <p0z3r@earthlink.net>
4  *
5  * This file is part of SuperKaramba.
6  *
7  * SuperKaramba is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * SuperKaramba is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with SuperKaramba; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  ****************************************************************************/
21 
22 #ifndef __showdesktop_h__
23 #define __showdesktop_h__
24 
25 class KWinModule;
26 
30 class ShowDesktop : public TQObject
31 {
32  TQ_OBJECT
33 
34 
35 public:
36  static ShowDesktop* the();
37  bool desktopShowing() { return showingDesktop; }
38 
39 public slots:
40  void showDesktop( bool show );
41  void toggle() { showDesktop( !desktopShowing() ); }
42 
43 signals:
44  void desktopShown( bool shown );
45 
46 private slots:
47  void slotCurrentDesktopChanged(int);
48  void slotWindowChanged(WId w, unsigned int dirty);
49 
50 private:
51  ShowDesktop();
52 
53  bool showingDesktop;
54  KWinModule* kWinModule;
55  TQValueList<WId> iconifiedList;
56 
57 };
58 
59 #endif
ShowDesktop
Singleton class that handles desktop access (minimizing all windows)
Definition: showdesktop.h:30

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.8.13
This website is maintained by Timothy Pearson.