From 1a7e498bdb3f755b79c06cb87fe4fad2cf8e7bf3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Feb 2012 16:07:00 -0600 Subject: Remove spurious TQ_OBJECT instances --- libtdeedu/extdate/extdatepicker.h | 2 +- libtdeedu/extdate/extdatetbl.h | 10 +++++----- libtdeedu/extdate/extdatetimeedit.h | 12 ++++++------ libtdeedu/extdate/extdatewidget.h | 2 +- libtdeedu/extdate/testwidget.h | 2 +- libtdeedu/tdeeduplot/kplotwidget.h | 2 +- libtdeedu/tdeeduui/kedusimpleentrydlg.h | 2 +- libtdeedu/tdeeduui/tdeeduglossary.h | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) (limited to 'libtdeedu') diff --git a/libtdeedu/extdate/extdatepicker.h b/libtdeedu/extdate/extdatepicker.h index f8295dfe..93279920 100644 --- a/libtdeedu/extdate/extdatepicker.h +++ b/libtdeedu/extdate/extdatepicker.h @@ -52,7 +52,7 @@ class ExtDateTable; class KDE_EXPORT ExtDatePicker: public TQFrame { Q_OBJECT - TQ_OBJECT + // TQ_PROPERTY( ExtDate date READ date WRITE setDate) TQ_PROPERTY( bool closeButton READ hasCloseButton WRITE setCloseButton ) TQ_PROPERTY( int fontSize READ fontSize WRITE setFontSize ) diff --git a/libtdeedu/extdate/extdatetbl.h b/libtdeedu/extdate/extdatetbl.h index de55408c..06aa0122 100644 --- a/libtdeedu/extdate/extdatetbl.h +++ b/libtdeedu/extdate/extdatetbl.h @@ -41,7 +41,7 @@ class KPopupMenu; class ExtDateInternalWeekSelector : public KLineEdit { Q_OBJECT - TQ_OBJECT + protected: TQIntValidator *val; int result; @@ -69,7 +69,7 @@ private: class ExtDateInternalMonthPicker : public TQGridView { Q_OBJECT - TQ_OBJECT + protected: /** * Store the month that has been clicked [1..12]. @@ -143,7 +143,7 @@ private: class ExtDateInternalYearSelector : public TQLineEdit { Q_OBJECT - TQ_OBJECT + protected: TQIntValidator *val; int result; @@ -180,7 +180,7 @@ private: class KPopupFrame : public TQFrame { Q_OBJECT - TQ_OBJECT + protected: /** * The result. It is returned from exec() when the popup window closes. @@ -269,7 +269,7 @@ public: class ExtDateTable : public TQGridView { Q_OBJECT - TQ_OBJECT + //TQ_PROPERTY( ExtDate date READ getDate WRITE setDate ) TQ_PROPERTY( bool popupMenu READ popupMenuEnabled WRITE setPopupMenuEnabled ) diff --git a/libtdeedu/extdate/extdatetimeedit.h b/libtdeedu/extdate/extdatetimeedit.h index 13520923..ff3c7625 100644 --- a/libtdeedu/extdate/extdatetimeedit.h +++ b/libtdeedu/extdate/extdatetimeedit.h @@ -38,7 +38,7 @@ class TQTimeEdit; class ExtDateTimeEditBase : public TQWidget { Q_OBJECT - TQ_OBJECT + public: ExtDateTimeEditBase( TQWidget* parent=0, const char* name=0 ) : TQWidget( parent, name ) {} @@ -64,7 +64,7 @@ class ExtDateEditPrivate; class KDE_EXPORT ExtDateEdit : public ExtDateTimeEditBase { Q_OBJECT - TQ_OBJECT + Q_ENUMS( Order ) TQ_PROPERTY( Order order READ order WRITE setOrder ) // TQ_PROPERTY( ExtDate date READ date WRITE setDate ) @@ -148,7 +148,7 @@ private: // class TQ_EXPORT TQTimeEdit : public ExtDateTimeEditBase // { // Q_OBJECT -// TQ_OBJECT +// // TQ_SETS( Display ) // TQ_PROPERTY( TQTime time READ time WRITE setTime ) // TQ_PROPERTY( bool autoAdvance READ autoAdvance WRITE setAutoAdvance ) @@ -233,7 +233,7 @@ class ExtDateTimeEditPrivate; class KDE_EXPORT ExtDateTimeEdit : public TQWidget { Q_OBJECT - TQ_OBJECT + // TQ_PROPERTY( ExtDateTime dateTime READ dateTime WRITE setDateTime ) public: @@ -308,7 +308,7 @@ class ExtDateTimeEditorPrivate; class ExtDateTimeEditor : public TQWidget { Q_OBJECT - TQ_OBJECT + public: ExtDateTimeEditor( ExtDateTimeEditBase * parent=0, const char * name=0 ); @@ -344,7 +344,7 @@ private: class ExtDateTimeSpinWidget : public TQSpinWidget { Q_OBJECT - TQ_OBJECT + public: ExtDateTimeSpinWidget( TQWidget *parent, const char *name ) : TQSpinWidget( parent, name ) diff --git a/libtdeedu/extdate/extdatewidget.h b/libtdeedu/extdate/extdatewidget.h index 4df9931a..99c0c5fd 100644 --- a/libtdeedu/extdate/extdatewidget.h +++ b/libtdeedu/extdate/extdatewidget.h @@ -35,7 +35,7 @@ class KDE_EXPORT ExtDateWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + // TQ_PROPERTY( ExtDate date READ date WRITE setDate ) public: diff --git a/libtdeedu/extdate/testwidget.h b/libtdeedu/extdate/testwidget.h index a6ced942..c05e74ea 100644 --- a/libtdeedu/extdate/testwidget.h +++ b/libtdeedu/extdate/testwidget.h @@ -31,7 +31,7 @@ class ExtDate; class TestWidget : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: TestWidget( TQWidget *parent, const char *name ); ~TestWidget() {} diff --git a/libtdeedu/tdeeduplot/kplotwidget.h b/libtdeedu/tdeeduplot/kplotwidget.h index 7dd3f1f4..fd3504df 100644 --- a/libtdeedu/tdeeduplot/kplotwidget.h +++ b/libtdeedu/tdeeduplot/kplotwidget.h @@ -40,7 +40,7 @@ class TQPixmap; class KDE_EXPORT KPlotWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: /**@short Constructor. Sets the primary x and y limits in data units. *@param x1 the minimum X value in data units diff --git a/libtdeedu/tdeeduui/kedusimpleentrydlg.h b/libtdeedu/tdeeduui/kedusimpleentrydlg.h index d84fe00c..ae560f76 100644 --- a/libtdeedu/tdeeduui/kedusimpleentrydlg.h +++ b/libtdeedu/tdeeduui/kedusimpleentrydlg.h @@ -7,7 +7,7 @@ class KEduSimpleEntryDlg : public KEduSimpleEntryDlgForm { Q_OBJECT - TQ_OBJECT + public: diff --git a/libtdeedu/tdeeduui/tdeeduglossary.h b/libtdeedu/tdeeduui/tdeeduglossary.h index 629466d4..c77b2135 100644 --- a/libtdeedu/tdeeduui/tdeeduglossary.h +++ b/libtdeedu/tdeeduui/tdeeduglossary.h @@ -240,7 +240,7 @@ class GlossaryItem class GlossaryDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: GlossaryDialog( bool folded = true, TQWidget *parent=0, const char *name=0); -- cgit v1.2.1