File indexing completed on 2024-05-19 05:57:11

0001 /*
0002     This file is part of the Kasten Framework, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2009 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef KASTEN_KASTENGUI_HPP
0010 #define KASTEN_KASTENGUI_HPP
0011 
0012 // Qt
0013 #include <QFlags>
0014 
0015 namespace Kasten {
0016 
0017 // keep in sync with both DockWidgetAre a and ToolBarArea
0018 enum SidePosition
0019 {
0020     LeftSidePosition = 0x1,
0021     RightSidePosition = 0x2,
0022     TopSidePosition = 0x4,
0023     BottomSidePosition = 0x8,
0024 
0025     SidePositionMask = 0xF,
0026     AllSidePositions = SidePositionMask,
0027     NoSidePosition = 0
0028 };
0029 enum SidePositionSizes
0030 {
0031     SidePositionCount = 4
0032 };
0033 
0034 Q_DECLARE_FLAGS(SidePositions, SidePosition)
0035 
0036 }
0037 
0038 #endif