bef5a33ed5
- Ported PushButton to Plasma::Widget API - Two new classes, Rectangle and Label. - All Widgets should now inherit from Plasma::Widget svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691090
21 lines
414 B
C++
21 lines
414 B
C++
#include <plasma/widgets/widget.h>
|
|
|
|
namespace Plasma {
|
|
|
|
class PLASMA_EXPORT Rectangle : public Plasma::Widget
|
|
{
|
|
public:
|
|
Rectangle(Widget *parent);
|
|
virtual ~Rectangle();
|
|
|
|
Qt::Orientations expandingDirections() const;
|
|
|
|
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
|
|
|
|
private:
|
|
class Private;
|
|
Private const *d;
|
|
};
|
|
|
|
}
|