• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Applets

x11embedcontainer.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   x11embedcontainer.h                                                   *
00003  *                                                                         *
00004  *   Copyright (C) 2008 Jason Stubbs <jasonbstubbs@gmail.com>              *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or modify  *
00007  *   it under the terms of the GNU General Public License as published by  *
00008  *   the Free Software Foundation; either version 2 of the License, or     *
00009  *   (at your option) any later version.                                   *
00010  *                                                                         *
00011  *   This program is distributed in the hope that it will be useful,       *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU General Public License for more details.                          *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU General Public License     *
00017  *   along with this program; if not, write to the                         *
00018  *   Free Software Foundation, Inc.,                                       *
00019  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA .        *
00020  ***************************************************************************/
00021 
00022 #ifndef X11EMBEDCONTAINER_H
00023 #define X11EMBEDCONTAINER_H
00024 
00025 #include <QtGui/QX11EmbedContainer>
00026 
00027 
00028 namespace SystemTray
00029 {
00030 
00031 class X11EmbedContainer : public QX11EmbedContainer
00032 {
00033     Q_OBJECT
00034 
00035 public:
00036     X11EmbedContainer(QWidget *parent = 0);
00037     ~X11EmbedContainer();
00038 
00039     void embedSystemTrayClient(WId id);
00040     void setUpdatesEnabled(bool enabled);
00041     void setBackgroundPixmap(QPixmap background);
00042 
00043 protected:
00044     void paintEvent(QPaintEvent *event);
00045 
00046 private slots:
00047     void ensureValidSize();
00048 
00049 private:
00050     class Private;
00051     Private* const d;
00052 };
00053 
00054 }
00055 
00056 
00057 #endif

Applets

Skip menu "Applets"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
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