diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kaddressbook/printing/kabentrypainter.h | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/printing/kabentrypainter.h')
-rw-r--r-- | kaddressbook/printing/kabentrypainter.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kaddressbook/printing/kabentrypainter.h b/kaddressbook/printing/kabentrypainter.h index 57ce69d88..6936128fb 100644 --- a/kaddressbook/printing/kabentrypainter.h +++ b/kaddressbook/printing/kabentrypainter.h @@ -17,8 +17,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef KABENTRYPAINTER_H @@ -31,7 +31,7 @@ #include <tqrect.h> #include <tqvaluelist.h> -typedef TQValueList<TQRect> QRectList; +typedef TQValueList<TQRect> TQRectList; class KABEntryPainter { @@ -62,9 +62,9 @@ class KABEntryPainter TQPainter *p, int top = 0, bool fake = false, TQRect *rect = 0 ); - void setForegroundColor( const TQColor &color = Qt::black ); - void setBackgroundColor( const TQColor &color = Qt::black ); - void setHeaderColor( const TQColor &color = Qt::white ); + void setForegroundColor( const TQColor &color = TQt::black ); + void setBackgroundColor( const TQColor &color = TQt::black ); + void setHeaderColor( const TQColor &color = TQt::white ); void setHeaderFont( const TQFont &font = TQFont( "Helvetica", 12, TQFont::Normal, true ) ); void setHeadLineFont( const TQFont &font = TQFont( "Helvetica", 12, TQFont::Normal, true ) ); @@ -106,7 +106,7 @@ class KABEntryPainter int hitsURL( const TQPoint &p ); private: - int hits( const QRectList& rects, const TQPoint &p ); + int hits( const TQRectList& rects, const TQPoint &p ); TQColor mForegroundColor; TQColor mBackgroundColor; @@ -124,10 +124,10 @@ class KABEntryPainter bool mShowPhones; bool mShowURLs; - QRectList mEmailRects; - QRectList mPhoneRects; - QRectList mURLRects; - QRectList mTalkRects; + TQRectList mEmailRects; + TQRectList mPhoneRects; + TQRectList mURLRects; + TQRectList mTalkRects; }; #endif |