summaryrefslogtreecommitdiffstats
path: root/korganizer/koagenda.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koagenda.cpp')
-rw-r--r--korganizer/koagenda.cpp30
1 files changed, 15 insertions, 15 deletions
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);
}