1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-27 06:03:51 +03:00

some methods were missing.

This commit is contained in:
Johan Smith Agudelo Rodriguez 2016-12-28 03:00:01 -05:00
parent e684578459
commit 44a1ee62f3

View File

@ -1,7 +1,6 @@
#ifndef VISIBILITYMANAGER_H
#define VISIBILITYMANAGER_H
#include "abstractinterface.h"
#include "plasmaquick/containmentview.h"
#include "../liblattedock/dock.h"
@ -14,13 +13,9 @@ class VisibilityManager : public QObject {
Q_OBJECT
Q_PROPERTY(Latte::Dock::Visibility mode READ mode WRITE setMode NOTIFY modeChanged)
Q_PROPERTY(bool isHidden READ isHidden WRITE isHidden NOTIFY isHiddenChanged)
Q_PROPERTY(bool containsMouse READ containsMouse NOTIFY containsMouseChanged)
Q_PROPERTY(int timerShow READ timerShow WRITE setTimerShow NOTIFY timerShowChanged)
Q_PROPERTY(int timerHide READ timerHide WRITE setTimerHide NOTIFY timerHideChanged)
public:
@ -30,6 +25,11 @@ public:
Latte::Dock::Visibility mode() const;
void setMode(Latte::Dock::Visibility mode);
bool isHidden() const;
void setHidden(bool isHidden);
bool containsMouse() const;
int timerShow() const;
void setTimerShow(int msec);