summaryrefslogtreecommitdiffstats
path: root/scheck/scheck.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /scheck/scheck.h
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'scheck/scheck.h')
-rw-r--r--scheck/scheck.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/scheck/scheck.h b/scheck/scheck.h
index 60f5a0ca..7f4e341f 100644
--- a/scheck/scheck.h
+++ b/scheck/scheck.h
@@ -15,7 +15,7 @@
* (C) 2000 Dirk Mueller <mueller@kde.org>
* (C) 2001 Martijn Klingens <klingens@kde.org>
*
- * Portions of code are from the Qt GUI Toolkit, Copyright (C) 1992-2000 Trolltech AS.
+ * Portions of code are from the TQt GUI Toolkit, Copyright (C) 1992-2000 Trolltech AS.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
@@ -51,9 +51,10 @@
class TQPopupMenu;
-class StyleCheckTitleWatcher: public QObject
+class StyleCheckTitleWatcher: public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
StyleCheckTitleWatcher();
@@ -69,6 +70,7 @@ class StyleCheckTitleWatcher: public QObject
class StyleCheckStyle : public KStyle
{
Q_OBJECT
+ TQ_OBJECT
public:
StyleCheckStyle( );
@@ -93,7 +95,7 @@ class StyleCheckStyle : public KStyle
SFlags flags = Style_Default,
const TQStyleOption& = TQStyleOption::Default ) const;
- void drawControl( ControlElement element,
+ void tqdrawControl( ControlElement element,
TQPainter *p,
const TQWidget *widget,
const TQRect &r,
@@ -101,13 +103,13 @@ class StyleCheckStyle : public KStyle
SFlags flags = Style_Default,
const TQStyleOption& = TQStyleOption::Default ) const;
- void drawControlMask( ControlElement element,
+ void tqdrawControlMask( ControlElement element,
TQPainter *p,
const TQWidget *widget,
const TQRect &r,
const TQStyleOption& = TQStyleOption::Default ) const;
- void drawComplexControl( ComplexControl control,
+ void tqdrawComplexControl( ComplexControl control,
TQPainter *p,
const TQWidget *widget,
const TQRect &r,
@@ -117,13 +119,13 @@ class StyleCheckStyle : public KStyle
SCFlags active = SC_None,
const TQStyleOption& = TQStyleOption::Default ) const;
- void drawComplexControlMask( ComplexControl control,
+ void tqdrawComplexControlMask( ComplexControl control,
TQPainter *p,
const TQWidget *widget,
const TQRect &r,
const TQStyleOption& = TQStyleOption::Default ) const;
- int pixelMetric( PixelMetric m,
+ int tqpixelMetric( PixelMetric m,
const TQWidget *widget = 0 ) const;
TQSize sizeFromContents( ContentsType contents,
@@ -134,7 +136,7 @@ class StyleCheckStyle : public KStyle
TQRect subRect( SubRect r,
const TQWidget *widget ) const;
- // Fix Qt3's wacky image positions
+ // Fix TQt3's wacky image positions
TQPixmap stylePixmap( StylePixmap stylepixmap,
const TQWidget *widget = 0,
const TQStyleOption& = TQStyleOption::Default ) const;
@@ -168,6 +170,6 @@ class StyleCheckStyle : public KStyle
};
// vim: set noet ts=4 sw=4:
-// kate: indent-width 4; replace-tabs off; tab-width 4; space-indent off;
+// kate: indent-width 4; tqreplace-tabs off; tab-width 4; space-indent off;
#endif