author | sandman <sandman> | 2002-10-09 22:58:37 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-09 22:58:37 (UTC) |
commit | ecd41d0df770747bb07de5fa3e920adb164affbe (patch) (side-by-side diff) | |
tree | 59ec0ac01cd6b390f6b5283a4c5ff5e069dea11c | |
parent | f7acce44a9944c2267d861162d7d85b306321791 (diff) | |
download | opie-ecd41d0df770747bb07de5fa3e920adb164affbe.zip opie-ecd41d0df770747bb07de5fa3e920adb164affbe.tar.gz opie-ecd41d0df770747bb07de5fa3e920adb164affbe.tar.bz2 |
Forgot a Q_OBJECT macro .. this produced many runtime QObject warnings
-rw-r--r-- | noncore/unsupported/qpdf/QOutputDev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/unsupported/qpdf/QOutputDev.h b/noncore/unsupported/qpdf/QOutputDev.h index f3c5a01..874fd06 100644 --- a/noncore/unsupported/qpdf/QOutputDev.h +++ b/noncore/unsupported/qpdf/QOutputDev.h @@ -17,96 +17,98 @@ #include "aconf.h" #include <stddef.h> #include <qscrollview.h> class Object; #include "config.h" #include "CharTypes.h" #include "GlobalParams.h" #include "OutputDev.h" class GString; class GList; struct GfxRGB; class GfxFont; class GfxSubpath; class TextPage; class XOutputFontCache; class Link; class Catalog; class DisplayFontParam; class UnicodeMap; class CharCodeToUnicode; class QPainter; class QPixmap; class QPointArray; typedef fouble fp_t; //------------------------------------------------------------------------ // Constants //------------------------------------------------------------------------ //------------------------------------------------------------------------ // Misc types //------------------------------------------------------------------------ //------------------------------------------------------------------------ // XOutputDev //------------------------------------------------------------------------ class QOutputDev : public QScrollView, public OutputDev { + Q_OBJECT + public: // Constructor. QOutputDev( QWidget *parent = 0, const char *name = 0, int flags = 0 ); // Destructor. virtual ~QOutputDev(); //---- get info about output device // Does this device use upside-down coordinates? // (Upside-down means (0,0) is the top left corner of the page.) virtual GBool upsideDown() { return gTrue; } // Does this device use drawChar() or drawString()? virtual GBool useDrawChar() { return gTrue; } // Does this device use beginType3Char/endType3Char? Otherwise, // text in Type 3 fonts will be drawn with drawChar/drawString. virtual GBool interpretType3Chars() { return gFalse; } // Does this device need non-text content? virtual GBool needNonText() { return gFalse; } //----- initialization and control // Start a page. virtual void startPage(int pageNum, GfxState *state); // End a page. virtual void endPage(); //----- link borders virtual void drawLink(Link *link, Catalog *catalog); //----- save/restore graphics state virtual void saveState(GfxState *state); virtual void restoreState(GfxState *state); //----- update graphics state virtual void updateAll(GfxState *state); virtual void updateCTM(GfxState *state, fp_t m11, fp_t m12, fp_t m21, fp_t m22, fp_t m31, fp_t m32); virtual void updateLineDash(GfxState *state); virtual void updateFlatness(GfxState *state); virtual void updateLineJoin(GfxState *state); virtual void updateLineCap(GfxState *state); virtual void updateMiterLimit(GfxState *state); |