From 6deca45c2f1d5932c91db6fb45c70c94faf768f9 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 15:06:30 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro (cherry picked from commit fce92533f86b9952f0c9cac6ca97f89c0fe6c39c) --- libkscan/devselector.h | 2 +- libkscan/dispgamma.h | 2 +- libkscan/gammadialog.h | 2 +- libkscan/img_canvas.h | 2 +- libkscan/imgscaledialog.h | 2 +- libkscan/kgammatable.h | 2 +- libkscan/kscandevice.h | 2 +- libkscan/kscanoption.h | 2 +- libkscan/kscanslider.h | 6 +++--- libkscan/massscandialog.h | 2 +- libkscan/previewer.h | 2 +- libkscan/scandialog.h | 2 +- libkscan/scanparams.h | 2 +- libkscan/scansourcedialog.h | 2 +- libkscan/sizeindicator.h | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) (limited to 'libkscan') diff --git a/libkscan/devselector.h b/libkscan/devselector.h index 0389cd67..98a0fce9 100644 --- a/libkscan/devselector.h +++ b/libkscan/devselector.h @@ -53,7 +53,7 @@ class TQCheckBox; class DeviceSelector: public KDialogBase { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/libkscan/dispgamma.h b/libkscan/dispgamma.h index e3073697..6f6ca917 100644 --- a/libkscan/dispgamma.h +++ b/libkscan/dispgamma.h @@ -34,7 +34,7 @@ extern "C"{ */ class DispGamma : public TQWidget { - Q_OBJECT + TQ_OBJECT public: DispGamma( TQWidget *parent ); diff --git a/libkscan/gammadialog.h b/libkscan/gammadialog.h index 1d3926d7..a4e6d01c 100644 --- a/libkscan/gammadialog.h +++ b/libkscan/gammadialog.h @@ -40,7 +40,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 86d3ba46..346c1ebf 100644 --- a/libkscan/img_canvas.h +++ b/libkscan/img_canvas.h @@ -73,7 +73,7 @@ extern int max_dpi; class ImageCanvas: public TQScrollView { - Q_OBJECT + TQ_OBJECT TQ_ENUMS( PopupIDs ) TQ_PROPERTY( int brightness READ getBrightness WRITE setBrightness ) diff --git a/libkscan/imgscaledialog.h b/libkscan/imgscaledialog.h index 8bf76c05..142aab2d 100644 --- a/libkscan/imgscaledialog.h +++ b/libkscan/imgscaledialog.h @@ -31,7 +31,7 @@ */ class ImgScaleDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( int selected READ getSelected WRITE setSelValue ) diff --git a/libkscan/kgammatable.h b/libkscan/kgammatable.h index 3dd503cc..9166ddb7 100644 --- a/libkscan/kgammatable.h +++ b/libkscan/kgammatable.h @@ -29,7 +29,7 @@ extern "C" { class KGammaTable: public TQObject { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( int g READ getGamma WRITE setGamma ) diff --git a/libkscan/kscandevice.h b/libkscan/kscandevice.h index bd2610e7..e3c29606 100644 --- a/libkscan/kscandevice.h +++ b/libkscan/kscandevice.h @@ -63,7 +63,7 @@ typedef enum { class KScanDevice : public TQObject { - Q_OBJECT + TQ_OBJECT /* Hmmm - No TQ_PROPS ? */ diff --git a/libkscan/kscanoption.h b/libkscan/kscanoption.h index d4139c52..6722f2cb 100644 --- a/libkscan/kscanoption.h +++ b/libkscan/kscanoption.h @@ -59,7 +59,7 @@ class KGammaTable; class KScanOption : public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/libkscan/kscanslider.h b/libkscan/kscanslider.h index 0ecf73af..a1d8be1a 100644 --- a/libkscan/kscanslider.h +++ b/libkscan/kscanslider.h @@ -44,7 +44,7 @@ class TQLabel; */ class KScanSlider : public TQFrame { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( int slider_val READ value WRITE slSetSlider ) @@ -117,7 +117,7 @@ private: */ class KScanEntry : public TQFrame { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQString text READ text WRITE slSetEntry ) @@ -171,7 +171,7 @@ private: */ class KScanCombo : public TQHBox { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQString cbEntry READ currentText WRITE slSetEntry ) diff --git a/libkscan/massscandialog.h b/libkscan/massscandialog.h index d17ce7fd..f7b65c09 100644 --- a/libkscan/massscandialog.h +++ b/libkscan/massscandialog.h @@ -32,7 +32,7 @@ class TQLabel; class MassScanDialog : public TQDialog { - Q_OBJECT + TQ_OBJECT public: MassScanDialog( TQWidget *parent); diff --git a/libkscan/previewer.h b/libkscan/previewer.h index c1891b7e..7dfe0471 100644 --- a/libkscan/previewer.h +++ b/libkscan/previewer.h @@ -42,7 +42,7 @@ class TQHBoxLayout; class Previewer : public TQWidget { - Q_OBJECT + TQ_OBJECT public: Previewer(TQWidget *parent=0, const char *name=0); diff --git a/libkscan/scandialog.h b/libkscan/scandialog.h index 5457f857..a28f3941 100644 --- a/libkscan/scandialog.h +++ b/libkscan/scandialog.h @@ -31,7 +31,7 @@ class TQSplitter; class ScanDialog : public KScanDialog { - Q_OBJECT + TQ_OBJECT public: diff --git a/libkscan/scanparams.h b/libkscan/scanparams.h index 4269cdcc..082bd027 100644 --- a/libkscan/scanparams.h +++ b/libkscan/scanparams.h @@ -46,7 +46,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); diff --git a/libkscan/scansourcedialog.h b/libkscan/scansourcedialog.h index 35cc3d5e..ac6f2e31 100644 --- a/libkscan/scansourcedialog.h +++ b/libkscan/scansourcedialog.h @@ -36,7 +36,7 @@ class TQButtonGroup; class ScanSourceDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: ScanSourceDialog( TQWidget *parent, const TQStrList, ADF_BEHAVE ); diff --git a/libkscan/sizeindicator.h b/libkscan/sizeindicator.h index df940b03..98d69edd 100644 --- a/libkscan/sizeindicator.h +++ b/libkscan/sizeindicator.h @@ -39,7 +39,7 @@ class TQPainter; class SizeIndicator: public TQLabel { - Q_OBJECT + TQ_OBJECT // TQ_PROPERTY( KGammaTable *gt READ getGt WRITE setGt ) -- cgit v1.2.1