mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-03 21:17:49 +03:00
40 lines
547 B
C++
40 lines
547 B
C++
#ifndef DOCK_H
|
|
#define DOCK_H
|
|
|
|
#include <QObject>
|
|
#include <QMetaEnum>
|
|
#include <QMetaType>
|
|
|
|
namespace Latte {
|
|
|
|
class Dock {
|
|
Q_GADGET
|
|
|
|
public:
|
|
Dock() = delete;
|
|
~Dock() {}
|
|
|
|
enum Visibility {
|
|
AlwaysVisible = 0,
|
|
AutoHide,
|
|
DodgeActive,
|
|
DodgeMaximized,
|
|
DodgeAllWindows
|
|
};
|
|
Q_ENUM(Visibility)
|
|
|
|
enum Alignment {
|
|
Center = 0,
|
|
Left,
|
|
Right,
|
|
Top,
|
|
Bottom,
|
|
Double = 10
|
|
};
|
|
Q_ENUM(Alignment)
|
|
|
|
};
|
|
|
|
}//end of namespace
|
|
#endif
|