layout:expose explicitScreens

pull/22/head
Michail Vourlakos 4 years ago
parent 9e611d444e
commit 46c0e1a992

@ -1501,7 +1501,7 @@ QList<int> GenericLayout::subContainmentsOf(Plasma::Containment *containment) co
return subs;
}
QList<int> GenericLayout::viewsScreens()
QList<int> GenericLayout::viewsExplicitScreens()
{
Data::ViewsTable views = viewsTable();
QList<int> screens;

@ -131,7 +131,7 @@ public:
//! that latteView
QList<Plasma::Containment *> unassignFromLayout(Plasma::Containment *latteContainment);
QList<int> viewsScreens();
QList<int> viewsExplicitScreens();
Latte::Data::ViewsTable viewsTable() const;

@ -851,6 +851,12 @@ const Latte::Data::LayoutsTable &Layouts::currentLayoutsData()
return m_layoutsTable;
}
const Latte::Data::ScreensTable &Layouts::screensData()
{
Latte::Data::ScreensTable scrs;
return scrs;
}
void Layouts::setOriginalInMultipleMode(const bool &inmultiple)
{
setInMultipleMode(inmultiple);

@ -12,6 +12,7 @@
#include "../../data/layoutdata.h"
#include "../../data/layouticondata.h"
#include "../../data/layoutstable.h"
#include "../../data/screendata.h"
// Qt
#include <QAbstractTableModel>
@ -127,6 +128,8 @@ public:
const Latte::Data::LayoutsTable &currentLayoutsData();
const Latte::Data::LayoutsTable &originalLayoutsData();
const Latte::Data::ScreensTable &screensData();
void setOriginalInMultipleMode(const bool &inmultiple);
void setOriginalData(Latte::Data::LayoutsTable &data);

Loading…
Cancel
Save