summaryrefslogtreecommitdiffstats
path: root/libkscan/scanparams.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/scanparams.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/scanparams.h')
-rw-r--r--libkscan/scanparams.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libkscan/scanparams.h b/libkscan/scanparams.h
index 7508cdb9..d3536e42 100644
--- a/libkscan/scanparams.h
+++ b/libkscan/scanparams.h
@@ -42,16 +42,17 @@ class TQPushButton;
class TQCheckBox;
class TQButtonGroup;
-typedef enum { ID_SANE_DEBUG, ID_QT_IMGIO, ID_SCAN } ScanMode;
+typedef enum { ID_SANE_DEBUG, ID_TQT_IMGIO, ID_SCAN } ScanMode;
-class ScanParams : public QVBox
+class ScanParams : public TQVBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- ScanParams( TQWidget *parent, const char *name = 0);
+ ScanParams( TQWidget *tqparent, const char *name = 0);
~ScanParams();
#if 0
- TQSize sizeHint( );
+ TQSize tqsizeHint( );
#endif
bool connectDevice( KScanDevice* );
@@ -60,7 +61,7 @@ public:
public slots:
/**
* In this slot, a custom scan window can be set, e.g. through a preview
- * image with a area selector. The QRect-param needs to contain values
+ * image with a area selector. The TQRect-param needs to contain values
* between 0 and 1000, which are interpreted as tenth of percent of the
* whole image dimensions.
**/