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 <QMenu>
|
||||
|
||||
#include <plasma/containment.h>
|
||||
#include <plasma/view.h>
|
||||
#include "plasma/containment.h"
|
||||
#include "plasma/view.h"
|
||||
#include "plasma/private/packages_p.h"
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
@ -124,4 +125,5 @@ QList<QAction*> actionsFromMenu(QMenu *menu, const QString &prefix, QObject *par
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
} // Plasma namespace
|
||||
|
3
plasma.h
3
plasma.h
@ -213,8 +213,7 @@ enum ComponentType {
|
||||
RunnerComponent = 4, /**< Plasma::AbstractRunner based plugsin **/
|
||||
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 **/
|
||||
WallpaperComponent = 32 /**< Plasma::Wallpaper based plugins **/
|
||||
};
|
||||
Q_DECLARE_FLAGS(ComponentTypes, ComponentType)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user