summaryrefslogtreecommitdiffstats
path: root/libkscan/kscanoption.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /libkscan/kscanoption.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkscan/kscanoption.h')
-rw-r--r--libkscan/kscanoption.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/libkscan/kscanoption.h b/libkscan/kscanoption.h
index fc1e8a0a..d26ddd10 100644
--- a/libkscan/kscanoption.h
+++ b/libkscan/kscanoption.h
@@ -57,9 +57,10 @@ class KGammaTable;
**/
-class KScanOption : public QObject
+class KScanOption : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -148,9 +149,9 @@ public:
*
**/
- TQWidget *createWidget( TQWidget *parent,
- const TQString& w_desc = TQString::null,
- const TQString& tooltip = TQString::null );
+ TQWidget *createWidget( TQWidget *tqparent,
+ const TQString& w_desc = TQString(),
+ const TQString& tooltip = TQString() );
/* Operators */
const KScanOption& operator= (const KScanOption& so );
@@ -237,9 +238,9 @@ private:
bool initOption( const TQCString& new_name );
void *allocBuffer( long );
- TQWidget *entryField ( TQWidget *parent, const TQString& text );
- TQWidget *KSaneSlider( TQWidget *parent, const TQString& text );
- TQWidget *comboBox ( TQWidget *parent, const TQString& text );
+ TQWidget *entryField ( TQWidget *tqparent, const TQString& text );
+ TQWidget *KSaneSlider( TQWidget *tqparent, const TQString& text );
+ TQWidget *comboBox ( TQWidget *tqparent, const TQString& text );
const SANE_Option_Descriptor *desc;
TQCString name;