K_GLOBAL_STATIC => Q_GLOBAL_STATIC

One less use of kde4support
This commit is contained in:
Aurélien Gâteau 2014-01-08 13:17:19 +01:00
parent 9fcb20fcd1
commit 3b7fe5f2e6
2 changed files with 2 additions and 3 deletions

View File

@ -35,7 +35,6 @@ target_link_libraries(corebindingsplugin
KF5::Declarative
KF5::CoreAddons
KF5::IconThemes
KF5::KDE4Support #for kglobal.h
KF5::Service #for kplugininfo.h
KF5::WindowSystem
KF5::Plasma)

View File

@ -18,6 +18,7 @@
#include "dialogshadows_p.h"
#include <QGlobalStatic>
#include <QWindow>
#include <QPainter>
@ -30,7 +31,6 @@
#endif
#include <qdebug.h>
#include <kglobal.h>
class DialogShadows::Private
{
@ -94,7 +94,7 @@ public:
DialogShadows self;
};
K_GLOBAL_STATIC(DialogShadowsSingleton, privateDialogShadowsSelf)
Q_GLOBAL_STATIC(DialogShadowsSingleton, privateDialogShadowsSelf)
DialogShadows::DialogShadows(QObject *parent, const QString &prefix)
: Plasma::Svg(parent),