diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 20:22:52 +0900 |
commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kspread/plugins/insertcalendar/kspread_insertcalendardialog.cpp | |
parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
download | koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kspread/plugins/insertcalendar/kspread_insertcalendardialog.cpp')
-rw-r--r-- | kspread/plugins/insertcalendar/kspread_insertcalendardialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kspread/plugins/insertcalendar/kspread_insertcalendardialog.cpp b/kspread/plugins/insertcalendar/kspread_insertcalendardialog.cpp index 0311c913..5b8607d9 100644 --- a/kspread/plugins/insertcalendar/kspread_insertcalendardialog.cpp +++ b/kspread/plugins/insertcalendar/kspread_insertcalendardialog.cpp @@ -48,11 +48,11 @@ InsertCalendarDialog::InsertCalendarDialog(TQWidget* parent, const char* name) this->m_startDateWidget->setDate(first_day_in_month); this->m_endDateWidget->setDate(last_day_in_month); - connect(this->m_selectStartDateButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(showStartDatePicker())); - connect(this->m_selectEndDateButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(showEndDatePicker())); + connect(this->m_selectStartDateButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(showStartDatePicker())); + connect(this->m_selectEndDateButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(showEndDatePicker())); - connect(this->m_insertButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(accept())); - connect(this->m_cancelButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(reject())); + connect(this->m_insertButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(accept())); + connect(this->m_cancelButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(reject())); } InsertCalendarDialog::~InsertCalendarDialog() @@ -73,7 +73,7 @@ bool InsertCalendarDialog::buildDatePickerFrame() if (!m_datePicker) return false; - connect(m_datePicker,TQT_SIGNAL(destroyed()),this,TQT_SLOT(datePickerDeleted())); + connect(m_datePicker,TQ_SIGNAL(destroyed()),this,TQ_SLOT(datePickerDeleted())); m_datePicker->setCloseButton(true); m_datePicker->move(this->x()+this->width(),this->y()); @@ -109,8 +109,8 @@ void InsertCalendarDialog::showStartDatePicker() { if (buildDatePickerFrame()) { - connect(m_datePicker,TQT_SIGNAL(dateSelected(TQDate)),this,TQT_SLOT(setStartDate(TQDate))); - connect(m_datePicker,TQT_SIGNAL(dateEntered(TQDate)),this,TQT_SLOT(setStartDate(TQDate))); + connect(m_datePicker,TQ_SIGNAL(dateSelected(TQDate)),this,TQ_SLOT(setStartDate(TQDate))); + connect(m_datePicker,TQ_SIGNAL(dateEntered(TQDate)),this,TQ_SLOT(setStartDate(TQDate))); m_datePicker->setDate(startDate()); } } @@ -119,8 +119,8 @@ void InsertCalendarDialog::showEndDatePicker() { if (buildDatePickerFrame()) { - connect(m_datePicker,TQT_SIGNAL(dateSelected(TQDate)),this,TQT_SLOT(setEndDate(TQDate))); - connect(m_datePicker,TQT_SIGNAL(dateEntered(TQDate)),this,TQT_SLOT(setEndDate(TQDate))); + connect(m_datePicker,TQ_SIGNAL(dateSelected(TQDate)),this,TQ_SLOT(setEndDate(TQDate))); + connect(m_datePicker,TQ_SIGNAL(dateEntered(TQDate)),this,TQ_SLOT(setEndDate(TQDate))); m_datePicker->setDate(endDate()); } } |