1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-14 13:58:46 +03:00

rename dock functions to views

This commit is contained in:
Michail Vourlakos 2018-12-02 00:01:07 +02:00
parent 390478f6d4
commit 85009494e7
2 changed files with 4 additions and 4 deletions

View File

@ -1824,7 +1824,7 @@ int Layout::viewsWithTasks() const
return result;
}
int Layout::docksCount(int screen) const
int Layout::viewsCount(int screen) const
{
if (!m_corona) {
return 0;
@ -1843,7 +1843,7 @@ int Layout::docksCount(int screen) const
return docks;
}
int Layout::docksCount(QScreen *screen) const
int Layout::viewsCount(QScreen *screen) const
{
if (!m_corona) {
return 0;

View File

@ -152,8 +152,8 @@ public:
//! make it writable which it should be the default
void unlock();
int docksCount(int screen) const;
int docksCount(QScreen *screen) const;
int viewsCount(int screen) const;
int viewsCount(QScreen *screen) const;
int viewsCount() const;
public slots: