|
|
|
@ -33,6 +33,21 @@ namespace Plasma {
|
|
|
|
|
class Types;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace Latte {
|
|
|
|
|
namespace Layout {
|
|
|
|
|
Q_NAMESPACE
|
|
|
|
|
|
|
|
|
|
enum Type {
|
|
|
|
|
Abstract = 0,
|
|
|
|
|
Generic,
|
|
|
|
|
Active,
|
|
|
|
|
Shared
|
|
|
|
|
};
|
|
|
|
|
Q_ENUM_NS(Type);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace Latte {
|
|
|
|
|
namespace Layout {
|
|
|
|
|
|
|
|
|
@ -80,6 +95,8 @@ public:
|
|
|
|
|
QStringList launchers() const;
|
|
|
|
|
void setLaunchers(QStringList launcherList);
|
|
|
|
|
|
|
|
|
|
virtual Type type() const;
|
|
|
|
|
|
|
|
|
|
// STATIC
|
|
|
|
|
static QString layoutName(const QString &fileName);
|
|
|
|
|
static QList<Plasma::Types::Location> combinedFreeEdges(const QList<Plasma::Types::Location> &edges1,
|
|
|
|
|