Include KGlobal were needed
With KF5 some includes which used to include KGlobal, e.g. KStandardDirs do no longer include KGlobal. So if we use KGlobal we should include it.
This commit is contained in:
parent
1f141a891e
commit
0ccc060218
14 changed files with 14 additions and 1 deletions
|
@ -49,6 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <QDBusConnection>
|
||||
#include <kaction.h>
|
||||
#include <kactioncollection.h>
|
||||
#include <KDE/KGlobal>
|
||||
#include <KDE/KLocalizedString>
|
||||
|
||||
#include <xcb/composite.h>
|
||||
|
|
|
@ -26,6 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <kconfiggroup.h>
|
||||
#include <kdebug.h>
|
||||
#include <kxerrorhandler.h>
|
||||
#include <KDE/KGlobal>
|
||||
#include <KDE/KLocalizedString>
|
||||
#include <kdeversion.h>
|
||||
#include <ksharedconfig.h>
|
||||
|
|
|
@ -53,6 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include "klibrary.h"
|
||||
#include "kdesktopfile.h"
|
||||
#include "kconfiggroup.h"
|
||||
#include <KDE/KGlobal>
|
||||
#include "kstandarddirs.h"
|
||||
#include <kservice.h>
|
||||
#include <kservicetypetrader.h>
|
||||
|
|
|
@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <KDE/KLocalizedString>
|
||||
#include <kwinconfig.h>
|
||||
#include <kdebug.h>
|
||||
#include <KDE/KGlobal>
|
||||
|
||||
#include <QColor>
|
||||
#include <QRect>
|
||||
|
|
|
@ -3,4 +3,4 @@ ClassName=CubeConfig
|
|||
NameSpace=KWin
|
||||
Singleton=true
|
||||
Mutators=true
|
||||
IncludeFiles=kcolorscheme.h,KDE/KStandardDirs
|
||||
IncludeFiles=kcolorscheme.h,KDE/KStandardDirs,KDE/KGlobal
|
||||
|
|
|
@ -26,6 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <QMatrix4x4>
|
||||
#include <QVector2D>
|
||||
|
||||
#include <KDE/KGlobal>
|
||||
#include <KStandardDirs>
|
||||
#include <kdebug.h>
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <kwinglplatform.h>
|
||||
#include <kactioncollection.h>
|
||||
#include <kaction.h>
|
||||
#include <KDE/KGlobal>
|
||||
#include <KDE/KLocalizedString>
|
||||
#include <kdebug.h>
|
||||
#include <KStandardDirs>
|
||||
|
|
|
@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#include <math.h>
|
||||
#include <kdebug.h>
|
||||
#include <KDE/KGlobal>
|
||||
#include <KDE/KStandardDirs>
|
||||
|
||||
#include <QtGui/QMatrix4x4>
|
||||
|
|
|
@ -30,6 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <kaction.h>
|
||||
#include <KDE/KLocale>
|
||||
#include <KDE/KLocalizedString>
|
||||
#include <KDE/KGlobal>
|
||||
|
||||
using namespace KWin;
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ DEALINGS IN THE SOFTWARE.
|
|||
#include <klibrary.h>
|
||||
#include <kconfiggroup.h>
|
||||
#include <KDE/KLocalizedString>
|
||||
#include <KDE/KGlobal>
|
||||
#include <assert.h>
|
||||
|
||||
#include <QDir>
|
||||
|
|
|
@ -32,6 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <kstandarddirs.h>
|
||||
#include <KDE/KConfigGroup>
|
||||
#include <KDE/KDebug>
|
||||
#include <KDE/KGlobal>
|
||||
#include <KDE/KPluginInfo>
|
||||
#include <KDE/KServiceTypeTrader>
|
||||
#include <kdeclarative.h>
|
||||
|
|
|
@ -32,6 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
// include KDE
|
||||
#include <KDE/KDebug>
|
||||
#include <KDE/KGlobal>
|
||||
#include <KDE/KIconEffect>
|
||||
#include <KDE/KIconLoader>
|
||||
#include <KDE/KServiceTypeTrader>
|
||||
|
|
|
@ -44,6 +44,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <KConfigGroup>
|
||||
#include <KDE/KAction>
|
||||
#include <KDebug>
|
||||
#include <KDE/KGlobal>
|
||||
#include <KLocalizedString>
|
||||
#include <kkeyserver.h>
|
||||
// X11
|
||||
|
|
|
@ -61,6 +61,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <kiconloader.h>
|
||||
#include <KDE/KLocalizedString>
|
||||
#include <kconfig.h>
|
||||
#include <KDE/KGlobal>
|
||||
#include <kglobalaccel.h>
|
||||
#include <kapplication.h>
|
||||
#include <QRegExp>
|
||||
|
|
Loading…
Reference in a new issue