• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

Plasma

windoweffects.h

Go to the documentation of this file.
00001 /*
00002  *   Copyright 2009 Marco Martin <notmart@gmail.com>
00003  *
00004  *   This program is free software; you can redistribute it and/or modify
00005  *   it under the terms of the GNU Library General Public License as
00006  *   published by the Free Software Foundation; either version 2, or
00007  *   (at your option) any later version.
00008  *
00009  *   This program is distributed in the hope that it will be useful,
00010  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *   GNU General Public License for more details
00013  *
00014  *   You should have received a copy of the GNU Library General Public
00015  *   License along with this program; if not, write to the
00016  *   Free Software Foundation, Inc.,
00017  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00018  */
00019 
00020 #ifndef PLASMA_WINDOWEFFECTS_H
00021 #define PLASMA_WINDOWEFFECTS_H
00022 
00023 #include <QtGui/QWidget>
00024 
00025 #include <plasma/plasma.h>
00026 
00029 namespace Plasma
00030 {
00031 
00036 namespace WindowEffects
00037 {
00038     enum Effect {
00039         Slide = 1,
00040         WindowPreview = 2,
00041         PresentWindows = 3,
00042         PresentWindowsGroup = 4,
00043         HighlightWindows = 5,
00044         OverrideShadow = 6,
00045         BlurBehind = 7,
00046         Dashboard = 8
00047     };
00048 
00055     PLASMA_EXPORT bool isEffectAvailable(Effect effect);
00056 
00066     PLASMA_EXPORT void slideWindow(WId id, Plasma::Location location, int offset);
00067 
00077     PLASMA_EXPORT void slideWindow(QWidget *widget, Plasma::Location location);
00078 
00085     PLASMA_EXPORT QList<QSize> windowSizes(const QList<WId> &ids);
00086 
00098     PLASMA_EXPORT void showWindowThumbnails(WId parent, const QList<WId> &windows = QList<WId>(), const QList<QRect> &rects = QList<QRect>());
00099 
00108     PLASMA_EXPORT void presentWindows(WId controller, const QList<WId> &ids);
00109 
00118     PLASMA_EXPORT void presentWindows(WId controller, int desktop = -1);
00119 
00128     PLASMA_EXPORT void highlightWindows(WId controller, const QList<WId> &ids);
00129 
00137     PLASMA_EXPORT void overrideShadow(WId window, bool override);
00138 
00153     PLASMA_EXPORT void enableBlurBehind(WId window, bool enable = true, const QRegion &region = QRegion());
00154 
00163     PLASMA_EXPORT void markAsDashboard(WId window);
00164 }
00165 
00166 } // namespace Plasma
00167 
00168 #endif
00169 

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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