From f329450b7e8e05418f40a6f727ee71bc8512e627 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 14:31:03 +0900 Subject: [PATCH] Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro --- fileplugin/tdefile_kbarcode.h | 2 +- kbarcode/barcodecombo.h | 4 ++-- kbarcode/barcodedialog.h | 2 +- kbarcode/barcodedialogs.h | 14 +++++++------- kbarcode/barcodeprinterdlg.h | 2 +- kbarcode/batchwizard.h | 2 +- kbarcode/commands.h | 4 ++-- kbarcode/configdialog.h | 2 +- kbarcode/confwizard.h | 2 +- kbarcode/csvimportdlg.h | 2 +- kbarcode/databasebrowser.h | 2 +- kbarcode/definitiondialog.h | 4 ++-- kbarcode/documentitemdlg.h | 2 +- kbarcode/dsmainwindow.h | 2 +- kbarcode/dstextedit.h | 2 +- kbarcode/encodingcombo.h | 2 +- kbarcode/kbarcode.h | 2 +- kbarcode/kbarcodesettings.h | 2 +- kbarcode/labeleditor.h | 2 +- kbarcode/mimesources.h | 2 +- kbarcode/multilineeditdlg.h | 2 +- kbarcode/mycanvasview.h | 4 ++-- kbarcode/mydatatable.h | 2 +- kbarcode/newlabel.h | 2 +- kbarcode/previewdialog.h | 2 +- kbarcode/printersettings.h | 2 +- kbarcode/printlabeldlg.h | 2 +- kbarcode/propertywidget.h | 20 ++++++++++---------- kbarcode/rectsettingsdlg.h | 4 ++-- kbarcode/smalldialogs.h | 4 ++-- kbarcode/sqltables.h | 4 ++-- kbarcode/textlineedit.h | 2 +- kbarcode/tokendialog.h | 2 +- 33 files changed, 55 insertions(+), 55 deletions(-) diff --git a/fileplugin/tdefile_kbarcode.h b/fileplugin/tdefile_kbarcode.h index ae0a64d..5b9423d 100644 --- a/fileplugin/tdefile_kbarcode.h +++ b/fileplugin/tdefile_kbarcode.h @@ -11,7 +11,7 @@ class TQStringList; class KBarcodePlugin: public KFilePlugin { - Q_OBJECT + TQ_OBJECT public: diff --git a/kbarcode/barcodecombo.h b/kbarcode/barcodecombo.h index cfc260e..b7e606a 100644 --- a/kbarcode/barcodecombo.h +++ b/kbarcode/barcodecombo.h @@ -54,7 +54,7 @@ class BarcodeValidator : public TQValidator { * supported by KBarcode. */ class BarcodeCombo : public KComboBox { - Q_OBJECT + TQ_OBJECT public: BarcodeCombo(TQWidget *parent=0, const char *name=0); @@ -80,7 +80,7 @@ class TQLabel; * @author Dominik Seichter */ class BarcodeWidget : public TQWidget { - Q_OBJECT + TQ_OBJECT public: BarcodeWidget(TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/barcodedialog.h b/kbarcode/barcodedialog.h index 691786a..ea1e603 100644 --- a/kbarcode/barcodedialog.h +++ b/kbarcode/barcodedialog.h @@ -47,7 +47,7 @@ class TokenProvider; */ class BarCodeDialog : public TQDialog { - Q_OBJECT + TQ_OBJECT public: diff --git a/kbarcode/barcodedialogs.h b/kbarcode/barcodedialogs.h index 5f2b9b6..d914480 100644 --- a/kbarcode/barcodedialogs.h +++ b/kbarcode/barcodedialogs.h @@ -55,7 +55,7 @@ class BarcodeDlgBase { * @author Dominik Seichter */ class AdvancedBarcodeDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: AdvancedBarcodeDialog( TQString type, TQWidget* parent = 0, const char* name = 0 ); @@ -72,7 +72,7 @@ class AdvancedBarcodeDialog : public KDialogBase { * @author Dominik Seichter */ class TBarcodeDlg : public TQWidget, public BarcodeDlgBase { - Q_OBJECT + TQ_OBJECT public: TBarcodeDlg(TQWidget *parent=0, const char *name=0); @@ -95,7 +95,7 @@ class TBarcodeDlg : public TQWidget, public BarcodeDlgBase { * @author Dominik Seichter */ class PDF417BarcodeDlg : public TQWidget, public BarcodeDlgBase { - Q_OBJECT + TQ_OBJECT public: PDF417BarcodeDlg(TQWidget *parent=0, const char *name=0); @@ -113,7 +113,7 @@ class PDF417BarcodeDlg : public TQWidget, public BarcodeDlgBase { * @author Dominik Seichter */ class DataMatrixDlg : public TQWidget, public BarcodeDlgBase { - Q_OBJECT + TQ_OBJECT public: DataMatrixDlg(TQWidget *parent=0, const char *name=0); @@ -129,7 +129,7 @@ class DataMatrixDlg : public TQWidget, public BarcodeDlgBase { * @author Dominik Seichter */ class SequenceDlg : public TQWidget, public BarcodeDlgBase { - Q_OBJECT + TQ_OBJECT public: SequenceDlg(TQWidget *parent=0, const char *name=0); @@ -154,7 +154,7 @@ class SequenceDlg : public TQWidget, public BarcodeDlgBase { * @author Dominik Seichter */ class ColorDlg : public TQVBox, public BarcodeDlgBase { - Q_OBJECT + TQ_OBJECT public: ColorDlg(TQWidget *parent=0, const char *name=0); @@ -172,7 +172,7 @@ class ColorDlg : public TQVBox, public BarcodeDlgBase { * @author Dominik Seichter */ class PurePostscriptDlg : public TQVBox, public BarcodeDlgBase { - Q_OBJECT + TQ_OBJECT public: PurePostscriptDlg(TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/barcodeprinterdlg.h b/kbarcode/barcodeprinterdlg.h index 4cd60d4..61e08e0 100644 --- a/kbarcode/barcodeprinterdlg.h +++ b/kbarcode/barcodeprinterdlg.h @@ -29,7 +29,7 @@ class TQLabel; */ class BarcodePrinterDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: BarcodePrinterDlg(TQWidget *parent = 0, const char *name = 0); diff --git a/kbarcode/batchwizard.h b/kbarcode/batchwizard.h index 1534022..e356e30 100644 --- a/kbarcode/batchwizard.h +++ b/kbarcode/batchwizard.h @@ -42,7 +42,7 @@ class TQVBox; class TQWidgetStack; class BatchWizard : public KWizard, public BatchIface { - Q_OBJECT + TQ_OBJECT public: BatchWizard( TQWidget* parent = NULL, const char* name = NULL ); diff --git a/kbarcode/commands.h b/kbarcode/commands.h index 62b2f4e..7322360 100644 --- a/kbarcode/commands.h +++ b/kbarcode/commands.h @@ -53,7 +53,7 @@ class TokenProvider; // Stuff for undo redo class CommandUtils : public TQObject { - Q_OBJECT + TQ_OBJECT public: CommandUtils(TCanvasItem* item); @@ -81,7 +81,7 @@ class CommandUtils : public TQObject { * @author Dominik Seichter */ class NewItemCommand : public TQObject, public KCommand { - Q_OBJECT + TQ_OBJECT public: NewItemCommand( MyCanvasView* view, const TQString & name ); diff --git a/kbarcode/configdialog.h b/kbarcode/configdialog.h index d70d6fa..067c4e5 100644 --- a/kbarcode/configdialog.h +++ b/kbarcode/configdialog.h @@ -38,7 +38,7 @@ class SqlWidget; */ class ConfigDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: ConfigDialog( TQWidget* parent ); diff --git a/kbarcode/confwizard.h b/kbarcode/confwizard.h index 736a96a..c9eaffa 100644 --- a/kbarcode/confwizard.h +++ b/kbarcode/confwizard.h @@ -37,7 +37,7 @@ class SqlWidget; */ class ConfWizard : public KWizard { - Q_OBJECT + TQ_OBJECT public: diff --git a/kbarcode/csvimportdlg.h b/kbarcode/csvimportdlg.h index 8c884d5..1ad7857 100644 --- a/kbarcode/csvimportdlg.h +++ b/kbarcode/csvimportdlg.h @@ -45,7 +45,7 @@ class TQRadioButton; * @author Dominik Seichter */ class CSVImportDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: CSVImportDlg(TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/databasebrowser.h b/kbarcode/databasebrowser.h index d6230f5..198ae26 100644 --- a/kbarcode/databasebrowser.h +++ b/kbarcode/databasebrowser.h @@ -31,7 +31,7 @@ class MyDataTable; * and is mostly used for having a quick look on the tables. */ class DatabaseBrowser : public DSMainWindow{ - Q_OBJECT + TQ_OBJECT public: DatabaseBrowser( TQString _database, TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/definitiondialog.h b/kbarcode/definitiondialog.h index b8f8e70..cc94c0c 100644 --- a/kbarcode/definitiondialog.h +++ b/kbarcode/definitiondialog.h @@ -20,7 +20,7 @@ class TQPaintEvent; * The labels are drawn using TQPainter. Only one page is previewed. */ class LabelPreview : public TQWidget { - Q_OBJECT + TQ_OBJECT public: LabelPreview( TQWidget* parent = 0, const char* name = 0 ); @@ -44,7 +44,7 @@ class LabelPreview : public TQWidget { */ class DefinitionDialog : public TQDialog { - Q_OBJECT + TQ_OBJECT public: diff --git a/kbarcode/documentitemdlg.h b/kbarcode/documentitemdlg.h index e92f239..48c641d 100644 --- a/kbarcode/documentitemdlg.h +++ b/kbarcode/documentitemdlg.h @@ -27,7 +27,7 @@ class KCommandHistory; class DocumentItemDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: DocumentItemDlg( TokenProvider* token, DocumentItem* item, KCommandHistory* history, TQWidget* parent ); diff --git a/kbarcode/dsmainwindow.h b/kbarcode/dsmainwindow.h index 94e342b..df011b2 100644 --- a/kbarcode/dsmainwindow.h +++ b/kbarcode/dsmainwindow.h @@ -31,7 +31,7 @@ class TDEPopupMenu; * @author Dominik Seichter */ class DSMainWindow : public TDEMainWindow { - Q_OBJECT + TQ_OBJECT public: DSMainWindow(TQWidget *parent=0, const char *name=0, WFlags f = WType_TopLevel | WDestructiveClose ); diff --git a/kbarcode/dstextedit.h b/kbarcode/dstextedit.h index 75a0903..e912c3c 100644 --- a/kbarcode/dstextedit.h +++ b/kbarcode/dstextedit.h @@ -26,7 +26,7 @@ #define TextEditBase KTextEdit class DSTextEdit : public KTextEdit { - Q_OBJECT + TQ_OBJECT public: diff --git a/kbarcode/encodingcombo.h b/kbarcode/encodingcombo.h index 015b016..b86bdd3 100644 --- a/kbarcode/encodingcombo.h +++ b/kbarcode/encodingcombo.h @@ -21,7 +21,7 @@ #include class EncodingCombo : public KComboBox { - Q_OBJECT + TQ_OBJECT public: EncodingCombo( TQWidget* parent ); diff --git a/kbarcode/kbarcode.h b/kbarcode/kbarcode.h index e9bd6e8..3c001ae 100644 --- a/kbarcode/kbarcode.h +++ b/kbarcode/kbarcode.h @@ -43,7 +43,7 @@ class KPushButton; * There are also a few smaller modules. */ class KBarcode: public DSMainWindow, public KBarcodeIface { - Q_OBJECT + TQ_OBJECT public: KBarcode( TQWidget *parent=0, const char *name="kbarcode", WFlags f = WType_TopLevel | WDestructiveClose ); diff --git a/kbarcode/kbarcodesettings.h b/kbarcode/kbarcodesettings.h index 4d1ea12..71f4c61 100644 --- a/kbarcode/kbarcodesettings.h +++ b/kbarcode/kbarcodesettings.h @@ -28,7 +28,7 @@ */ class KBarcodeSettings : public TQObject { - Q_OBJECT + TQ_OBJECT public: static KBarcodeSettings* getInstance(); diff --git a/kbarcode/labeleditor.h b/kbarcode/labeleditor.h index 06830f9..4e131e6 100644 --- a/kbarcode/labeleditor.h +++ b/kbarcode/labeleditor.h @@ -80,7 +80,7 @@ class TokenProvider; * support. Use Batchprinting (LabelPrinter) for this. */ class LabelEditor : public DSMainWindow, public EditorIface, private LabelUtils, private XMLUtils { - Q_OBJECT + TQ_OBJECT public: enum ELabelEditorMode { diff --git a/kbarcode/mimesources.h b/kbarcode/mimesources.h index 13c1839..7ebeffe 100644 --- a/kbarcode/mimesources.h +++ b/kbarcode/mimesources.h @@ -26,7 +26,7 @@ class TokenProvider; class MyCanvasView; class DocumentItemDrag : public TQStoredDrag { - Q_OBJECT + TQ_OBJECT public: DocumentItemDrag( TQWidget* dragSource = NULL, const char* name = 0 ); diff --git a/kbarcode/multilineeditdlg.h b/kbarcode/multilineeditdlg.h index b7943de..fd6597f 100644 --- a/kbarcode/multilineeditdlg.h +++ b/kbarcode/multilineeditdlg.h @@ -32,7 +32,7 @@ class DSTextEdit; class TokenProvider; class MultiLineEditor : public TQWidget { - Q_OBJECT + TQ_OBJECT public: MultiLineEditor( TokenProvider* token, TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/mycanvasview.h b/kbarcode/mycanvasview.h index 4370373..cc2232c 100644 --- a/kbarcode/mycanvasview.h +++ b/kbarcode/mycanvasview.h @@ -30,7 +30,7 @@ typedef TQValueList TCanvasItemList; class TQRect; class TQPainter; class MyCanvas : public TQCanvas { - Q_OBJECT + TQ_OBJECT public: @@ -69,7 +69,7 @@ class KRuler; class KStatusBar; class MyCanvasView : public TQCanvasView { - Q_OBJECT + TQ_OBJECT enum edges { diff --git a/kbarcode/mydatatable.h b/kbarcode/mydatatable.h index e476856..5c313fa 100644 --- a/kbarcode/mydatatable.h +++ b/kbarcode/mydatatable.h @@ -24,7 +24,7 @@ /** A table to modify SQL tables. */ class MyDataTable : public TQDataTable { - Q_OBJECT + TQ_OBJECT public: MyDataTable(TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/newlabel.h b/kbarcode/newlabel.h index 2194269..450f6c2 100644 --- a/kbarcode/newlabel.h +++ b/kbarcode/newlabel.h @@ -35,7 +35,7 @@ class TQString; class LabelPreview; class NewLabel : public TQDialog { - Q_OBJECT + TQ_OBJECT public: NewLabel( TQWidget* parent = 0, const char* name = 0, bool change = FALSE, WFlags fl = 0 ); diff --git a/kbarcode/previewdialog.h b/kbarcode/previewdialog.h index f385546..6d9f7bd 100644 --- a/kbarcode/previewdialog.h +++ b/kbarcode/previewdialog.h @@ -30,7 +30,7 @@ class TQIODevice; class TQLabel; class TQWidget; class PreviewDialog : public TQDialog { - Q_OBJECT + TQ_OBJECT public: PreviewDialog( TQIODevice* device, Definition* d, TQString filename, TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/printersettings.h b/kbarcode/printersettings.h index de339b8..d4ccda9 100644 --- a/kbarcode/printersettings.h +++ b/kbarcode/printersettings.h @@ -58,7 +58,7 @@ struct PageFormatInfo class KPrinter; class KComboBox; class PrinterSettings: public TQObject { - Q_OBJECT + TQ_OBJECT public: enum { High = TQPrinter::HighResolution, Middle, VeryHigh }; diff --git a/kbarcode/printlabeldlg.h b/kbarcode/printlabeldlg.h index 5d5ce25..582aceb 100644 --- a/kbarcode/printlabeldlg.h +++ b/kbarcode/printlabeldlg.h @@ -32,7 +32,7 @@ class KIntNumInput; * label should be printed. */ class PrintLabelDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: PrintLabelDlg(TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/propertywidget.h b/kbarcode/propertywidget.h index ebc32cf..feb2117 100644 --- a/kbarcode/propertywidget.h +++ b/kbarcode/propertywidget.h @@ -48,7 +48,7 @@ class KPushButton; */ class PropertyWidget : public TQWidget { - Q_OBJECT + TQ_OBJECT public: PropertyWidget( TQWidget* parent ); @@ -61,7 +61,7 @@ class PropertyWidget : public TQWidget }; class PropertyBorder : public PropertyWidget { - Q_OBJECT + TQ_OBJECT public: PropertyBorder( TQWidget* parent ); @@ -80,7 +80,7 @@ class PropertyBorder : public PropertyWidget { }; class PropertyRotation : public PropertyWidget { - Q_OBJECT + TQ_OBJECT public: PropertyRotation( TQWidget* parent ); @@ -93,7 +93,7 @@ class PropertyRotation : public PropertyWidget { }; class PropertyFill : public PropertyWidget { - Q_OBJECT + TQ_OBJECT public: PropertyFill( TQWidget* parent ); @@ -106,7 +106,7 @@ class PropertyFill : public PropertyWidget { }; class PropertyBarcode : public PropertyWidget, private LabelUtils { - Q_OBJECT + TQ_OBJECT public: PropertyBarcode( TokenProvider* token, TQWidget* parent ); @@ -123,7 +123,7 @@ class PropertyBarcode : public PropertyWidget, private LabelUtils { }; class PropertyText : public PropertyWidget, private LabelUtils { - Q_OBJECT + TQ_OBJECT public: PropertyText( TokenProvider* token, TQWidget* parent ); @@ -137,7 +137,7 @@ class PropertyText : public PropertyWidget, private LabelUtils { //NY22 class PropertyTextLine : public PropertyWidget, private LabelUtils { - Q_OBJECT + TQ_OBJECT public: PropertyTextLine( TokenProvider* token, TQWidget* parent ); @@ -151,7 +151,7 @@ class PropertyTextLine : public PropertyWidget, private LabelUtils { //NY22 class PropertySize : public PropertyWidget, private LabelUtils { - Q_OBJECT + TQ_OBJECT public: PropertySize( TQWidget* parent ); @@ -171,7 +171,7 @@ class PropertySize : public PropertyWidget, private LabelUtils { }; class PropertyImage : public PropertyWidget { - Q_OBJECT + TQ_OBJECT public: PropertyImage( TokenProvider* token, TQWidget* parent ); @@ -205,7 +205,7 @@ class PropertyImage : public PropertyWidget { }; class PropertyVisible : public PropertyWidget { - Q_OBJECT + TQ_OBJECT public: PropertyVisible( TQWidget* parent ); diff --git a/kbarcode/rectsettingsdlg.h b/kbarcode/rectsettingsdlg.h index 2a88169..4d747ef 100644 --- a/kbarcode/rectsettingsdlg.h +++ b/kbarcode/rectsettingsdlg.h @@ -25,7 +25,7 @@ class KComboBox; class KIntNumInput; class TQCheckBox; class RectSettingsDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: RectSettingsDlg(TQWidget *parent=0, const char *name=0); @@ -56,7 +56,7 @@ class RectSettingsDlg : public KDialogBase { class TQPen; class LineSettingsDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: LineSettingsDlg(TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/smalldialogs.h b/kbarcode/smalldialogs.h index 994efed..dc5c17b 100644 --- a/kbarcode/smalldialogs.h +++ b/kbarcode/smalldialogs.h @@ -28,7 +28,7 @@ class KLineEdit; namespace DSSmallDialogs { class AddAllDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: AddAllDialog(TQWidget *parent=0, const char *name=0); @@ -42,7 +42,7 @@ namespace DSSmallDialogs { }; class AddItemsDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: AddItemsDialog( TQWidget* parent = 0, const char* name = 0 ); diff --git a/kbarcode/sqltables.h b/kbarcode/sqltables.h index a9ea6fb..d57adcf 100644 --- a/kbarcode/sqltables.h +++ b/kbarcode/sqltables.h @@ -85,7 +85,7 @@ class TQSqlQuery; * @author Dominik Seichter */ class SqlTables : public TQObject { - Q_OBJECT + TQ_OBJECT public: /** get a mysqldata object which contains the current database settings. @@ -176,7 +176,7 @@ class TQCheckBox; * @author Dominik Seichter */ class SqlWidget : public TQWidget { - Q_OBJECT + TQ_OBJECT public: SqlWidget( bool showlabel, TQWidget* parent = 0, const char* name = 0 ); diff --git a/kbarcode/textlineedit.h b/kbarcode/textlineedit.h index 282d22e..78638b4 100644 --- a/kbarcode/textlineedit.h +++ b/kbarcode/textlineedit.h @@ -29,7 +29,7 @@ class TokenProvider; class KLineEdit; class TextLineEditor : public TQWidget { - Q_OBJECT + TQ_OBJECT public: TextLineEditor( TokenProvider* token, TQWidget *parent=0, const char *name=0); diff --git a/kbarcode/tokendialog.h b/kbarcode/tokendialog.h index 35e623a..9d35ada 100644 --- a/kbarcode/tokendialog.h +++ b/kbarcode/tokendialog.h @@ -39,7 +39,7 @@ class DSTextEdit; class TokenDialog : public KWizard { - Q_OBJECT + TQ_OBJECT public: