diff options
Diffstat (limited to 'libtdeedu/extdate')
-rw-r--r-- | libtdeedu/extdate/extdatepicker.h | 2 | ||||
-rw-r--r-- | libtdeedu/extdate/extdatetbl.h | 10 | ||||
-rw-r--r-- | libtdeedu/extdate/extdatetimeedit.h | 12 | ||||
-rw-r--r-- | libtdeedu/extdate/extdatewidget.h | 2 | ||||
-rw-r--r-- | libtdeedu/extdate/testwidget.h | 2 |
5 files changed, 14 insertions, 14 deletions
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() {} |