KWindowShadowTile

KWindowShadowTile Class Reference

#include <kwindowshadow.h>

Public Types

using Ptr = QSharedPointer< KWindowShadowTile >
 

Public Member Functions

bool create ()
 
QImage image () const
 
bool isCreated () const
 
void setImage (const QImage &image)
 

Detailed Description

The KWindowShadowTile class provides a platform-indendent shadow tile representation.

Definition at line 23 of file kwindowshadow.h.

Member Function Documentation

bool KWindowShadowTile::create ( )

Allocates the native platform resources associated with the KWindowShadowTile.

Normally it should not be necessary to call this method as KWindowShadow will implicitly call create() on your behalf.

Returns true if the creation succeeded, otherwise returns false.

Definition at line 47 of file kwindowshadow.cpp.

QImage KWindowShadowTile::image ( ) const

Returns the image stored in the KWindowShadowTile.

Definition at line 27 of file kwindowshadow.cpp.

bool KWindowShadowTile::isCreated ( ) const

Returns true if the platform resources associated with the tile have been allocated.

Definition at line 42 of file kwindowshadow.cpp.

void KWindowShadowTile::setImage ( const QImage image)

Sets the image on the KWindowShadowTile.

Notice that once the native platform resouces have been allocated for the tile, you are not allowed to change the image. In order to do so, you need to create a new tile.

Definition at line 32 of file kwindowshadow.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Nov 26 2020 22:39:23 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.