Commit 7f9eec9e authored by Albert Astals Cid's avatar Albert Astals Cid

2007-04-28 Albert Astals Cid <aacid@kde.org>

        * qt4/*: Stop requyring users to declare UNSTABLE_POPPLER_QT4
parent 45993a6f
2007-04-28 Albert Astals Cid <aacid@kde.org>
* qt4/*: Stop requyring users to declare UNSTABLE_POPPLER_QT4
2007-04-28 Carlos Garcia Campos <carlosgc@gnome.org>
reviewed and some code by: Albert Astals Cid <aacid@kde.org>
......
......@@ -986,7 +986,7 @@ INCLUDE_FILE_PATTERNS =
# undefined via #undef or recursively expanded use the := operator
# instead of the = operator.
PREDEFINED = UNSTABLE_POPPLER_QT4
PREDEFINED =
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.
......
......@@ -30,10 +30,9 @@ URL</a>.
@section req How to use the Poppler Qt4 interface library in three easy steps
Programmer who would like to use the Poppler Qt4 interface library
simply need to add the following two lines to their C++ source files:
simply need to add the following line to their C++ source files:
@code
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
@endcode
......
......@@ -17,8 +17,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#define UNSTABLE_POPPLER_QT4
#include "poppler-qt4.h"
#include <config.h>
......
......@@ -17,8 +17,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#define UNSTABLE_POPPLER_QT4
#include <QtCore/QString>
#include <QtCore/QDateTime>
......
......@@ -17,8 +17,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#define UNSTABLE_POPPLER_QT4
#include "poppler-qt4.h"
#include "poppler-private.h"
......
......@@ -16,7 +16,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
#include <QtCore/QSizeF>
#include <Form.h>
......
......@@ -18,8 +18,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
#include <poppler-private.h>
......
......@@ -16,7 +16,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
#include <QtCore/QFile>
#include <QtCore/QMap>
......
......@@ -20,8 +20,6 @@
#ifndef __POPPLER_QT_H__
#define __POPPLER_QT_H__
#ifdef UNSTABLE_POPPLER_QT4
#include <QtCore/QByteArray>
#include <QtCore/QDateTime>
#include <QtCore/QSet>
......@@ -864,6 +862,5 @@ height = dummy.height();
};
}
#endif
#endif
......@@ -16,8 +16,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#define UNSTABLE_POPPLER_QT4
#include "Object.h"
#include "Stream.h"
#include "Sound.h"
......
......@@ -16,8 +16,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#define UNSTABLE_POPPLER_QT4
#include "poppler-qt4.h"
#include "poppler-private.h"
......
#include <QtTest/QtTest>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
#include <QtCore/QFile>
......
......@@ -3,7 +3,6 @@
Q_DECLARE_METATYPE(QDate)
Q_DECLARE_METATYPE(QTime)
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
class TestDateConv: public QObject
......
#include <QtTest/QtTest>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
class TestFontsData: public QObject
......
#include <QtTest/QtTest>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
class TestMetaData: public QObject
......
#include <QtTest/QtTest>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
class TestPageLayout: public QObject
......
#include <QtTest/QtTest>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
class TestPageMode: public QObject
......
#include <QtTest/QtTest>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
class TestPermissions: public QObject
......
#include <QtCore/QtCore>
#include <iostream>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
int main( int argc, char **argv )
......
#include <QtCore/QtCore>
#include <iostream>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
int main( int argc, char **argv )
......
......@@ -3,7 +3,6 @@
#include <QtGui/QtGui>
#include <ctype.h>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
int main( int argc, char **argv )
......
......@@ -3,7 +3,6 @@
#include <QtGui/QtGui>
#include <ctype.h>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
class PDFDisplay : public QWidget // picture display widget
......
......@@ -3,7 +3,6 @@
#include <QtGui/QtGui>
#include <ctype.h>
#define UNSTABLE_POPPLER_QT4
#include <poppler-qt4.h>
class PDFDisplay : public QWidget // picture display widget
......
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