KWindowShadowTile

Search for usage in LXR

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 Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ KWindowShadowTile()

KWindowShadowTile::KWindowShadowTile ( )

Definition at line 15 of file kwindowshadow.cpp.

◆ ~KWindowShadowTile()

KWindowShadowTile::~KWindowShadowTile ( )

Definition at line 20 of file kwindowshadow.cpp.

Member Function Documentation

◆ create()

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 48 of file kwindowshadow.cpp.

◆ image()

QImage KWindowShadowTile::image ( ) const

Returns the image stored in the KWindowShadowTile.

Definition at line 27 of file kwindowshadow.cpp.

◆ isCreated()

bool KWindowShadowTile::isCreated ( ) const

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

Definition at line 43 of file kwindowshadow.cpp.

◆ setImage()

void KWindowShadowTile::setImage ( const QImage & image)

Sets the image on the KWindowShadowTile.

Notice that once the native platform resources 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-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:34:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.