summaryrefslogtreecommitdiffstats
path: root/libkdeedu/extdate/extdatepicker.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdeedu/extdate/extdatepicker.h')
-rw-r--r--libkdeedu/extdate/extdatepicker.h21
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