mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
Sync QDVI and KDVI header files as much as possible.
#include <config.h> in all .cpp files. svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=470366
This commit is contained in:
parent
8533a28e9b
commit
d175df8ace
|
@ -1,3 +1,4 @@
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include "glyph.h"
|
#include "glyph.h"
|
||||||
#include "TeXFont.h"
|
#include "TeXFont.h"
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
#ifndef _TEXFONT_H
|
#ifndef _TEXFONT_H
|
||||||
#define _TEXFONT_H
|
#define _TEXFONT_H
|
||||||
|
|
||||||
#include "TeXFontDefinition.h"
|
|
||||||
#include "glyph.h"
|
#include "glyph.h"
|
||||||
|
#include "TeXFontDefinition.h"
|
||||||
|
|
||||||
|
|
||||||
class TeXFont {
|
class TeXFont {
|
||||||
|
|
|
@ -15,12 +15,10 @@
|
||||||
#ifndef _FONT_H
|
#ifndef _FONT_H
|
||||||
#define _FONT_H
|
#define _FONT_H
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <Q3IntDict>
|
#include <Q3IntDict>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
|
|
||||||
class dviRenderer;
|
class dviRenderer;
|
||||||
class TeXFont;
|
class TeXFont;
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
|
|
||||||
// Add header files alphabetically
|
// Add header files alphabetically
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
#include <qimage.h>
|
#include <qimage.h>
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
// This file is compiled only if the FreeType library is present on
|
// This file is compiled only if the FreeType library is present on
|
||||||
// the system
|
// the system
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#ifdef HAVE_FREETYPE
|
|
||||||
|
|
||||||
#ifndef _TEXFONT_PFB_H
|
#ifndef _TEXFONT_PFB_H
|
||||||
#define _TEXFONT_PFB_H
|
#define _TEXFONT_PFB_H
|
||||||
|
|
||||||
|
@ -42,4 +39,3 @@ class TeXFont_PFB : public TeXFont {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif // HAVE_FREETYPE
|
|
||||||
|
|
|
@ -49,6 +49,8 @@
|
||||||
* and Luis Miguel Silveira, MIT RLE.
|
* and Luis Miguel Silveira, MIT RLE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
// Add header files alphabetically
|
// Add header files alphabetically
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
#include <qdatastream.h>
|
#include <qdatastream.h>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
// (C) 2003 Stefan Kebekus
|
// (C) 2003 Stefan Kebekus
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
* and Luis Miguel Silveira, MIT RLE.
|
* and Luis Miguel Silveira, MIT RLE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
#include <Q3IntDict>
|
#include <Q3IntDict>
|
||||||
#include <Q3MemArray>
|
#include <Q3MemArray>
|
||||||
#include <QIODevice>
|
#include <QIODevice>
|
||||||
|
#include <QMap>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <qmap.h>
|
|
||||||
|
|
||||||
class fontPool;
|
class fontPool;
|
||||||
class pageSize;
|
class pageSize;
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
|
|
||||||
#include "dviPageCache.h"
|
#include "dviPageCache.h"
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -51,6 +51,8 @@
|
||||||
|
|
||||||
//#define DEBUG_RENDER 0
|
//#define DEBUG_RENDER 0
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include "dviRenderer.h"
|
#include "dviRenderer.h"
|
||||||
#include "dvi.h"
|
#include "dvi.h"
|
||||||
#include "dviFile.h"
|
#include "dviFile.h"
|
||||||
|
@ -78,7 +80,6 @@
|
||||||
|
|
||||||
extern QPainter *foreGroundPainter;
|
extern QPainter *foreGroundPainter;
|
||||||
|
|
||||||
|
|
||||||
/** Routine to print characters. */
|
/** Routine to print characters. */
|
||||||
|
|
||||||
void dviRenderer::set_char(unsigned int cmd, unsigned int ch)
|
void dviRenderer::set_char(unsigned int cmd, unsigned int ch)
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
// of kdvi.
|
// of kdvi.
|
||||||
|
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kapplication.h>
|
#include <kapplication.h>
|
||||||
#include <kmessagebox.h>
|
#include <kmessagebox.h>
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
// (C) 2003--2004 Stefan Kebekus
|
// (C) 2003--2004 Stefan Kebekus
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include "dviRenderer.h"
|
#include "dviRenderer.h"
|
||||||
#include "dvi.h"
|
#include "dvi.h"
|
||||||
#include "dviFile.h"
|
#include "dviFile.h"
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
// Copyright: See COPYING file that comes with this distribution
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <qdir.h>
|
#include <qdir.h>
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,6 @@
|
||||||
// (C) 2003 Stefan Kebekus
|
// (C) 2003 Stefan Kebekus
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#ifdef HAVE_FREETYPE
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef _FONTENCODING_H
|
#ifndef _FONTENCODING_H
|
||||||
#define _FONTENCODING_H
|
#define _FONTENCODING_H
|
||||||
|
|
||||||
|
@ -88,4 +84,3 @@ class fontEncoding {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif // HAVE_FREETYPE
|
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
// (C) 2003 Stefan Kebekus
|
// (C) 2003 Stefan Kebekus
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#ifdef HAVE_FREETYPE
|
|
||||||
|
|
||||||
#ifndef _FONTENCODINGPOOL_H
|
#ifndef _FONTENCODINGPOOL_H
|
||||||
#define _FONTENCODINGPOOL_H
|
#define _FONTENCODINGPOOL_H
|
||||||
|
|
||||||
|
@ -30,4 +27,3 @@ class fontEncodingPool {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif // HAVE_FREETYPE
|
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
#ifndef _FONTMAP_H
|
#ifndef _FONTMAP_H
|
||||||
#define _FONTMAP_H
|
#define _FONTMAP_H
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#ifdef HAVE_FREETYPE
|
|
||||||
|
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
@ -118,5 +115,4 @@ class fontMap {
|
||||||
QMap<QString, fontMapEntry> fontMapEntries;
|
QMap<QString, fontMapEntry> fontMapEntries;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ifdef HAVE_FREETYPE
|
|
||||||
#endif // ifndef _FONTMAP_H
|
#endif // ifndef _FONTMAP_H
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
// (C) 2001-2004 Stefan Kebekus
|
// (C) 2001-2004 Stefan Kebekus
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <kinstance.h>
|
#include <kinstance.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
|
|
125
fontpool.h
125
fontpool.h
|
@ -7,8 +7,6 @@
|
||||||
#ifndef _FONTPOOL_H
|
#ifndef _FONTPOOL_H
|
||||||
#define _FONTPOOL_H
|
#define _FONTPOOL_H
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include "fontEncodingPool.h"
|
#include "fontEncodingPool.h"
|
||||||
#include "fontMap.h"
|
#include "fontMap.h"
|
||||||
#include "fontprogress.h"
|
#include "fontprogress.h"
|
||||||
|
@ -23,7 +21,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class KProcess;
|
class KProcess;
|
||||||
class KShellProcess;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -136,76 +133,76 @@ signals:
|
||||||
void setStatusBarText( const QString& );
|
void setStatusBarText( const QString& );
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
// Locates font files on the disk using the kpsewhich program. If
|
// Locates font files on the disk using the kpsewhich program. If
|
||||||
// 'locateTFMonly' is true, the method does not look for PFB- or
|
// 'locateTFMonly' is true, the method does not look for PFB- or
|
||||||
// PK-fonts. Instead, only TFM-files are searched. This option can be
|
// PK-fonts. Instead, only TFM-files are searched. This option can be
|
||||||
// used as a 'last resort': if a found cannot be found, one can at
|
// used as a 'last resort': if a found cannot be found, one can at
|
||||||
// least use the TFM file to draw filled rectangles for the
|
// least use the TFM file to draw filled rectangles for the
|
||||||
// characters. If not null, the bool pointed at by virtualFontsFound
|
// characters. If not null, the bool pointed at by virtualFontsFound
|
||||||
// is set to true if one of the fonts found is a virtual font. If no
|
// is set to true if one of the fonts found is a virtual font. If no
|
||||||
// virtual font is found, the variable remains untouched.
|
// virtual font is found, the variable remains untouched.
|
||||||
void locateFonts();
|
void locateFonts();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// This method goes through the list of fonts, and marks each of them
|
// This method goes through the list of fonts, and marks each of them
|
||||||
// as 'located'. Used, e.g. after a fatal error in the font lookup
|
// as 'located'. Used, e.g. after a fatal error in the font lookup
|
||||||
// process to ensure that the problematic kpsewhich is not used again
|
// process to ensure that the problematic kpsewhich is not used again
|
||||||
void markFontsAsLocated();
|
void markFontsAsLocated();
|
||||||
|
|
||||||
// Checks if all the fonts file names have been located, and returns
|
// Checks if all the fonts file names have been located, and returns
|
||||||
// true if that is so.
|
// true if that is so.
|
||||||
bool areFontsLocated();
|
bool areFontsLocated();
|
||||||
|
|
||||||
// This flag is used by PFB fonts to determine if the FREETYPE engine
|
// This flag is used by PFB fonts to determine if the FREETYPE engine
|
||||||
// should use hinted fonts or not
|
// should use hinted fonts or not
|
||||||
bool useFontHints;
|
bool useFontHints;
|
||||||
|
|
||||||
// Resolution of the output device.
|
// Resolution of the output device.
|
||||||
double displayResolution_in_dpi;
|
double displayResolution_in_dpi;
|
||||||
|
|
||||||
// Number of centimeters per DVI unit
|
// Number of centimeters per DVI unit
|
||||||
double CMperDVIunit;
|
double CMperDVIunit;
|
||||||
|
|
||||||
|
|
||||||
/** Members used for font location */
|
/** Members used for font location */
|
||||||
|
|
||||||
// Locates font files on the disk using the kpsewhich program. If
|
|
||||||
// 'locateTFMonly' is true, the method does not look for PFB- or
|
|
||||||
// PK-fonts. Instead, only TFM-files are searched. This option can be
|
|
||||||
// used as a 'last resort': if a found cannot be found, one can at
|
|
||||||
// least use the TFM file to draw filled rectangles for the
|
|
||||||
// characters. If not null, the bool pointed at by virtualFontsFound
|
|
||||||
// is set to true if one of the fonts found is a virtual font. If no
|
|
||||||
// virtual font is found, the variable remains untouched.
|
|
||||||
void locateFonts(bool makePK, bool locateTFMonly, bool *virtualFontsFound=0);
|
|
||||||
|
|
||||||
// This QString is used internally by the mf_output_receiver()
|
// Locates font files on the disk using the kpsewhich program. If
|
||||||
// method. This string is set to QString::null in locateFonts(bool,
|
// 'locateTFMonly' is true, the method does not look for PFB- or
|
||||||
// bool, bool *). Values are set and read by the
|
// PK-fonts. Instead, only TFM-files are searched. This option can be
|
||||||
// mf_output_receiver(...) method
|
// used as a 'last resort': if a found cannot be found, one can at
|
||||||
QString MetafontOutput;
|
// least use the TFM file to draw filled rectangles for the
|
||||||
|
// characters. If not null, the bool pointed at by virtualFontsFound
|
||||||
|
// is set to true if one of the fonts found is a virtual font. If no
|
||||||
|
// virtual font is found, the variable remains untouched.
|
||||||
|
void locateFonts(bool makePK, bool locateTFMonly, bool *virtualFontsFound=0);
|
||||||
|
|
||||||
|
// This QString is used internally by the mf_output_receiver()
|
||||||
|
// method. This string is set to QString::null in locateFonts(bool,
|
||||||
|
// bool, bool *). Values are set and read by the
|
||||||
|
// mf_output_receiver(...) method
|
||||||
|
QString MetafontOutput;
|
||||||
|
|
||||||
|
// This QString is used to collect the output of kpsewhich and
|
||||||
|
// MetaFont. The string is set to QString::null in the
|
||||||
|
// locateFonts()-method, and content is gathered by the
|
||||||
|
// mf_output_receiver(). This string is used by locateFonts() and
|
||||||
|
// locateFonts(bool, bool, bool *) to display error messages.
|
||||||
|
QString kpsewhichOutput;
|
||||||
|
|
||||||
|
// This string is set to the DVI file's path. It is used to set the
|
||||||
|
// current working directory for the kpsewhich command, so that
|
||||||
|
// kpsewhich will find fonts that are stored in the DVI file's
|
||||||
|
// directory. Used by the locateFonts() and the locateFonts(bool,
|
||||||
|
// bool, bool *) method. Values are set by the
|
||||||
|
// setExtraSearchPath(...) method
|
||||||
|
QString extraSearchPath;
|
||||||
|
|
||||||
|
// FontProgress; the progress dialog used when generating fonts.
|
||||||
|
fontProgressDialog progress;
|
||||||
|
|
||||||
// This QString is used to collect the output of kpsewhich and
|
|
||||||
// MetaFont. The string is set to QString::null in the
|
|
||||||
// locateFonts()-method, and content is gathered by the
|
|
||||||
// mf_output_receiver(). This string is used by locateFonts() and
|
|
||||||
// locateFonts(bool, bool, bool *) to display error messages.
|
|
||||||
QString kpsewhichOutput;
|
|
||||||
|
|
||||||
// This string is set to the DVI file's path. It is used to set the
|
|
||||||
// current working directory for the kpsewhich command, so that
|
|
||||||
// kpsewhich will find fonts that are stored in the DVI file's
|
|
||||||
// directory. Used by the locateFonts() and the locateFonts(bool,
|
|
||||||
// bool, bool *) method. Values are set by the
|
|
||||||
// setExtraSearchPath(...) method
|
|
||||||
QString extraSearchPath;
|
|
||||||
|
|
||||||
// FontProgress; the progress dialog used when generating fonts.
|
|
||||||
fontProgressDialog progress;
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
/** Members used for font location */
|
/** Members used for font location */
|
||||||
|
|
||||||
// For internal purposess only. This slot is called when MetaFont is
|
// For internal purposess only. This slot is called when MetaFont is
|
||||||
// run via the kpsewhich programm. The MetaFont output is
|
// run via the kpsewhich programm. The MetaFont output is
|
||||||
// transmitted to the fontpool via this slot. This method calles
|
// transmitted to the fontpool via this slot. This method calles
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
// (C) 2001--2004 Stefan Kebekus
|
// (C) 2001--2004 Stefan Kebekus
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include "fontprogress.h"
|
#include "fontprogress.h"
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
|
|
|
@ -40,11 +40,12 @@ public:
|
||||||
/** The number of steps already done is increased, the text received
|
/** The number of steps already done is increased, the text received
|
||||||
here is analyzed and presented to the user. */
|
here is analyzed and presented to the user. */
|
||||||
void increaseNumSteps(const QString& explanation);
|
void increaseNumSteps(const QString& explanation);
|
||||||
|
|
||||||
/** Used to initialize the progress bar. If the argument proc is
|
/** Used to initialize the progress bar. If the argument @c proc is
|
||||||
non-zero, the associated process will be killed when the "abort"
|
non-zero, the associated process will be killed when the "abort"
|
||||||
button is pressed. The FontProgress uses a QGuarderPtr
|
button is pressed. The pointer is stored internally inside a
|
||||||
internally, so it is save to delete the KProcIO anytime. */
|
QPointer, so it is safe to delete the real KProcIO instance
|
||||||
|
at any time. */
|
||||||
void setTotalSteps(int, KProcIO *proc=0);
|
void setTotalSteps(int, KProcIO *proc=0);
|
||||||
|
|
||||||
QLabel* TextLabel2;
|
QLabel* TextLabel2;
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
* written by Stefan Kebekus, originally based on code by Paul Vojta
|
* written by Stefan Kebekus, originally based on code by Paul Vojta
|
||||||
* and a large number of co-authors */
|
* and a large number of co-authors */
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
|
|
||||||
#include "glyph.h"
|
#include "glyph.h"
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
// (C) 2001-2003 Stefan Kebekus
|
// (C) 2001-2003 Stefan Kebekus
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <kio/global.h>
|
#include <kio/global.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
|
|
2
kdvi.h
2
kdvi.h
|
@ -1,5 +1,5 @@
|
||||||
// -*- C++ -*-
|
// -*- C++ -*-
|
||||||
// kdvi.h
|
// kdvi.h
|
||||||
//
|
//
|
||||||
// global variables and definitions for kdvi.
|
// global variables and definitions for kdvi.
|
||||||
//
|
//
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#ifndef KDVIMULTIPAGE_H
|
#ifndef KDVIMULTIPAGE_H
|
||||||
#define KDVIMULTIPAGE_H
|
#define KDVIMULTIPAGE_H
|
||||||
|
|
||||||
#include "kmultipage.h"
|
|
||||||
#include "dviRenderer.h"
|
#include "dviRenderer.h"
|
||||||
|
#include "kmultipage.h"
|
||||||
|
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
|
@ -94,5 +94,4 @@ private:
|
||||||
KAction *exportPSAction;
|
KAction *exportPSAction;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
// Please report bugs or improvements, etc. via the "Report bug"-Menu
|
// Please report bugs or improvements, etc. via the "Report bug"-Menu
|
||||||
// of kdvi.
|
// of kdvi.
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kaction.h>
|
#include <kaction.h>
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
// Add header files alphabetically
|
// Add header files alphabetically
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
|
|
||||||
#include <kcombobox.h>
|
#include <kcombobox.h>
|
||||||
|
|
1
psgs.cpp
1
psgs.cpp
|
@ -6,6 +6,7 @@
|
||||||
// (C) 2004 Stefan Kebekus
|
// (C) 2004 Stefan Kebekus
|
||||||
// Distributed under the GPL
|
// Distributed under the GPL
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
|
|
2
psgs.h
2
psgs.h
|
@ -10,10 +10,10 @@
|
||||||
#ifndef _PSGS_H_
|
#ifndef _PSGS_H_
|
||||||
#define _PSGS_H_
|
#define _PSGS_H_
|
||||||
|
|
||||||
|
#include <Q3IntDict>
|
||||||
#include <QColor>
|
#include <QColor>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <Q3IntDict>
|
|
||||||
|
|
||||||
class PageNumber;
|
class PageNumber;
|
||||||
class QPainter;
|
class QPainter;
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include "renderedDviPagePixmap.h"
|
#include "renderedDviPagePixmap.h"
|
||||||
#include "hyperlink.h"
|
#include "hyperlink.h"
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
// Copyright 2000--2004, Stefan Kebekus (kebekus@kde.org).
|
// Copyright 2000--2004, Stefan Kebekus (kebekus@kde.org).
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
|
|
2
util.cpp
2
util.cpp
|
@ -49,6 +49,8 @@
|
||||||
* and Luis Miguel Silveira, MIT RLE.
|
* and Luis Miguel Silveira, MIT RLE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <kmessagebox.h>
|
#include <kmessagebox.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
|
|
1
vf.cpp
1
vf.cpp
|
@ -23,6 +23,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
|
|
Loading…
Reference in a new issue