Qt3 -> Qt4 style includes.

qdrawutil.h doesn't seem to have a purely Qt4-style equivalent, so including the directory there disambiguates it from the Qt3 header.

svn path=/trunk/KDE/kdebase/workspace/; revision=770116
This commit is contained in:
Adriaan de Groot 2008-02-02 20:54:19 +00:00
parent 673aa39462
commit 214d575aa3
17 changed files with 25 additions and 24 deletions

View file

@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <config-X11.h>
#include <qframe.h>
#include <QFrame>
#include <QPixmap>
#include <netwm.h>
#include <kdebug.h>

View file

@ -24,7 +24,7 @@
#include <kglobal.h>
#include <klocale.h>
#include <QLayout>
#include <qdrawutil.h>
#include <QtGui/qdrawutil.h>
//Added by qt3to4:
#include <QPixmap>
#include <QPaintEvent>

View file

@ -33,11 +33,11 @@
#include <KDebug>
#include <KColorUtils>
#include <qbitmap.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qpainter.h>
#include <qtooltip.h>
#include <QBitmap>
#include <QLabel>
#include <QLayout>
#include <QPainter>
#include <QToolTip>
//Added by qt3to4:
#include <QBoxLayout>
#include <QGridLayout>

View file

@ -30,7 +30,7 @@
#include <QLayout>
#include <QPainter>
#include <QPixmap>
#include <qdesktopwidget.h>
#include <QDesktopWidget>
#include "plastikclient.h"
#include "plastikbutton.h"

View file

@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "redmond.h"
#include <qdrawutil.h>
#include <QtGui/qdrawutil.h>
#include <QDateTime>
//Added by qt3to4:
#include <QPixmap>

View file

@ -27,7 +27,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <klocale.h>
#include <kconfiggroup.h>
#include <netwm_def.h>
#include <qevent.h>
#include <QEvent>
#include <QMouseEvent>
namespace KWin
{

View file

@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define KWIN_DESKTOPGRID_H
#include <kwineffects.h>
#include <qobject.h>
#include <QObject>
namespace KWin
{

View file

@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kdebug.h>
#include <QMouseEvent>
#include <qpainter.h>
#include <QPainter>
#include <math.h>
#include <assert.h>

View file

@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kwineffects.h>
#include <qdatetime.h>
#include <QDateTime>
namespace KWin
{

View file

@ -33,14 +33,16 @@
#include <QRadioButton>
#include <QLabel>
#include <QComboBox>
#include <qdesktopwidget.h>
#include <QDesktopWidget>
//Added by qt3to4:
#include <QGridLayout>
#include <QHBoxLayout>
#include <QBoxLayout>
#include <QVBoxLayout>
#include <kmessagebox.h>
#include <QTabWidget>
#include <QtDBus/QtDBus>
#include <kmessagebox.h>
#include <klocale.h>
#include <kcolorbutton.h>
#include <kconfig.h>
@ -49,8 +51,6 @@
#include <kdialog.h>
#include <kglobal.h>
#include <kprocess.h>
#include <QTabWidget>
#include <QtDBus/QtDBus>
#include <X11/X.h>
#include <X11/Xlib.h>

View file

@ -35,7 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kdebug.h>
#include <klocale.h>
#include <QApplication>
#include <qdesktopwidget.h>
#include <QDesktopWidget>
#include <kstringhandler.h>
#include <kglobalsettings.h>
#include <QX11Info>

View file

@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef KWIN_SCENE_H
#define KWIN_SCENE_H
#include <qdatetime.h>
#include <QDateTime>
#include "toplevel.h"
#include "utils.h"

2
sm.cpp
View file

@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "workspace.h"
#include "client.h"
#include <QSocketNotifier>
#include <qsessionmanager.h>
#include <QSessionManager>
#include <kdebug.h>
namespace KWin

2
sm.h
View file

@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <ksessionmanager.h>
#include <X11/SM/SMlib.h>
#include <netwm_def.h>
#include <qrect.h>
#include <QRect>
class QSocketNotifier;

View file

@ -34,7 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kconfig.h>
#include <klocale.h>
#include <QApplication>
#include <qdesktopwidget.h>
#include <QDesktopWidget>
#include <QAction>
#include <stdarg.h>
#include <kdebug.h>

View file

@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <config-X11.h>
#include <assert.h>
#include <qobject.h>
#include <QObject>
#include <kdecoration.h>
#include <kdebug.h>

View file

@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QCursor>
#include <netwm.h>
#include <kxmessages.h>
#include <qdatetime.h>
#include <QDateTime>
#include <kmanagerselection.h>
#include "utils.h"