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:
parent
673aa39462
commit
214d575aa3
17 changed files with 25 additions and 24 deletions
2
client.h
2
client.h
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <QLayout>
|
||||
#include <QPainter>
|
||||
#include <QPixmap>
|
||||
#include <qdesktopwidget.h>
|
||||
#include <QDesktopWidget>
|
||||
|
||||
#include "plastikclient.h"
|
||||
#include "plastikbutton.h"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
2
scene.h
2
scene.h
|
@ -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
2
sm.cpp
|
@ -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
2
sm.h
|
@ -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;
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue