mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
generic: remove redundant qglobal header inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ebabe11179
commit
378d7755d5
11 changed files with 14 additions and 19 deletions
|
@ -22,8 +22,6 @@
|
|||
|
||||
#include "kcolorchoosermode.h"
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#include <QColor>
|
||||
|
||||
namespace KDEPrivate {
|
||||
|
|
|
@ -104,9 +104,10 @@ public:
|
|||
* @see editable()
|
||||
* @see setEditable()
|
||||
*/
|
||||
enum Editable { Yes, ///< Collection may be edited
|
||||
No, ///< Collection may not be edited
|
||||
Ask ///< Ask user before editing
|
||||
enum Editable {
|
||||
Yes, ///< Collection may be edited
|
||||
No, ///< Collection may not be edited
|
||||
Ask ///< Ask user before editing
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -99,16 +99,16 @@ Q_SIGNALS:
|
|||
void highlighted( const QColor &col );
|
||||
|
||||
protected:
|
||||
virtual void paintEvent(QPaintEvent *event);
|
||||
virtual void paintEvent(QPaintEvent *event);
|
||||
|
||||
private:
|
||||
friend class KColorComboPrivate;
|
||||
KColorComboPrivate *const d;
|
||||
|
||||
Q_DISABLE_COPY(KColorCombo)
|
||||
friend class KColorComboPrivate;
|
||||
KColorComboPrivate *const d;
|
||||
|
||||
Q_PRIVATE_SLOT(d, void _k_slotActivated(int))
|
||||
Q_PRIVATE_SLOT(d, void _k_slotHighlighted(int))
|
||||
Q_DISABLE_COPY(KColorCombo)
|
||||
|
||||
Q_PRIVATE_SLOT(d, void _k_slotActivated(int))
|
||||
Q_PRIVATE_SLOT(d, void _k_slotHighlighted(int))
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(QList<QColor>)
|
||||
|
|
|
@ -261,7 +261,7 @@ private:
|
|||
};
|
||||
|
||||
#define DEFAULT(c) QColor( c[0], c[1], c[2] )
|
||||
#define SET_DEFAULT(a) DEFAULT( defaults.a )
|
||||
#define SET_DEFAULT(a) DEFAULT( defaults.a )
|
||||
#define DECO_DEFAULT(a) DEFAULT( defaultDecorationColors.a )
|
||||
|
||||
KColorSchemePrivate::KColorSchemePrivate(const KSharedConfigPtr &config,
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#define KCOLORUTILS_H
|
||||
|
||||
#include <kdeui_export.h>
|
||||
#include <QtGui/QPainter>
|
||||
|
||||
#include <QPainter>
|
||||
#include <QColor>
|
||||
|
||||
/**
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#define KPASSWORDDIALOG_H
|
||||
|
||||
#include <kdialog.h>
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
/**
|
||||
* A dialog for requesting a password and optionaly a login from the end user.
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#define KFONTMETRICS_H
|
||||
|
||||
#include "kdeui_export.h"
|
||||
#include <qglobal.h>
|
||||
|
||||
#include <QPainter>
|
||||
#include <QSizeF>
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#define KCRASH_H
|
||||
|
||||
#include <kdeui_export.h>
|
||||
#include <qglobal.h>
|
||||
|
||||
#include <QString>
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#define KKEYSERVER_H
|
||||
|
||||
#include <kdeui_export.h>
|
||||
|
||||
#include <qglobal.h>
|
||||
|
||||
#if defined Q_WS_X11 /*or defined Q_WS_WIN*/
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#define SOLID_IFACES_DEVICEINTERFACE_H
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
namespace Solid
|
||||
{
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#define SOLID_IFACES_GENERICINTERFACE_H
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/qglobal.h>
|
||||
#include <QtCore/QMap>
|
||||
#include <QtCore/QVariant>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue