diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 00:55:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 00:55:34 +0000 |
commit | c4189d200e71c7ef82e9a6e34935ad225154d658 (patch) | |
tree | f7f29a1159e0402472ff2ab22617a8113f66263c /kbarcode/tbarcode2.h | |
parent | 2f888b1578e65ec1bc514996eb509fcaf34462d6 (diff) | |
download | kbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.tar.gz kbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.zip |
TQt4 port kbarcode
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbarcode@1233956 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbarcode/tbarcode2.h')
-rw-r--r-- | kbarcode/tbarcode2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kbarcode/tbarcode2.h b/kbarcode/tbarcode2.h index 30b70d9..fdd55d8 100644 --- a/kbarcode/tbarcode2.h +++ b/kbarcode/tbarcode2.h @@ -20,7 +20,7 @@ #include "pixmapbarcode.h" -class QDomElement; +class TQDomElement; /** A small class which contains all the options * which can be configured for tbarcode @@ -32,8 +32,8 @@ class TBarcodeOptions : public BarkodeEngineOptions { const TBarcodeOptions& operator=( const BarkodeEngineOptions& rhs ); void defaults(); - void load( const QDomElement* tag ); - void save( QDomElement* tag ); + void load( const TQDomElement* tag ); + void save( TQDomElement* tag ); inline bool escape() const { return m_escape; } inline bool above() const { return m_above; } @@ -70,7 +70,7 @@ class TBarcode2 : public PixmapBarcode { private: virtual bool createPostscript( char** postscript, long* postscript_size ); - virtual QRect bbox( const char* postscript, long postscript_size ); + virtual TQRect bbox( const char* postscript, long postscript_size ); private: TBarcodeOptions m_options; |