From 3b3f9ec8f31978030c17309fae48335bea5c1587 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 14 Jan 2024 12:33:20 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- korganizer/kogroupware.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'korganizer/kogroupware.cpp') diff --git a/korganizer/kogroupware.cpp b/korganizer/kogroupware.cpp index 6e86c8575..5c8342ac3 100644 --- a/korganizer/kogroupware.cpp +++ b/korganizer/kogroupware.cpp @@ -84,10 +84,10 @@ KOGroupware::KOGroupware( CalendarView* view, KCal::CalendarResources* cal ) watcher->addDir( locateLocal( "data", "korganizer/income.cancel/" ) ); watcher->addDir( locateLocal( "data", "korganizer/income.reply/" ) ); watcher->addDir( locateLocal( "data", "korganizer/income.delegated/" ) ); - connect( watcher, TQT_SIGNAL( dirty( const TQString& ) ), - this, TQT_SLOT( incomingDirChanged( const TQString& ) ) ); + connect( watcher, TQ_SIGNAL( dirty( const TQString& ) ), + this, TQ_SLOT( incomingDirChanged( const TQString& ) ) ); // Now set the ball rolling - TQTimer::singleShot( 0, this, TQT_SLOT(initialCheckForChanges()) ); + TQTimer::singleShot( 0, this, TQ_SLOT(initialCheckForChanges()) ); } void KOGroupware::initialCheckForChanges() @@ -103,12 +103,12 @@ void KOGroupware::initialCheckForChanges() void KOGroupware::slotViewNewIncidenceChanger( IncidenceChangerBase* changer ) { // Call slot perhapsUploadFB if an incidence was added, changed or removed - connect( changer, TQT_SIGNAL( incidenceAdded( Incidence* ) ), - mFreeBusyManager, TQT_SLOT( slotPerhapsUploadFB() ) ); - connect( changer, TQT_SIGNAL( incidenceChanged( Incidence*, Incidence*, KOGlobals::WhatChanged ) ), - mFreeBusyManager, TQT_SLOT( slotPerhapsUploadFB() ) ); - connect( changer, TQT_SIGNAL( incidenceDeleted( Incidence * ) ), - mFreeBusyManager, TQT_SLOT( slotPerhapsUploadFB() ) ); + connect( changer, TQ_SIGNAL( incidenceAdded( Incidence* ) ), + mFreeBusyManager, TQ_SLOT( slotPerhapsUploadFB() ) ); + connect( changer, TQ_SIGNAL( incidenceChanged( Incidence*, Incidence*, KOGlobals::WhatChanged ) ), + mFreeBusyManager, TQ_SLOT( slotPerhapsUploadFB() ) ); + connect( changer, TQ_SIGNAL( incidenceDeleted( Incidence * ) ), + mFreeBusyManager, TQ_SLOT( slotPerhapsUploadFB() ) ); } FreeBusyManager *KOGroupware::freeBusyManager() @@ -116,10 +116,10 @@ FreeBusyManager *KOGroupware::freeBusyManager() if ( !mFreeBusyManager ) { mFreeBusyManager = new FreeBusyManager( this, "freebusymanager" ); mFreeBusyManager->setCalendar( mCalendar ); - connect( mCalendar, TQT_SIGNAL( calendarChanged() ), - mFreeBusyManager, TQT_SLOT( slotPerhapsUploadFB() ) ); - connect( mView, TQT_SIGNAL( newIncidenceChanger( IncidenceChangerBase* ) ), - this, TQT_SLOT( slotViewNewIncidenceChanger( IncidenceChangerBase* ) ) ); + connect( mCalendar, TQ_SIGNAL( calendarChanged() ), + mFreeBusyManager, TQ_SLOT( slotPerhapsUploadFB() ) ); + connect( mView, TQ_SIGNAL( newIncidenceChanger( IncidenceChangerBase* ) ), + this, TQ_SLOT( slotViewNewIncidenceChanger( IncidenceChangerBase* ) ) ); slotViewNewIncidenceChanger( mView->incidenceChanger() ); } -- cgit v1.2.1