cleanups, and GenericComponent no longer applies: just use Package::laod("Plasma/Generic")
This commit is contained in:
parent
4b3b687088
commit
a623e16283
@ -24,8 +24,9 @@
|
|||||||
#include <QGraphicsView>
|
#include <QGraphicsView>
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
|
|
||||||
#include <plasma/containment.h>
|
#include "plasma/containment.h"
|
||||||
#include <plasma/view.h>
|
#include "plasma/view.h"
|
||||||
|
#include "plasma/private/packages_p.h"
|
||||||
|
|
||||||
namespace Plasma
|
namespace Plasma
|
||||||
{
|
{
|
||||||
@ -124,4 +125,5 @@ QList<QAction*> actionsFromMenu(QMenu *menu, const QString &prefix, QObject *par
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} // Plasma namespace
|
} // Plasma namespace
|
||||||
|
3
plasma.h
3
plasma.h
@ -213,8 +213,7 @@ enum ComponentType {
|
|||||||
RunnerComponent = 4, /**< Plasma::AbstractRunner based plugsin **/
|
RunnerComponent = 4, /**< Plasma::AbstractRunner based plugsin **/
|
||||||
AnimatorComponent = 8, /**< Plasma::Animator based plugins **/
|
AnimatorComponent = 8, /**< Plasma::Animator based plugins **/
|
||||||
ContainmentComponent = 16,/**< Plasma::Containment based plugins **/
|
ContainmentComponent = 16,/**< Plasma::Containment based plugins **/
|
||||||
WallpaperComponent = 32, /**< Plasma::Wallpaper 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)
|
Q_DECLARE_FLAGS(ComponentTypes, ComponentType)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user