plasma-framework/appletLayout.h
Zack Rusin 879fbb19a0 Doing some basic work on visual foundation for applets
and adding desktop stubs.


svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=492502
2005-12-30 06:47:24 +00:00

34 lines
634 B
C++

#ifndef APPLEYLAYOUT_H
#define APPLEYLAYOUT_H
#include "kdelibs_export.h"
#include <QLayout>
namespace Plasma
{
/**
* AppletLayout is our custom layouting engine
* for applets. It reacts to state transition (removal,addition
* of applets) by emitting corresponding signals which AppletCompositor
* can intercept and respond with some nice animation/effect.
*/
class KDE_EXPORT AppletLayout : public QLayout
{
Q_OBJECT
public:
AppletLayout(QWidget *parent);
signals:
void mergeTwoApplets();
void splitTwoApplets();
private:
class Private;
Private *d;
};
}
#endif