From 3b3f9ec8f31978030c17309fae48335bea5c1587 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Sun, 14 Jan 2024 12:33:20 +0900
Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 korganizer/koagenda.cpp | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

(limited to 'korganizer/koagenda.cpp')

diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 0ed158580..b7a0e1de5 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -69,7 +69,7 @@ MarcusBains::MarcusBains(KOAgenda *_agenda,const char *name )
   setMargin(0);
   setBackgroundColor(TQt::red);
   minutes = new TQTimer(this);
-  connect(minutes, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateLocation()));
+  connect(minutes, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateLocation()));
   minutes->start(0, true);
 
   mTimeBox = new TQLabel(this);
@@ -257,8 +257,8 @@ void KOAgenda::init()
   // effect. Has to be fixed.
   setFocusPolicy( TQWidget::WheelFocus );
 
-  connect( &mScrollUpTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( scrollUp() ) );
-  connect( &mScrollDownTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( scrollDown() ) );
+  connect( &mScrollUpTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( scrollUp() ) );
+  connect( &mScrollDownTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( scrollDown() ) );
 
   mStartCell = TQPoint( 0, 0 );
   mEndCell = TQPoint( 0, 0 );
@@ -305,8 +305,8 @@ void KOAgenda::init()
 
   calculateWorkingHours();
 
-  connect( verticalScrollBar(), TQT_SIGNAL( valueChanged( int ) ),
-           TQT_SLOT( checkScrollBoundaries( int ) ) );
+  connect( verticalScrollBar(), TQ_SIGNAL( valueChanged( int ) ),
+           TQ_SLOT( checkScrollBoundaries( int ) ) );
 
   // Create the Marcus Bains line.
   if( mAllDayMode ) {
@@ -1604,10 +1604,10 @@ KOAgendaItem *KOAgenda::insertItem( Incidence *incidence, const TQDate &qd, int
   mActionType = NOP;
 
   KOAgendaItem *agendaItem = new KOAgendaItem( mCalendar, incidence, qd, viewport(), itemPos, itemCount );
-  connect( agendaItem, TQT_SIGNAL( removeAgendaItem( KOAgendaItem * ) ),
-           TQT_SLOT( removeAgendaItem( KOAgendaItem * ) ) );
-  connect( agendaItem, TQT_SIGNAL( showAgendaItem( KOAgendaItem * ) ),
-           TQT_SLOT( showAgendaItem( KOAgendaItem * ) ) );
+  connect( agendaItem, TQ_SIGNAL( removeAgendaItem( KOAgendaItem * ) ),
+           TQ_SLOT( removeAgendaItem( KOAgendaItem * ) ) );
+  connect( agendaItem, TQ_SIGNAL( showAgendaItem( KOAgendaItem * ) ),
+           TQ_SLOT( showAgendaItem( KOAgendaItem * ) ) );
 
   if ( YBottom <= YTop ) {
     kdDebug(5850) << "KOAgenda::insertItem(): Text: " << agendaItem->text() << " YSize<0" << endl;
@@ -1649,10 +1649,10 @@ KOAgendaItem *KOAgenda::insertAllDayItem( Incidence *event, const TQDate &qd,
   mActionType = NOP;
 
   KOAgendaItem *agendaItem = new KOAgendaItem( mCalendar, event, qd, viewport(), 1, 1 );
-  connect( agendaItem, TQT_SIGNAL( removeAgendaItem( KOAgendaItem* ) ),
-           TQT_SLOT( removeAgendaItem( KOAgendaItem* ) ) );
-  connect( agendaItem, TQT_SIGNAL( showAgendaItem( KOAgendaItem* ) ),
-           TQT_SLOT( showAgendaItem( KOAgendaItem* ) ) );
+  connect( agendaItem, TQ_SIGNAL( removeAgendaItem( KOAgendaItem* ) ),
+           TQ_SLOT( removeAgendaItem( KOAgendaItem* ) ) );
+  connect( agendaItem, TQ_SIGNAL( showAgendaItem( KOAgendaItem* ) ),
+           TQ_SLOT( showAgendaItem( KOAgendaItem* ) ) );
 
   agendaItem->setCellXY( XBegin, 0, 0 );
   agendaItem->setCellXRight( XEnd );
@@ -1799,7 +1799,7 @@ bool KOAgenda::removeAgendaItem( KOAgendaItem *item )
 
   }
   mItemsToDelete.append( thisItem );
-  TQTimer::singleShot( 0, this, TQT_SLOT( deleteItemsToDelete() ) );
+  TQTimer::singleShot( 0, this, TQ_SLOT( deleteItemsToDelete() ) );
   return taken;
 }
 
@@ -1843,7 +1843,7 @@ void KOAgenda::resizeEvent ( TQResizeEvent *ev )
       mGridSpacingY = mDesiredGridSpacingY;
   }
   calculateWorkingHours();
-  TQTimer::singleShot( 0, this, TQT_SLOT( resizeAllContents() ) );
+  TQTimer::singleShot( 0, this, TQ_SLOT( resizeAllContents() ) );
   emit gridSpacingYChanged( mGridSpacingY * 4 );
   TQScrollView::resizeEvent(ev);
 }
-- 
cgit v1.2.1