Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
Loading...
Searching...
No Matches
ScreenList.h
Go to the documentation of this file.
1
/*
2
* Deskflow -- mouse and keyboard sharing utility
3
* SPDX-FileCopyrightText: (C) 2021 Synergy App Ltd
4
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5
*/
6
7
#pragma once
8
9
#include "
Screen.h
"
10
11
class
ScreenList
:
public
QList<Screen>
12
{
13
int
m_width = 5;
14
15
public
:
16
explicit
ScreenList
(
int
width = 5);
17
29
void
addScreenByPriority
(
const
Screen
&newScreen);
30
35
void
addScreenToFirstEmpty
(
const
Screen
&newScreen);
36
41
bool
operator==
(
const
ScreenList
&sc)
const
;
42
};
ScreenList::addScreenToFirstEmpty
void addScreenToFirstEmpty(const Screen &newScreen)
addScreenToFirstEmpty adds screen into the first empty place
Definition
ScreenList.cpp:96
ScreenList::operator==
bool operator==(const ScreenList &sc) const
Returns true if screens are equal.
Definition
ScreenList.cpp:107
ScreenList::addScreenByPriority
void addScreenByPriority(const Screen &newScreen)
addScreenByPriority adds a new screen according to the following priority: 1.left side of the server ...
Definition
ScreenList.cpp:74
ScreenList::ScreenList
ScreenList(int width=5)
Definition
ScreenList.cpp:70
Screen
Definition
Screen.h:26
Screen.h
src
lib
gui
config
ScreenList.h
Generated by
1.18.0