summaryrefslogtreecommitdiffstats
path: root/kaddressbook/printing/kabentrypainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/printing/kabentrypainter.h')
-rw-r--r--kaddressbook/printing/kabentrypainter.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kaddressbook/printing/kabentrypainter.h b/kaddressbook/printing/kabentrypainter.h
index 57ce69d8..6936128f 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