summaryrefslogtreecommitdiffstats
path: root/kspread/plugins/insertcalendar/kspread_insertcalendardialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/plugins/insertcalendar/kspread_insertcalendardialog.h')
-rw-r--r--kspread/plugins/insertcalendar/kspread_insertcalendardialog.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/kspread/plugins/insertcalendar/kspread_insertcalendardialog.h b/kspread/plugins/insertcalendar/kspread_insertcalendardialog.h
index f52c2e93..f68ab4c6 100644
--- a/kspread/plugins/insertcalendar/kspread_insertcalendardialog.h
+++ b/kspread/plugins/insertcalendar/kspread_insertcalendardialog.h
@@ -28,7 +28,7 @@
#include <kspread_insertcalendardialogbase.h>
#include <koffice_export.h>
-#include <qdatetime.h>
+#include <tqdatetime.h>
class KDatePicker;
@@ -38,6 +38,7 @@ namespace KSpread
class KSPREAD_EXPORT InsertCalendarDialog : public InsertCalendarDialogBase
{
Q_OBJECT
+ TQ_OBJECT
private:
@@ -55,7 +56,7 @@ class KSPREAD_EXPORT InsertCalendarDialog : public InsertCalendarDialogBase
* The dates in the dialog initialize to a complete calendar for the
* current month.
*/
- InsertCalendarDialog(QWidget* parent = 0, const char* name = 0);
+ InsertCalendarDialog(TQWidget* tqparent = 0, const char* name = 0);
/**
* Virtual destructor.
@@ -85,25 +86,25 @@ class KSPREAD_EXPORT InsertCalendarDialog : public InsertCalendarDialogBase
void datePickerDeleted();
/**
- * This slot is reimplemented from QDialog and
+ * This slot is reimplemented from TQDialog and
* is connected to the insert button.
* It also emits a insertCalendar signal.
*
* The dialog is closed (not deleted) when
* this slot is called.
*
- * @see insertCalendar, reject, QDialog::done
+ * @see insertCalendar, reject, TQDialog::done
*/
virtual void accept();
/**
- * This slot is reimplemented from QDialog and
+ * This slot is reimplemented from TQDialog and
* is connected to the cancel button.
*
* The dialog is closed (not deleted) when
* this slot is called.
*
- * @see accept, QDialog::done
+ * @see accept, TQDialog::done
*/
virtual void reject();
@@ -125,13 +126,13 @@ class KSPREAD_EXPORT InsertCalendarDialog : public InsertCalendarDialogBase
* Slot for setting the start date in the KDateWidget.
* Normally this slot is activated by a KDatePicker widget.
*/
- void setStartDate(QDate);
+ void setStartDate(TQDate);
/**
* Slot for setting the end date in the KDateWidget.
* Normally this slot is activated by a KDatePicker widget.
*/
- void setEndDate(QDate);
+ void setEndDate(TQDate);
public:
@@ -140,12 +141,12 @@ class KSPREAD_EXPORT InsertCalendarDialog : public InsertCalendarDialogBase
/**
* @returns the selected start date.
*/
- QDate startDate() const;
+ TQDate startDate() const;
/**
* @returns the selected end date.
*/
- QDate endDate() const;
+ TQDate endDate() const;
signals:
@@ -157,7 +158,7 @@ class KSPREAD_EXPORT InsertCalendarDialog : public InsertCalendarDialogBase
* insert calendar plugin to actually insert
* the calendar with the selected dates.
*/
- void insertCalendar(const QDate &from, const QDate &to);
+ void insertCalendar(const TQDate &from, const TQDate &to);
};
}