diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpdf/core/page.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpdf/core/page.h')
-rw-r--r-- | kpdf/core/page.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kpdf/core/page.h b/kpdf/core/page.h index 4a8be71d..2de7aceb 100644 --- a/kpdf/core/page.h +++ b/kpdf/core/page.h @@ -10,11 +10,11 @@ #ifndef _KPDF_PAGE_H_ #define _KPDF_PAGE_H_ -#include <qmap.h> -#include <qvaluelist.h> +#include <tqmap.h> +#include <tqvaluelist.h> -class QPixmap; -class QRect; +class TQPixmap; +class TQRect; class TextPage; class KPDFPageTransition; class HighlightRect; @@ -30,13 +30,13 @@ class NormalizedRect NormalizedRect(); NormalizedRect( double l, double t, double r, double b ); - NormalizedRect( const QRect & r, double xScale, double yScale ); + NormalizedRect( const TQRect & r, double xScale, double yScale ); bool contains( double x, double y ) const; bool intersects( const NormalizedRect & normRect ) const; bool intersects( double l, double t, double r, double b ) const; - QRect geometry( int xScale, int yScale ) const; + TQRect geometry( int xScale, int yScale ) const; }; /** @@ -102,18 +102,18 @@ class KPDFPage //bool hasAnnotation( double x, double y ) const; bool hasTransition() const; - NormalizedRect * findText( const QString & text, bool keepCase, NormalizedRect * last = 0 ) const; - const QString getText( const NormalizedRect & rect ) const; + NormalizedRect * findText( const TQString & text, bool keepCase, NormalizedRect * last = 0 ) const; + const TQString getText( const NormalizedRect & rect ) const; const ObjectRect * hasObject( ObjectRect::ObjectType type, double x, double y ) const; //const Annotation * getAnnotation( double x, double y ) const; const KPDFPageTransition * getTransition() const; // operations: set/delete contents (by KPDFDocument) - void setPixmap( int p_id, QPixmap * pixmap ); + void setPixmap( int p_id, TQPixmap * pixmap ); void setSearchPage( TextPage * text ); void setBookmark( bool state ); - void setObjectRects( const QValueList< ObjectRect * > rects ); - void setHighlight( int s_id, NormalizedRect * &r, const QColor & color ); + void setObjectRects( const TQValueList< ObjectRect * > rects ); + void setHighlight( int s_id, NormalizedRect * &r, const TQColor & color ); //void setAnnotation( Annotation * annotation ); void setTransition( KPDFPageTransition * transition ); void deletePixmap( int p_id ); @@ -129,11 +129,11 @@ class KPDFPage float m_width, m_height; bool m_bookmarked; - QMap< int, QPixmap * > m_pixmaps; + TQMap< int, TQPixmap * > m_pixmaps; TextPage * m_text; - QValueList< ObjectRect * > m_rects; - QValueList< HighlightRect * > m_highlights; - //QValueList< Annotation * > m_annotations; + TQValueList< ObjectRect * > m_rects; + TQValueList< HighlightRect * > m_highlights; + //TQValueList< Annotation * > m_annotations; KPDFPageTransition * m_transition; }; @@ -146,7 +146,7 @@ struct HighlightRect : public NormalizedRect // searchID of the highlight owner int s_id; // color of the highlight - QColor color; + TQColor color; }; #endif |