cleanups, and GenericComponent no longer applies: just use Package::laod("Plasma/Generic")

This commit is contained in:
Aaron Seigo 2011-07-15 13:00:31 +02:00
parent 4b3b687088
commit a623e16283
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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)