Commit 7efa456e authored by Jan Grulich's avatar Jan Grulich
Browse files

Include config.h before ifdefs to evaluate them properly

parent f15d5753
......@@ -21,6 +21,8 @@
#ifndef PLASMA_NM_CONNECTION_ICON_H
#define PLASMA_NM_CONNECTION_ICON_H
#include "config.h"
#include <NetworkManagerQt/Manager>
#include <NetworkManagerQt/ActiveConnection>
#include <NetworkManagerQt/WirelessNetwork>
......@@ -32,8 +34,6 @@
#endif
#endif
#include "config.h"
class ConnectionIcon : public QObject
{
Q_OBJECT
......
......@@ -28,6 +28,9 @@
#include <NetworkManagerQt/VpnConnection>
#include <NetworkManagerQt/WirelessNetwork>
#include <NetworkManagerQt/WirelessDevice>
#include "config.h"
#if WITH_MODEMMANAGER_SUPPORT
#ifdef MODEMMANAGERQT_ONE
#include <ModemManagerQt/modem.h>
......@@ -36,8 +39,6 @@
#endif
#endif
#include "config.h"
class Monitor : public QObject
{
Q_OBJECT
......
......@@ -25,14 +25,14 @@
#include <QObject>
#include <QDBusPendingCallWatcher>
#include "config.h"
#ifdef MODEMMANAGERQT_ONE
#include <ModemManager/ModemManager.h>
#include <ModemManagerQt/modem.h>
#endif
#include <kdemacros.h>
#include "config.h"
class ModemMonitorPrivate;
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment