mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-23 01:33:50 +03:00
layout:expose explicitScreens
This commit is contained in:
parent
9e611d444e
commit
46c0e1a992
@ -1501,7 +1501,7 @@ QList<int> GenericLayout::subContainmentsOf(Plasma::Containment *containment) co
|
|||||||
return subs;
|
return subs;
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<int> GenericLayout::viewsScreens()
|
QList<int> GenericLayout::viewsExplicitScreens()
|
||||||
{
|
{
|
||||||
Data::ViewsTable views = viewsTable();
|
Data::ViewsTable views = viewsTable();
|
||||||
QList<int> screens;
|
QList<int> screens;
|
||||||
|
@ -131,7 +131,7 @@ public:
|
|||||||
//! that latteView
|
//! that latteView
|
||||||
QList<Plasma::Containment *> unassignFromLayout(Plasma::Containment *latteContainment);
|
QList<Plasma::Containment *> unassignFromLayout(Plasma::Containment *latteContainment);
|
||||||
|
|
||||||
QList<int> viewsScreens();
|
QList<int> viewsExplicitScreens();
|
||||||
|
|
||||||
Latte::Data::ViewsTable viewsTable() const;
|
Latte::Data::ViewsTable viewsTable() const;
|
||||||
|
|
||||||
|
@ -851,6 +851,12 @@ const Latte::Data::LayoutsTable &Layouts::currentLayoutsData()
|
|||||||
return m_layoutsTable;
|
return m_layoutsTable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const Latte::Data::ScreensTable &Layouts::screensData()
|
||||||
|
{
|
||||||
|
Latte::Data::ScreensTable scrs;
|
||||||
|
return scrs;
|
||||||
|
}
|
||||||
|
|
||||||
void Layouts::setOriginalInMultipleMode(const bool &inmultiple)
|
void Layouts::setOriginalInMultipleMode(const bool &inmultiple)
|
||||||
{
|
{
|
||||||
setInMultipleMode(inmultiple);
|
setInMultipleMode(inmultiple);
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#include "../../data/layoutdata.h"
|
#include "../../data/layoutdata.h"
|
||||||
#include "../../data/layouticondata.h"
|
#include "../../data/layouticondata.h"
|
||||||
#include "../../data/layoutstable.h"
|
#include "../../data/layoutstable.h"
|
||||||
|
#include "../../data/screendata.h"
|
||||||
|
|
||||||
// Qt
|
// Qt
|
||||||
#include <QAbstractTableModel>
|
#include <QAbstractTableModel>
|
||||||
@ -127,6 +128,8 @@ public:
|
|||||||
const Latte::Data::LayoutsTable ¤tLayoutsData();
|
const Latte::Data::LayoutsTable ¤tLayoutsData();
|
||||||
const Latte::Data::LayoutsTable &originalLayoutsData();
|
const Latte::Data::LayoutsTable &originalLayoutsData();
|
||||||
|
|
||||||
|
const Latte::Data::ScreensTable &screensData();
|
||||||
|
|
||||||
void setOriginalInMultipleMode(const bool &inmultiple);
|
void setOriginalInMultipleMode(const bool &inmultiple);
|
||||||
void setOriginalData(Latte::Data::LayoutsTable &data);
|
void setOriginalData(Latte::Data::LayoutsTable &data);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user