summaryrefslogtreecommitdiffstats
path: root/libkscan
diff options
context:
space:
mode:
Diffstat (limited to 'libkscan')
-rw-r--r--libkscan/devselector.h2
-rw-r--r--libkscan/dispgamma.h2
-rw-r--r--libkscan/gammadialog.h2
-rw-r--r--libkscan/img_canvas.h2
-rw-r--r--libkscan/imgscaledialog.h2
-rw-r--r--libkscan/kgammatable.h2
-rw-r--r--libkscan/kscandevice.h2
-rw-r--r--libkscan/kscanoption.h2
-rw-r--r--libkscan/kscanslider.h6
-rw-r--r--libkscan/massscandialog.h2
-rw-r--r--libkscan/previewer.h2
-rw-r--r--libkscan/scandialog.h2
-rw-r--r--libkscan/scanparams.h2
-rw-r--r--libkscan/scansourcedialog.h2
-rw-r--r--libkscan/sizeindicator.h2
15 files changed, 17 insertions, 17 deletions
diff --git a/libkscan/devselector.h b/libkscan/devselector.h
index de478285..0389cd67 100644
--- a/libkscan/devselector.h
+++ b/libkscan/devselector.h
@@ -54,7 +54,7 @@ class TQCheckBox;
class DeviceSelector: public KDialogBase
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* constructs the dialog class
diff --git a/libkscan/dispgamma.h b/libkscan/dispgamma.h
index 5d6bd790..e3073697 100644
--- a/libkscan/dispgamma.h
+++ b/libkscan/dispgamma.h
@@ -35,7 +35,7 @@ extern "C"{
class DispGamma : public TQWidget {
Q_OBJECT
- TQ_OBJECT
+
public:
DispGamma( TQWidget *parent );
~DispGamma();
diff --git a/libkscan/gammadialog.h b/libkscan/gammadialog.h
index 619e103b..1d3926d7 100644
--- a/libkscan/gammadialog.h
+++ b/libkscan/gammadialog.h
@@ -41,7 +41,7 @@ class KGammaTable;
class GammaDialog : public KDialogBase
{
Q_OBJECT
- TQ_OBJECT
+
// FIXME: Doesn't compile with TQt 3 (malte)
// TQ_PROPERTY( KGammaTable *gt READ getGt WRITE setGt )
diff --git a/libkscan/img_canvas.h b/libkscan/img_canvas.h
index b1d87c76..b87e9bad 100644
--- a/libkscan/img_canvas.h
+++ b/libkscan/img_canvas.h
@@ -74,7 +74,7 @@ extern int max_dpi;
class ImageCanvas: public TQScrollView
{
Q_OBJECT
- TQ_OBJECT
+
Q_ENUMS( PopupIDs )
TQ_PROPERTY( int brightness READ getBrightness WRITE setBrightness )
TQ_PROPERTY( int contrast READ getContrast WRITE setContrast )
diff --git a/libkscan/imgscaledialog.h b/libkscan/imgscaledialog.h
index b6a947ed..8bf76c05 100644
--- a/libkscan/imgscaledialog.h
+++ b/libkscan/imgscaledialog.h
@@ -32,7 +32,7 @@
class ImgScaleDialog : public KDialogBase
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY( int selected READ getSelected WRITE setSelValue )
public:
diff --git a/libkscan/kgammatable.h b/libkscan/kgammatable.h
index 7d949d45..3dd503cc 100644
--- a/libkscan/kgammatable.h
+++ b/libkscan/kgammatable.h
@@ -30,7 +30,7 @@ extern "C" {
class KGammaTable: public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY( int g READ getGamma WRITE setGamma )
TQ_PROPERTY( int c READ getContrast WRITE setContrast )
diff --git a/libkscan/kscandevice.h b/libkscan/kscandevice.h
index e5dd5100..38a6bbca 100644
--- a/libkscan/kscandevice.h
+++ b/libkscan/kscandevice.h
@@ -64,7 +64,7 @@ typedef enum {
class KScanDevice : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
/* Hmmm - No TQ_PROPS ? */
public:
diff --git a/libkscan/kscanoption.h b/libkscan/kscanoption.h
index 5a4e4271..d4139c52 100644
--- a/libkscan/kscanoption.h
+++ b/libkscan/kscanoption.h
@@ -60,7 +60,7 @@ class KGammaTable;
class KScanOption : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
diff --git a/libkscan/kscanslider.h b/libkscan/kscanslider.h
index b7d9a27e..0ecf73af 100644
--- a/libkscan/kscanslider.h
+++ b/libkscan/kscanslider.h
@@ -45,7 +45,7 @@ class TQLabel;
class KScanSlider : public TQFrame
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY( int slider_val READ value WRITE slSetSlider )
public:
@@ -118,7 +118,7 @@ private:
class KScanEntry : public TQFrame
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY( TQString text READ text WRITE slSetEntry )
public:
@@ -172,7 +172,7 @@ private:
class KScanCombo : public TQHBox
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY( TQString cbEntry READ currentText WRITE slSetEntry )
public:
diff --git a/libkscan/massscandialog.h b/libkscan/massscandialog.h
index 479913a8..d17ce7fd 100644
--- a/libkscan/massscandialog.h
+++ b/libkscan/massscandialog.h
@@ -33,7 +33,7 @@ class TQLabel;
class MassScanDialog : public TQDialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
MassScanDialog( TQWidget *parent);
~MassScanDialog();
diff --git a/libkscan/previewer.h b/libkscan/previewer.h
index 7492604b..c1891b7e 100644
--- a/libkscan/previewer.h
+++ b/libkscan/previewer.h
@@ -43,7 +43,7 @@ class TQHBoxLayout;
class Previewer : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
Previewer(TQWidget *parent=0, const char *name=0);
~Previewer();
diff --git a/libkscan/scandialog.h b/libkscan/scandialog.h
index 1069e816..5457f857 100644
--- a/libkscan/scandialog.h
+++ b/libkscan/scandialog.h
@@ -32,7 +32,7 @@ class TQSplitter;
class ScanDialog : public KScanDialog
{
Q_OBJECT
- TQ_OBJECT
+
public:
ScanDialog( TQWidget *parent=0, const char *name=0, bool modal=false );
diff --git a/libkscan/scanparams.h b/libkscan/scanparams.h
index de69b0c9..4269cdcc 100644
--- a/libkscan/scanparams.h
+++ b/libkscan/scanparams.h
@@ -47,7 +47,7 @@ typedef enum { ID_SANE_DEBUG, ID_TQT_IMGIO, ID_SCAN } ScanMode;
class ScanParams : public TQVBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
ScanParams( TQWidget *parent, const char *name = 0);
~ScanParams();
diff --git a/libkscan/scansourcedialog.h b/libkscan/scansourcedialog.h
index dbf2cc74..35cc3d5e 100644
--- a/libkscan/scansourcedialog.h
+++ b/libkscan/scansourcedialog.h
@@ -37,7 +37,7 @@ class TQButtonGroup;
class ScanSourceDialog : public KDialogBase
{
Q_OBJECT
- TQ_OBJECT
+
public:
ScanSourceDialog( TQWidget *parent, const TQStrList, ADF_BEHAVE );
~ScanSourceDialog();
diff --git a/libkscan/sizeindicator.h b/libkscan/sizeindicator.h
index 52f2e8b1..df940b03 100644
--- a/libkscan/sizeindicator.h
+++ b/libkscan/sizeindicator.h
@@ -40,7 +40,7 @@ class TQPainter;
class SizeIndicator: public TQLabel
{
Q_OBJECT
- TQ_OBJECT
+
// TQ_PROPERTY( KGammaTable *gt READ getGt WRITE setGt )
public: