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 @@ -41,48 +41,50 @@ 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; } |