Merge branch 'master' of ssh://bitbucket.org/smil3y/kdelibs

This commit is contained in:
Ivailo Monev 2024-04-07 20:54:59 +03:00
commit 35e6fb9b0c

View file

@ -110,18 +110,6 @@ enum Location {
RightEdge /**< Along the right side of the screen */
};
/**
* The position enumeration
*
**/
enum Position {
LeftPositioned, /**< Positioned left */
RightPositioned, /**< Positioned right */
TopPositioned, /**< Positioned top */
BottomPositioned, /**< Positioned bottom */
CenterPositioned /**< Positioned in the center */
};
/**
* The popup position enumeration relatively to his attached widget
*
@ -189,21 +177,6 @@ enum AspectRatioMode {
FixedSize = 4 /** The applet cannot be resized */
};
/**
* The ComonentType enumeration refers to the various types of components,
* or plugins, supported by plasma.
*/
enum ComponentType {
AppletComponent = 1, /**< Plasma::Applet based plugins **/
DataEngineComponent = 2, /**< Plasma::DataEngine based plugins **/
RunnerComponent = 4, /**< Plasma::AbstractRunner based plugins **/
AnimatorComponent = 8, /**< Plasma::Animator based plugins **/
ContainmentComponent = 16,/**< Plasma::Containment based plugins **/
WallpaperComponent = 32, /**< Plasma::Wallpaper based plugins **/
GenericComponent = 64 /** Generic repositories of files, usually they keep QML files and their assets **/
};
Q_DECLARE_FLAGS(ComponentTypes, ComponentType)
enum MarginEdge {
TopMargin = 0, /**< The top margin **/
BottomMargin, /**< The bottom margin **/
@ -277,7 +250,6 @@ PLASMA_EXPORT QList<QAction*> actionsFromMenu(QMenu *menu,
} // Plasma namespace
Q_DECLARE_OPERATORS_FOR_FLAGS(Plasma::Constraints)
Q_DECLARE_OPERATORS_FOR_FLAGS(Plasma::ComponentTypes)
Q_DECLARE_OPERATORS_FOR_FLAGS(Plasma::MessageButtons)