From 691489dddc259e7d7c463bde3347d7cea780d54f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 5 Jan 2024 10:34:09 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/schedule.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/schedule.cpp') diff --git a/src/schedule.cpp b/src/schedule.cpp index 7ea7a22..02d11c4 100644 --- a/src/schedule.cpp +++ b/src/schedule.cpp @@ -80,8 +80,8 @@ Schedule::Schedule( TQWidget* parent, const char* name, bool modal, WFlags fl ) check_combo->insertItem( i18n("Once only on a specific date at")); layout->addWidget(check_combo,1,0); - connect( check_combo, SIGNAL(activated(int)),this, - SLOT(slotQueryDatePicker(int)) ); + connect( check_combo, TQ_SIGNAL(activated(int)),this, + TQ_SLOT(slotQueryDatePicker(int)) ); hour = new HMSTimeWidget( group ); @@ -109,15 +109,15 @@ Schedule::Schedule( TQWidget* parent, const char* name, bool modal, WFlags fl ) layout->addWidget(add,1,5); //add->setFixedSize(add->sizeHint()); - connect( add, SIGNAL(clicked()), - SLOT(slotScheduleScan()) ); + connect( add, TQ_SIGNAL(clicked()), + TQ_SLOT(slotScheduleScan()) ); TQPushButton* del = new TQPushButton ("Delete", group); layout->addWidget(del,1,6); //del->setFixedSize(del->sizeHint()); - connect( del, SIGNAL(clicked()), - SLOT(slotDelete()) ); + connect( del, TQ_SIGNAL(clicked()), + TQ_SLOT(slotDelete()) ); //schedulebox = new TQListView(group); @@ -146,8 +146,8 @@ Schedule::Schedule( TQWidget* parent, const char* name, bool modal, WFlags fl ) // KPushButton *pbCancel = new KPushButton(KStdGuiItem::cancel(), this, "pbCancel"); // h5->addWidget( pbCancel); - connect(pbOk, SIGNAL(clicked()), SLOT(slotOK())); -/* connect(pbCancel, SIGNAL(clicked()), SLOT(slotCancel()));*/ + connect(pbOk, TQ_SIGNAL(clicked()), TQ_SLOT(slotOK())); +/* connect(pbCancel, TQ_SIGNAL(clicked()), TQ_SLOT(slotCancel()));*/ schedulebox->hideCommand(); } @@ -169,8 +169,8 @@ void Schedule::slotQueryDatePicker(int) _calendar->move(TQPoint(x,y)); _calendar->show(); _calendar->setFocus(); - connect( _calendar, SIGNAL(signalSelectedDate(TQDate)),this, - SLOT(slotAddDateToCombo(TQDate)) ); + connect( _calendar, TQ_SIGNAL(signalSelectedDate(TQDate)),this, + TQ_SLOT(slotAddDateToCombo(TQDate)) ); } } @@ -495,10 +495,10 @@ void Schedule::getICEauth() *iceproc<start(KProcIO::NotifyOnExit); iceproc->closeWhenDone(); -- cgit v1.2.1