liblancelot
Lancelot::FlipLayoutManager Class Reference
#include <FlipLayout.h>
Public Member Functions | |
Plasma::Flip | flip (const QGraphicsLayout *layout) const |
Plasma::Flip | globalFlip () const |
void | setFlip (const QGraphicsLayout *layout, Plasma::Flip flip) |
void | setGeometry (QGraphicsLayout *layout) const |
void | setGlobalFlip (Plasma::Flip flip) |
void | setUseGlobalFlip (const QGraphicsLayout *layout) |
Static Public Member Functions | |
static FlipLayoutManager * | self () |
Detailed Description
Definition at line 33 of file FlipLayout.h.
Member Function Documentation
Plasma::Flip Lancelot::FlipLayoutManager::flip | ( | const QGraphicsLayout * | layout | ) | const |
- Returns
- the flip for the specified layout. If the layout uses global flip, the global flip is returned
Definition at line 85 of file FlipLayout.cpp.
Plasma::Flip Lancelot::FlipLayoutManager::globalFlip | ( | ) | const |
- Returns
- the global flip
Definition at line 62 of file FlipLayout.cpp.
|
static |
- Returns
- the singleton instance of the FlipLayoutManager
Definition at line 49 of file FlipLayout.cpp.
void Lancelot::FlipLayoutManager::setFlip | ( | const QGraphicsLayout * | layout, |
Plasma::Flip | flip | ||
) |
Sets the flip for a specified layout.
- Parameters
-
layout layout flip new flip
Definition at line 67 of file FlipLayout.cpp.
void Lancelot::FlipLayoutManager::setGeometry | ( | QGraphicsLayout * | layout | ) | const |
Implementation of the actual flipping.
Definition at line 96 of file FlipLayout.cpp.
void Lancelot::FlipLayoutManager::setGlobalFlip | ( | Plasma::Flip | flip | ) |
void Lancelot::FlipLayoutManager::setUseGlobalFlip | ( | const QGraphicsLayout * | layout | ) |
Makes the specified layout to use the global flip.
- Parameters
-
layout layout
Definition at line 78 of file FlipLayout.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 Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.