diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kword/KWPictureFrameSet.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kword/KWPictureFrameSet.h')
-rw-r--r-- | kword/KWPictureFrameSet.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kword/KWPictureFrameSet.h b/kword/KWPictureFrameSet.h index e5bd58e1..ef59aee9 100644 --- a/kword/KWPictureFrameSet.h +++ b/kword/KWPictureFrameSet.h @@ -27,9 +27,9 @@ class KWPictureFrameSet : public KWFrameSet { public: - KWPictureFrameSet( KWDocument *_doc, const QString & name ); + KWPictureFrameSet( KWDocument *_doc, const TQString & name ); /// Used for OASIS loading - KWPictureFrameSet( KWDocument* doc, const QDomElement& frame, const QDomElement& imageTag, KoOasisContext& context ); + KWPictureFrameSet( KWDocument* doc, const TQDomElement& frame, const TQDomElement& imageTag, KoOasisContext& context ); virtual ~KWPictureFrameSet(); virtual KWordFrameSetIface* dcopObject(); @@ -45,7 +45,7 @@ public: KoPictureKey key() const { return m_picture.getKey(); } - void loadPicture( const QString &fileName ); + void loadPicture( const TQString &fileName ); void insertPicture( const KoPicture& picture ); /** @@ -54,16 +54,16 @@ public: */ void reloadPicture( const KoPictureKey& key ); - virtual QDomElement save( QDomElement &parentElem, bool saveFrames = true ); - virtual void load( QDomElement &attributes, bool loadFrames = true ); + virtual TQDomElement save( TQDomElement &tqparentElem, bool saveFrames = true ); + virtual void load( TQDomElement &attributes, bool loadFrames = true ); virtual void saveOasis( KoXmlWriter& writer, KoSavingContext& context, bool saveFrames ) const; - virtual void drawFrameContents( KWFrame * frame, QPainter *painter, const QRect & crect, - const QColorGroup &cg, bool onlyChanged, bool resetChanged, + virtual void drawFrameContents( KWFrame * frame, TQPainter *painter, const TQRect & crect, + const TQColorGroup &cg, bool onlyChanged, bool resetChanged, KWFrameSetEdit * edit, KWViewMode *viewMode ); /// Pixmaps can be transparent - virtual void createEmptyRegion( const QRect &, QRegion &, KWViewMode * ) { } + virtual void createEmptyRegion( const TQRect &, TQRegion &, KWViewMode * ) { } #ifndef NDEBUG virtual void printDebug( KWFrame* frame ); @@ -84,7 +84,7 @@ public: virtual bool protectContent() const { return false; } protected: - void loadOasis( const QDomElement& frame, const QDomElement& imageTag, KoOasisContext& context ); + void loadOasis( const TQDomElement& frame, const TQDomElement& imageTag, KoOasisContext& context ); /// The picture KoPicture m_picture; |