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

libplasma

Plasma::Rectangle

Plasma::Rectangle Class Reference

#include <rectangle.h>

Inheritance diagram for Plasma::Rectangle:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 28 of file rectangle.h.


Public Member Functions

 Rectangle (Widget *parent)
virtual ~Rectangle ()
Qt::Orientations expandingDirections () const
void paintWidget (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)

Constructor & Destructor Documentation

Plasma::Rectangle::Rectangle ( Widget *  parent  ) 

Definition at line 27 of file rectangle.cpp.

Plasma::Rectangle::~Rectangle (  )  [virtual]

Definition at line 34 of file rectangle.cpp.


Member Function Documentation

Qt::Orientations Plasma::Rectangle::expandingDirections (  )  const [virtual]

This method is used by Plasma::Layout to determine which directions the widget naturally expands.

Returns:
bitmask with the directions that this Widget can be expanded.

Reimplemented from Plasma::Widget.

Definition at line 38 of file rectangle.cpp.

void Plasma::Rectangle::paintWidget ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = 0 
) [virtual]

Paints the widget.

Parameters:
painter the QPainter to use to paint.
option the style option used to give specific info on the item being dawn.
widget the parent QWidget (most likely the Corona)

Reimplemented from Plasma::Widget.

Definition at line 43 of file rectangle.cpp.


The documentation for this class was generated from the following files:
  • rectangle.h
  • rectangle.cpp

libplasma

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

API Reference

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