From 0fed1a188b8d8be416550c63e2d5954f06434386 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Feb 2012 16:09:32 -0600 Subject: Remove spurious TQ_OBJECT instances --- lib/widgets/flagboxes.h | 10 +++++----- lib/widgets/kcomboview.h | 2 +- lib/widgets/kdevhtmlpart.h | 2 +- lib/widgets/ksavealldialog.h | 4 ++-- lib/widgets/processlinemaker.h | 2 +- lib/widgets/processwidget.h | 2 +- lib/widgets/propeditor/pcheckbox.h | 2 +- lib/widgets/propeditor/pcolorbutton.h | 2 +- lib/widgets/propeditor/pcolorcombo.h | 2 +- lib/widgets/propeditor/pcombobox.h | 2 +- lib/widgets/propeditor/pcursoredit.h | 2 +- lib/widgets/propeditor/pdateedit.h | 2 +- lib/widgets/propeditor/pdatetimeedit.h | 2 +- lib/widgets/propeditor/pdoublenuminput.h | 2 +- lib/widgets/propeditor/pdummywidget.h | 2 +- lib/widgets/propeditor/pfontbutton.h | 2 +- lib/widgets/propeditor/pfontcombo.h | 2 +- lib/widgets/propeditor/plineedit.h | 2 +- lib/widgets/propeditor/plinestyleedit.h | 2 +- lib/widgets/propeditor/ppixmapedit.h | 2 +- lib/widgets/propeditor/ppointedit.h | 2 +- lib/widgets/propeditor/prectedit.h | 2 +- lib/widgets/propeditor/propertyeditor.h | 2 +- lib/widgets/propeditor/propertylist.h | 4 ++-- lib/widgets/propeditor/propertywidget.h | 2 +- lib/widgets/propeditor/propertywidgetproxy.h | 2 +- lib/widgets/propeditor/psizeedit.h | 2 +- lib/widgets/propeditor/psizepolicyedit.h | 2 +- lib/widgets/propeditor/pspinbox.h | 2 +- lib/widgets/propeditor/pstringlistedit.h | 2 +- lib/widgets/propeditor/psymbolcombo.h | 2 +- lib/widgets/propeditor/purledit.h | 2 +- lib/widgets/propeditor/pyesnobutton.h | 2 +- lib/widgets/propeditor/qeditlistbox.h | 2 +- lib/widgets/qcomboview.h | 2 +- lib/widgets/resizablecombo.h | 2 +- 36 files changed, 42 insertions(+), 42 deletions(-) (limited to 'lib/widgets') diff --git a/lib/widgets/flagboxes.h b/lib/widgets/flagboxes.h index 76e7ab84..ce5c6205 100644 --- a/lib/widgets/flagboxes.h +++ b/lib/widgets/flagboxes.h @@ -68,7 +68,7 @@ private: class FlagListBox : public TQListView { Q_OBJECT - TQ_OBJECT + public: FlagListBox( TQWidget *parent=0, const char *name=0 ); ~FlagListBox() @@ -83,7 +83,7 @@ public: class FlagCheckBox : public TQCheckBox { Q_OBJECT - TQ_OBJECT + public: FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description); @@ -110,7 +110,7 @@ private: class FlagRadioButton : public TQRadioButton { Q_OBJECT - TQ_OBJECT + public: FlagRadioButton(TQWidget *parent, FlagRadioButtonController *controller, const TQString &flagstr, const TQString &description); @@ -126,7 +126,7 @@ private: class FlagPathEdit: public TQWidget { Q_OBJECT - TQ_OBJECT + public: /**If the pathDelimiter is not empty then path edit can contain a list of paths*/ FlagPathEdit(TQWidget *parent, TQString pathDelimiter, FlagPathEditController *controller, @@ -156,7 +156,7 @@ private: class FlagListEdit: public TQWidget { Q_OBJECT - TQ_OBJECT + public: /**If the listDelimiter is not empty then list edit can contain a list of entries*/ FlagListEdit(TQWidget *parent, TQString listDelimiter, FlagEditController *controller, diff --git a/lib/widgets/kcomboview.h b/lib/widgets/kcomboview.h index 981eaa1a..8a72e5e8 100644 --- a/lib/widgets/kcomboview.h +++ b/lib/widgets/kcomboview.h @@ -55,7 +55,7 @@ class CustomCompleter : public KCompletion { class KComboView: public QComboView { Q_OBJECT - TQ_OBJECT + public: ///The combo-view takes the ownership of the completer and deletes it on destruction KComboView( bool rw, int defaultWidth = 100, TQWidget* parent=0, const char* name=0, CustomCompleter* completer = new CustomCompleter() ); diff --git a/lib/widgets/kdevhtmlpart.h b/lib/widgets/kdevhtmlpart.h index 22da1d65..c9520d7f 100644 --- a/lib/widgets/kdevhtmlpart.h +++ b/lib/widgets/kdevhtmlpart.h @@ -44,7 +44,7 @@ It has it's own popup menu and font/zoom settings. class KDevHTMLPart : public KHTMLPart { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/widgets/ksavealldialog.h b/lib/widgets/ksavealldialog.h index 36b5089a..a122b11a 100644 --- a/lib/widgets/ksavealldialog.h +++ b/lib/widgets/ksavealldialog.h @@ -36,7 +36,7 @@ Dialog to save selected files. class KSaveSelectDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KSaveSelectDialog( KURL::List const & filelist, KURL::List const & ignorelist, TQWidget * parent ); @@ -62,7 +62,7 @@ Dialog to save all files. class KSaveAllDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: enum SaveAllResult{ SaveAll, Cancel, Revert }; diff --git a/lib/widgets/processlinemaker.h b/lib/widgets/processlinemaker.h index f304cdd8..e75824cd 100644 --- a/lib/widgets/processlinemaker.h +++ b/lib/widgets/processlinemaker.h @@ -35,7 +35,7 @@ Convenience class to catch output of KProcess. class ProcessLineMaker : public TQObject { Q_OBJECT - TQ_OBJECT + public: ProcessLineMaker(); diff --git a/lib/widgets/processwidget.h b/lib/widgets/processwidget.h index 814db870..935c7456 100644 --- a/lib/widgets/processwidget.h +++ b/lib/widgets/processwidget.h @@ -58,7 +58,7 @@ private: class ProcessWidget : public KListBox { Q_OBJECT - TQ_OBJECT + public: ProcessWidget(TQWidget *parent, const char *name=0); diff --git a/lib/widgets/propeditor/pcheckbox.h b/lib/widgets/propeditor/pcheckbox.h index 8a7ff781..ed2aea39 100644 --- a/lib/widgets/propeditor/pcheckbox.h +++ b/lib/widgets/propeditor/pcheckbox.h @@ -31,7 +31,7 @@ namespace PropertyLib{ */ class PCheckBox: public PropertyWidget{ Q_OBJECT - TQ_OBJECT + public: PCheckBox(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/pcolorbutton.h b/lib/widgets/propeditor/pcolorbutton.h index d7b7494e..ab17b449 100644 --- a/lib/widgets/propeditor/pcolorbutton.h +++ b/lib/widgets/propeditor/pcolorbutton.h @@ -36,7 +36,7 @@ namespace PropertyLib{ class PColorButton: public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PColorButton(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/pcolorcombo.h b/lib/widgets/propeditor/pcolorcombo.h index 3b189cb6..052c287d 100644 --- a/lib/widgets/propeditor/pcolorcombo.h +++ b/lib/widgets/propeditor/pcolorcombo.h @@ -31,7 +31,7 @@ namespace PropertyLib{ */ class PColorCombo: public PropertyWidget{ Q_OBJECT - TQ_OBJECT + public: PColorCombo(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/pcombobox.h b/lib/widgets/propeditor/pcombobox.h index 82ccd220..98937eaa 100644 --- a/lib/widgets/propeditor/pcombobox.h +++ b/lib/widgets/propeditor/pcombobox.h @@ -35,7 +35,7 @@ namespace PropertyLib{ */ class PComboBox: public PropertyWidget{ Q_OBJECT - TQ_OBJECT + public: /**This constructor is used for read-only selection combo. It provides a value from valueList*/ PComboBox(MultiProperty *property, const TQMap &list, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/pcursoredit.h b/lib/widgets/propeditor/pcursoredit.h index 34bede80..1d3925ae 100644 --- a/lib/widgets/propeditor/pcursoredit.h +++ b/lib/widgets/propeditor/pcursoredit.h @@ -30,7 +30,7 @@ namespace PropertyLib{ class PCursorEdit: public PComboBox { Q_OBJECT - TQ_OBJECT + public: PCursorEdit(MultiProperty* property, const TQMap &spValues, TQWidget* parent = 0, const char* name = 0); diff --git a/lib/widgets/propeditor/pdateedit.h b/lib/widgets/propeditor/pdateedit.h index 8348a24d..126a4023 100644 --- a/lib/widgets/propeditor/pdateedit.h +++ b/lib/widgets/propeditor/pdateedit.h @@ -32,7 +32,7 @@ namespace PropertyLib{ class PDateEdit : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PDateEdit(MultiProperty* property, TQWidget* parent=0, const char* name=0); diff --git a/lib/widgets/propeditor/pdatetimeedit.h b/lib/widgets/propeditor/pdatetimeedit.h index 57130322..4b54714b 100644 --- a/lib/widgets/propeditor/pdatetimeedit.h +++ b/lib/widgets/propeditor/pdatetimeedit.h @@ -32,7 +32,7 @@ namespace PropertyLib{ class PDateTimeEdit : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PDateTimeEdit(MultiProperty* property, TQWidget* parent=0, const char* name=0); diff --git a/lib/widgets/propeditor/pdoublenuminput.h b/lib/widgets/propeditor/pdoublenuminput.h index c3ef0d35..a26c2b0f 100644 --- a/lib/widgets/propeditor/pdoublenuminput.h +++ b/lib/widgets/propeditor/pdoublenuminput.h @@ -36,7 +36,7 @@ namespace PropertyLib{ class PDoubleNumInput: public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PDoubleNumInput(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/pdummywidget.h b/lib/widgets/propeditor/pdummywidget.h index 55649b45..dad94591 100644 --- a/lib/widgets/propeditor/pdummywidget.h +++ b/lib/widgets/propeditor/pdummywidget.h @@ -40,7 +40,7 @@ like TQValueList's or TQMap's stored in a variant. class PDummyWidget: public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PDummyWidget(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/pfontbutton.h b/lib/widgets/propeditor/pfontbutton.h index 91c07d81..761cb003 100644 --- a/lib/widgets/propeditor/pfontbutton.h +++ b/lib/widgets/propeditor/pfontbutton.h @@ -32,7 +32,7 @@ namespace PropertyLib{ class PFontButton : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PFontButton(MultiProperty* property, TQWidget* parent = 0, const char* name = 0); diff --git a/lib/widgets/propeditor/pfontcombo.h b/lib/widgets/propeditor/pfontcombo.h index ec22f662..f3ede408 100644 --- a/lib/widgets/propeditor/pfontcombo.h +++ b/lib/widgets/propeditor/pfontcombo.h @@ -35,7 +35,7 @@ namespace PropertyLib{ */ class PFontCombo: public PropertyWidget{ Q_OBJECT - TQ_OBJECT + public: PFontCombo(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/plineedit.h b/lib/widgets/propeditor/plineedit.h index 46ee3963..4730a5c7 100644 --- a/lib/widgets/propeditor/plineedit.h +++ b/lib/widgets/propeditor/plineedit.h @@ -31,7 +31,7 @@ namespace PropertyLib{ */ class PLineEdit: public PropertyWidget{ Q_OBJECT - TQ_OBJECT + public: PLineEdit(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/plinestyleedit.h b/lib/widgets/propeditor/plinestyleedit.h index 8d0a5347..2df5f3be 100644 --- a/lib/widgets/propeditor/plinestyleedit.h +++ b/lib/widgets/propeditor/plinestyleedit.h @@ -31,7 +31,7 @@ namespace PropertyLib { */ class PLineStyleEdit : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PLineStyleEdit(MultiProperty* property, TQWidget* parent = 0, const char* name = 0); diff --git a/lib/widgets/propeditor/ppixmapedit.h b/lib/widgets/propeditor/ppixmapedit.h index cbffa443..1d95b6b5 100644 --- a/lib/widgets/propeditor/ppixmapedit.h +++ b/lib/widgets/propeditor/ppixmapedit.h @@ -33,7 +33,7 @@ namespace PropertyLib{ class PPixmapEdit : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PPixmapEdit(MultiProperty* property, TQWidget* parent = 0, const char* name = 0); diff --git a/lib/widgets/propeditor/ppointedit.h b/lib/widgets/propeditor/ppointedit.h index 3deb3d94..b6f9f9ad 100644 --- a/lib/widgets/propeditor/ppointedit.h +++ b/lib/widgets/propeditor/ppointedit.h @@ -32,7 +32,7 @@ namespace PropertyLib{ class PPointEdit : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PPointEdit(MultiProperty* property, TQWidget* parent=0, const char* name=0); diff --git a/lib/widgets/propeditor/prectedit.h b/lib/widgets/propeditor/prectedit.h index 09cf11c7..82abcda1 100644 --- a/lib/widgets/propeditor/prectedit.h +++ b/lib/widgets/propeditor/prectedit.h @@ -32,7 +32,7 @@ namespace PropertyLib{ class PRectEdit : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PRectEdit(MultiProperty* property, TQWidget* parent=0, const char* name=0); diff --git a/lib/widgets/propeditor/propertyeditor.h b/lib/widgets/propeditor/propertyeditor.h index 2fdbe432..7cfa8521 100644 --- a/lib/widgets/propeditor/propertyeditor.h +++ b/lib/widgets/propeditor/propertyeditor.h @@ -57,7 +57,7 @@ creation of property widgets from the machine factory. */ class PropertyEditor: public KListView{ Q_OBJECT - TQ_OBJECT + public: /**Constructs the property editor.*/ PropertyEditor(TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/propertylist.h b/lib/widgets/propeditor/propertylist.h index 94baf50d..9cee76f8 100644 --- a/lib/widgets/propeditor/propertylist.h +++ b/lib/widgets/propeditor/propertylist.h @@ -55,7 +55,7 @@ alphabetically sorted list of properties or both at the same time. class PropertyList: public TQObject { Q_OBJECT - TQ_OBJECT + public: class Iterator { @@ -182,7 +182,7 @@ buf->intersect(list3); */ class PropertyBuffer: public PropertyList{ Q_OBJECT - TQ_OBJECT + public: /**Constructs a buffer from given property list.*/ PropertyBuffer(PropertyList *list); diff --git a/lib/widgets/propeditor/propertywidget.h b/lib/widgets/propeditor/propertywidget.h index 2105a220..f1cec5bc 100644 --- a/lib/widgets/propeditor/propertywidget.h +++ b/lib/widgets/propeditor/propertywidget.h @@ -48,7 +48,7 @@ in the library. */ class PropertyWidget: public TQWidget{ Q_OBJECT - TQ_OBJECT + public: /**Constructs widget for property with name "propertyName".*/ PropertyWidget(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/propertywidgetproxy.h b/lib/widgets/propeditor/propertywidgetproxy.h index 642d7824..37bbadb8 100644 --- a/lib/widgets/propeditor/propertywidgetproxy.h +++ b/lib/widgets/propeditor/propertywidgetproxy.h @@ -42,7 +42,7 @@ depending on the property type. class PropertyWidgetProxy: public TQWidget { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int propertyType READ propertyType WRITE setPropertyType DESIGNABLE true ) TQ_PROPERTY( PropertyType propertyType2 READ propertyType2 WRITE setPropertyType2 DESIGNABLE false ) public: diff --git a/lib/widgets/propeditor/psizeedit.h b/lib/widgets/propeditor/psizeedit.h index 43da3c55..34acbb41 100644 --- a/lib/widgets/propeditor/psizeedit.h +++ b/lib/widgets/propeditor/psizeedit.h @@ -34,7 +34,7 @@ namespace PropertyLib{ class PSizeEdit: public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PSizeEdit(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/psizepolicyedit.h b/lib/widgets/propeditor/psizepolicyedit.h index 586b4cba..58b661f6 100644 --- a/lib/widgets/propeditor/psizepolicyedit.h +++ b/lib/widgets/propeditor/psizepolicyedit.h @@ -34,7 +34,7 @@ namespace PropertyLib{ class PSizePolicyEdit : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PSizePolicyEdit(MultiProperty* property, const TQMap &spValues, TQWidget* parent=0, const char* name=0); diff --git a/lib/widgets/propeditor/pspinbox.h b/lib/widgets/propeditor/pspinbox.h index 3b6da02a..ecb73907 100644 --- a/lib/widgets/propeditor/pspinbox.h +++ b/lib/widgets/propeditor/pspinbox.h @@ -31,7 +31,7 @@ namespace PropertyLib{ */ class PSpinBox: public PropertyWidget{ Q_OBJECT - TQ_OBJECT + public: PSpinBox(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); PSpinBox(MultiProperty *property, int minValue, int maxValue, int step = 1, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/pstringlistedit.h b/lib/widgets/propeditor/pstringlistedit.h index 7e651e43..85b2ecc7 100644 --- a/lib/widgets/propeditor/pstringlistedit.h +++ b/lib/widgets/propeditor/pstringlistedit.h @@ -35,7 +35,7 @@ namespace PropertyLib{ class PStringListEdit: public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PStringListEdit(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/psymbolcombo.h b/lib/widgets/propeditor/psymbolcombo.h index adb88e78..52750fa1 100644 --- a/lib/widgets/propeditor/psymbolcombo.h +++ b/lib/widgets/propeditor/psymbolcombo.h @@ -34,7 +34,7 @@ namespace PropertyLib{ */ class PSymbolCombo: public PropertyWidget{ Q_OBJECT - TQ_OBJECT + public: PSymbolCombo(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/widgets/propeditor/purledit.h b/lib/widgets/propeditor/purledit.h index 396b16ba..88435a40 100644 --- a/lib/widgets/propeditor/purledit.h +++ b/lib/widgets/propeditor/purledit.h @@ -39,7 +39,7 @@ namespace PropertyLib{ class PUrlEdit : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: #ifndef PURE_QT enum Mode {File = KFile::File,Directory = KFile::Directory}; diff --git a/lib/widgets/propeditor/pyesnobutton.h b/lib/widgets/propeditor/pyesnobutton.h index 412d167d..bb899186 100644 --- a/lib/widgets/propeditor/pyesnobutton.h +++ b/lib/widgets/propeditor/pyesnobutton.h @@ -32,7 +32,7 @@ namespace PropertyLib{ class PYesNoButton : public PropertyWidget { Q_OBJECT - TQ_OBJECT + public: PYesNoButton(MultiProperty* property, TQWidget* parent = 0, const char* name = 0); diff --git a/lib/widgets/propeditor/qeditlistbox.h b/lib/widgets/propeditor/qeditlistbox.h index 2750623b..b57c454e 100644 --- a/lib/widgets/propeditor/qeditlistbox.h +++ b/lib/widgets/propeditor/qeditlistbox.h @@ -45,7 +45,7 @@ class QEditListBoxPrivate; class QEditListBox : public TQGroupBox { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQStringList items READ items WRITE setItems ) diff --git a/lib/widgets/qcomboview.h b/lib/widgets/qcomboview.h index 35eef4f1..b97bb3c9 100644 --- a/lib/widgets/qcomboview.h +++ b/lib/widgets/qcomboview.h @@ -41,7 +41,7 @@ in the same way as TQComboBox and have similar API. class TQ_EXPORT QComboView : public TQWidget { Q_OBJECT - TQ_OBJECT + Q_ENUMS( Policy ) TQ_PROPERTY( bool editable READ editable WRITE setEditable ) // TQ_PROPERTY( int count READ count ) diff --git a/lib/widgets/resizablecombo.h b/lib/widgets/resizablecombo.h index ecaa2058..4852f3dc 100644 --- a/lib/widgets/resizablecombo.h +++ b/lib/widgets/resizablecombo.h @@ -37,7 +37,7 @@ Used to place resizable KComboBox onto toolbars. */ class ResizableCombo: public TQWidget{ Q_OBJECT - TQ_OBJECT + public: ResizableCombo(KComboView *view, TQWidget *parent = 0, const char *name = 0); -- cgit v1.2.3