Warning, /plasma/latte-dock/declarativeimports/coretypes.h.in is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef @CORETYPESHEADER@
0007 #define @CORETYPESHEADER@
0008 
0009 // Qt
0010 #include <QObject>
0011 #include <QMetaEnum>
0012 #include <QMetaType>
0013 
0014 namespace Latte {
0015 
0016 class Types
0017 {
0018     Q_GADGET
0019 
0020 public:
0021     Types() = delete;
0022     ~Types(){};
0023 
0024     enum ViewType
0025     {
0026         DockView = 0,
0027         PanelView
0028     };
0029     Q_ENUM(ViewType);
0030 
0031     enum Visibility
0032     {
0033         None = -1,
0034         AlwaysVisible = 0,
0035         AutoHide,
0036         DodgeActive,
0037         DodgeMaximized,
0038         DodgeAllWindows,
0039         WindowsGoBelow,
0040         WindowsCanCover,
0041         WindowsAlwaysCover,
0042         SidebarOnDemand,
0043         SidebarAutoHide,
0044         NormalWindow = 20
0045     };
0046     Q_ENUM(Visibility);
0047 
0048     enum Alignment
0049     {
0050         NoneAlignment = -1,
0051         Center = 0,
0052         Left,
0053         Right,
0054         Top,
0055         Bottom,
0056         Justify = 10
0057     };
0058     Q_ENUM(Alignment);
0059 
0060     enum EdgesAndAlignments
0061     {
0062         BottomEdgeCenterAlign = 0,
0063         BottomEdgeLeftAlign,
0064         BottomEdgeRightAlign,
0065         TopEdgeCenterAlign,
0066         TopEdgeLeftAlign,
0067         TopEdgeRightAlign,
0068         LeftEdgeCenterAlign,
0069         LeftEdgeTopAlign,
0070         LeftEdgeBottomAlign,
0071         RightEdgeCenterAlign,
0072         RightEdgeTopAlign,
0073         RightEdgeBottomAlign
0074     };
0075     Q_ENUM(EdgesAndAlignments);
0076 
0077     enum LaunchersGroup
0078     {
0079         UniqueLaunchers = 0,
0080         LayoutLaunchers = 1,
0081         GlobalLaunchers = 2
0082     };
0083     Q_ENUM(LaunchersGroup);
0084 
0085     enum ScreensGroup
0086     {
0087         SingleScreenGroup = 0,
0088         AllScreensGroup,
0089         AllSecondaryScreensGroup
0090     };
0091     Q_ENUM(ScreensGroup)
0092 };
0093 
0094 }//end of namespace
0095 
0096 #endif