diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
commit | a374efce3a207b39514be3c52264091400ce297e (patch) | |
tree | 77bdf654b55826d4f59b53a5621310206bcaead1 /libkdeedu/extdate/extdatepicker.h | |
parent | f81a494f3957d5cf38c787973415597941934727 (diff) | |
download | tdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip |
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdeedu/extdate/extdatepicker.h')
-rw-r--r-- | libkdeedu/extdate/extdatepicker.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/libkdeedu/extdate/extdatepicker.h b/libkdeedu/extdate/extdatepicker.h index 8c745b52..fa4a1fef 100644 --- a/libkdeedu/extdate/extdatepicker.h +++ b/libkdeedu/extdate/extdatepicker.h @@ -49,26 +49,27 @@ class ExtDateTable; * * @short A date selection widget. **/ -class KDE_EXPORT ExtDatePicker: public QFrame +class KDE_EXPORT ExtDatePicker: public TQFrame { Q_OBJECT -// Q_PROPERTY( ExtDate date READ date WRITE setDate) - Q_PROPERTY( bool closeButton READ hasCloseButton WRITE setCloseButton ) - Q_PROPERTY( int fontSize READ fontSize WRITE setFontSize ) + 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 ) public: /** The usual constructor. The given date will be displayed * initially. **/ - ExtDatePicker(TQWidget *parent=0, - ExtDate=ExtDate::currentDate(), + ExtDatePicker(TQWidget *tqparent=0, + ExtDate=ExtDate::tqcurrentDate(), const char *name=0); /** The usual constructor. The given date will be displayed * initially. * @since 3.1 **/ - ExtDatePicker(TQWidget *parent, + ExtDatePicker(TQWidget *tqparent, ExtDate, const char *name, WFlags f); // ### KDE 4.0: Merge @@ -78,7 +79,7 @@ public: * current date. * @since 3.1 */ - ExtDatePicker( TQWidget *parent, const char *name ); + ExtDatePicker( TQWidget *tqparent, const char *name ); /** * The destructor. @@ -91,7 +92,7 @@ public: * size hint, try adding 28 to each of the reported numbers of * pixels. **/ - TQSize sizeHint() const; + TQSize tqsizeHint() const; /** * Sets the date. @@ -137,7 +138,7 @@ public: /** * By calling this method with @p enable = true, ExtDatePicker will show * a little close-button in the upper button-row. Clicking the - * close-button will cause the ExtDatePicker's topLevelWidget()'s close() + * close-button will cause the ExtDatePicker's tqtopLevelWidget()'s close() * method being called. This is mostly useful for toplevel datepickers * without a window manager decoration. * @see hasCloseButton |