Commit 874cc7ef authored by Tobias Koenig's avatar Tobias Koenig
Browse files

Qt4 adaptions

svn path=/trunk/KDE/kdepim/akonadi/; revision=589225
parent c3bb1940
......@@ -22,7 +22,7 @@
#include "command.h"
#include <QString>
#include <QtCore/QString>
class DeleteCommand : public Command
{
......
......@@ -21,7 +21,7 @@
#define FETCHCOMMAND_H
#include "command.h"
#include <QString>
#include <QtCore/QString>
class FetchCommand : public Command
{
......
......@@ -23,7 +23,7 @@
#include "command.h"
#include <QString>
#include <QtCore/QString>
class ListCommand : public Command
{
......
......@@ -21,7 +21,7 @@
#ifndef OUT_H
#define OUT_H
#include <QTextOStream>
#include <QtCore/QTextOStream>
#include <stdio.h>
......
......@@ -21,8 +21,8 @@
#include "agendamodel.h"
#include <QPainter>
#include <QPainterPath>
#include <QtGui/QPainter>
#include <QtGui/QPainterPath>
AgendaModel::AgendaModel()
{
......
......@@ -24,7 +24,7 @@
#include "stripeview.h"
#include "event.h"
#include <QDate>
#include <QtCore/QDate>
class AgendaModel : public StripeView::Model
{
......
......@@ -28,12 +28,12 @@
#include "contactmodel.h"
#include "dataprovider.h"
#include <QVBoxLayout>
#include <QLabel>
#include <QSlider>
#include <QDebug>
#include <QTime>
#include <QPushButton>
#include <QtCore/QDebug>
#include <QtCore/QTime>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSlider>
#include <QtGui/QVBoxLayout>
AgendaView::AgendaView( QWidget *parent )
: QWidget( parent )
......
......@@ -21,7 +21,7 @@
#ifndef AGENDAVIEW_H
#define AGENDAVIEW_H
#include <QWidget>
#include <QtGui/QWidget>
class StripeView;
class QwtWheel;
......@@ -37,7 +37,7 @@ class AgendaView : public QWidget
void setDataProvider( DataProvider * );
protected slots:
protected Q_SLOTS:
void slotCoarseWheelValueChanged( double );
void slotFineWheelValueChanged( double );
......
......@@ -21,8 +21,8 @@
#ifndef CONTACT_H
#define CONTACT_H
#include <QList>
#include <QString>
#include <QtCore/QList>
#include <QtCore/QString>
struct Contact
{
......
......@@ -21,8 +21,8 @@
#include "contactmodel.h"
#include <QPainter>
#include <QPainterPath>
#include <QtGui/QPainter>
#include <QtGui/QPainterPath>
ContactModel::ContactModel()
{
......
......@@ -24,7 +24,7 @@
#include "stripeview.h"
#include "contact.h"
#include <QDate>
#include <QtCore/QDate>
class ContactModel : public StripeView::Model
{
......
......@@ -35,7 +35,7 @@
#include <kmessagebox.h>
#include <klocale.h>
#include <QDebug>
#include <QtCore/QDebug>
DataProvider::DataProvider()
: mAgendaModel( 0 ), mContactModel( 0 )
......
......@@ -23,7 +23,7 @@
#include "stripeview.h"
#include <QObject>
#include <QtCore/QObject>
class AgendaModel;
class ContactModel;
......
......@@ -21,7 +21,7 @@
#include "dummymodel.h"
#include <QPainter>
#include <QtGui/QPainter>
DummyModel::DummyModel()
{
......
......@@ -24,7 +24,7 @@
#include "stripeview.h"
#include "event.h"
#include <QDate>
#include <QtCore/QDate>
class DummyModel : public StripeView::Model
{
......
......@@ -21,8 +21,8 @@
#ifndef EVENT_H
#define EVENT_H
#include <QList>
#include <QString>
#include <QtCore/QList>
#include <QtCore/QString>
#include <kdatetime.h>
struct Event
......
......@@ -9,7 +9,7 @@
#include <qevent.h>
#include <qdatetime.h>
#include <QDebug>
#include <QtCore/QDebug>
#include "qwt_abstract_slider.h"
#include "qwt_math.h"
......
......@@ -69,14 +69,14 @@ class QwtAbstractSlider : public QWidget, public QwtDoubleRange
*/
void setValid(bool valid) { QwtDoubleRange::setValid(valid); }
public slots:
public Q_SLOTS:
virtual void setValue(double val);
virtual void fitValue(double val);
virtual void incValue(int steps);
virtual void setReadOnly(bool);
signals:
Q_SIGNALS:
/*!
\brief Notify a change of value.
......
......@@ -10,7 +10,7 @@
#include "qwt_double_range.h"
#include "qwt_math.h"
#include <QDebug>
#include <QtCore/QDebug>
static double MinRelStep = 1.0e-10;
static double DefaultRelStep = 1.0e-2;
......
......@@ -21,10 +21,10 @@
#include "stripeview.h"
#include <QPainter>
#include <QPainterPath>
#include <QDebug>
#include <QMouseEvent>
#include <QtCore/QDebug>
#include <QtGui/QMouseEvent>
#include <QtGui/QPainter>
#include <QtGui/QPainterPath>
#include <assert.h>
......
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