summaryrefslogtreecommitdiffstats
path: root/korganizer/multiagendaview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/multiagendaview.cpp')
-rw-r--r--korganizer/multiagendaview.cpp106
1 files changed, 53 insertions, 53 deletions
diff --git a/korganizer/multiagendaview.cpp b/korganizer/multiagendaview.cpp
index cc21b2491..e900fa481 100644
--- a/korganizer/multiagendaview.cpp
+++ b/korganizer/multiagendaview.cpp
@@ -142,13 +142,13 @@ void MultiAgendaView::recreateViews()
}
setupViews();
- TQTimer::singleShot( 0, this, TQT_SLOT(slotResizeScrollView()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(slotResizeScrollView()) );
mTimeLabels->updateConfig();
- connect( mTimeLabels->verticalScrollBar(), TQT_SIGNAL(valueChanged(int)),
- mScrollBar, TQT_SLOT(setValue(int)) );
- connect( mScrollBar, TQT_SIGNAL(valueChanged(int)),
- mTimeLabels, TQT_SLOT(positionChanged(int)) );
+ connect( mTimeLabels->verticalScrollBar(), TQ_SIGNAL(valueChanged(int)),
+ mScrollBar, TQ_SLOT(setValue(int)) );
+ connect( mScrollBar, TQ_SIGNAL(valueChanged(int)),
+ mTimeLabels, TQ_SLOT(positionChanged(int)) );
installSplitterEventFilter( mLeftSplitter );
installSplitterEventFilter( mRightSplitter );
@@ -163,7 +163,7 @@ void MultiAgendaView::recreateViews()
mLeftSplitter->setSizes( sizes );
mRightSplitter->setSizes( sizes );
- TQTimer::singleShot( 0, this, TQT_SLOT(setupScrollBar()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(setupScrollBar()) );
mTimeLabels->positionChanged();
}
@@ -185,79 +185,79 @@ void MultiAgendaView::setupViews()
FOREACH_VIEW( agenda ) {
if ( !agenda->readOnly() ) {
connect( agenda,
- TQT_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &)),
- TQT_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &)) );
+ TQ_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &)),
+ TQ_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &)) );
connect( agenda,
- TQT_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDate &)),
- TQT_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDate &)) );
+ TQ_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDate &)),
+ TQ_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDate &)) );
connect( agenda,
- TQT_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDateTime &)),
- TQT_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDateTime &)) );
+ TQ_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDateTime &)),
+ TQ_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDateTime &)) );
connect( agenda,
- TQT_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDateTime &,const TQDateTime &)),
- TQT_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDateTime &,const TQDateTime&)) );
+ TQ_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDateTime &,const TQDateTime &)),
+ TQ_SIGNAL(newEventSignal(ResourceCalendar *,const TQString &,const TQDateTime &,const TQDateTime&)) );
connect( agenda,
- TQT_SIGNAL(newTodoSignal(ResourceCalendar *,const TQString &,const TQDate &)),
- TQT_SIGNAL(newTodoSignal(ResourceCalendar *,const TQString &,const TQDate &)) );
+ TQ_SIGNAL(newTodoSignal(ResourceCalendar *,const TQString &,const TQDate &)),
+ TQ_SIGNAL(newTodoSignal(ResourceCalendar *,const TQString &,const TQDate &)) );
connect( agenda,
- TQT_SIGNAL(editIncidenceSignal(Incidence *,const TQDate &)),
- TQT_SIGNAL(editIncidenceSignal(Incidence *,const TQDate &)) );
+ TQ_SIGNAL(editIncidenceSignal(Incidence *,const TQDate &)),
+ TQ_SIGNAL(editIncidenceSignal(Incidence *,const TQDate &)) );
connect( agenda,
- TQT_SIGNAL(deleteIncidenceSignal(Incidence *)),
- TQT_SIGNAL(deleteIncidenceSignal(Incidence *)) );
+ TQ_SIGNAL(deleteIncidenceSignal(Incidence *)),
+ TQ_SIGNAL(deleteIncidenceSignal(Incidence *)) );
connect( agenda,
- TQT_SIGNAL(startMultiModify(const TQString &)),
- TQT_SIGNAL(startMultiModify(const TQString &)) );
+ TQ_SIGNAL(startMultiModify(const TQString &)),
+ TQ_SIGNAL(startMultiModify(const TQString &)) );
connect( agenda,
- TQT_SIGNAL(endMultiModify()),
- TQT_SIGNAL(endMultiModify()) );
+ TQ_SIGNAL(endMultiModify()),
+ TQ_SIGNAL(endMultiModify()) );
connect( agenda,
- TQT_SIGNAL(cutIncidenceSignal(Incidence*)),
- TQT_SIGNAL(cutIncidenceSignal(Incidence*)) );
+ TQ_SIGNAL(cutIncidenceSignal(Incidence*)),
+ TQ_SIGNAL(cutIncidenceSignal(Incidence*)) );
connect( agenda,
- TQT_SIGNAL(pasteIncidenceSignal()),
- TQT_SIGNAL(pasteIncidenceSignal()) );
+ TQ_SIGNAL(pasteIncidenceSignal()),
+ TQ_SIGNAL(pasteIncidenceSignal()) );
connect( agenda,
- TQT_SIGNAL(toggleAlarmSignal(Incidence*)),
- TQT_SIGNAL(toggleAlarmSignal(Incidence*)) );
+ TQ_SIGNAL(toggleAlarmSignal(Incidence*)),
+ TQ_SIGNAL(toggleAlarmSignal(Incidence*)) );
connect( agenda,
- TQT_SIGNAL(dissociateOccurrenceSignal(Incidence*, const TQDate&)),
- TQT_SIGNAL(dissociateOccurrenceSignal(Incidence*, const TQDate&)) );
+ TQ_SIGNAL(dissociateOccurrenceSignal(Incidence*, const TQDate&)),
+ TQ_SIGNAL(dissociateOccurrenceSignal(Incidence*, const TQDate&)) );
connect( agenda,
- TQT_SIGNAL(dissociateFutureOccurrenceSignal(Incidence*, const TQDate&)),
- TQT_SIGNAL(dissociateFutureOccurrenceSignal(Incidence*, const TQDate&)) );
+ TQ_SIGNAL(dissociateFutureOccurrenceSignal(Incidence*, const TQDate&)),
+ TQ_SIGNAL(dissociateFutureOccurrenceSignal(Incidence*, const TQDate&)) );
}
connect( agenda,
- TQT_SIGNAL(copyIncidenceSignal(Incidence*)),
- TQT_SIGNAL(copyIncidenceSignal(Incidence*)) );
+ TQ_SIGNAL(copyIncidenceSignal(Incidence*)),
+ TQ_SIGNAL(copyIncidenceSignal(Incidence*)) );
connect( agenda,
- TQT_SIGNAL(showIncidenceSignal(Incidence *,const TQDate &)),
- TQT_SIGNAL(showIncidenceSignal(Incidence *,const TQDate &)) );
+ TQ_SIGNAL(showIncidenceSignal(Incidence *,const TQDate &)),
+ TQ_SIGNAL(showIncidenceSignal(Incidence *,const TQDate &)) );
connect( agenda,
- TQT_SIGNAL(incidenceSelected(Incidence *,const TQDate &)),
- TQT_SIGNAL(incidenceSelected(Incidence *,const TQDate &)) );
+ TQ_SIGNAL(incidenceSelected(Incidence *,const TQDate &)),
+ TQ_SIGNAL(incidenceSelected(Incidence *,const TQDate &)) );
connect( agenda,
- TQT_SIGNAL(incidenceSelected(Incidence*,const TQDate &)),
- TQT_SLOT(slotSelectionChanged()) );
+ TQ_SIGNAL(incidenceSelected(Incidence*,const TQDate &)),
+ TQ_SLOT(slotSelectionChanged()) );
connect( agenda,
- TQT_SIGNAL(timeSpanSelectionChanged()),
- TQT_SLOT(slotClearTimeSpanSelection()) );
+ TQ_SIGNAL(timeSpanSelectionChanged()),
+ TQ_SLOT(slotClearTimeSpanSelection()) );
disconnect( agenda->agenda(),
- TQT_SIGNAL(zoomView(const int,const TQPoint&,const TQt::Orientation)),
+ TQ_SIGNAL(zoomView(const int,const TQPoint&,const TQt::Orientation)),
agenda, 0 );
connect( agenda->agenda(),
- TQT_SIGNAL(zoomView(const int,const TQPoint&,const TQt::Orientation)),
- TQT_SLOT(zoomView(const int,const TQPoint&,const TQt::Orientation)) );
+ TQ_SIGNAL(zoomView(const int,const TQPoint&,const TQt::Orientation)),
+ TQ_SLOT(zoomView(const int,const TQPoint&,const TQt::Orientation)) );
}
KOAgenda *anAgenda = mAgendaViews.first()->agenda();
- connect( anAgenda, TQT_SIGNAL(lowerYChanged(int) ), TQT_SLOT(resizeSpacers(int)) );
+ connect( anAgenda, TQ_SIGNAL(lowerYChanged(int) ), TQ_SLOT(resizeSpacers(int)) );
FOREACH_VIEW( agenda ) {
agenda->readSettings();
@@ -409,10 +409,10 @@ void MultiAgendaView::addView( const TQString &label, ResourceCalendar *res, con
box->show();
mTimeLabels->setAgenda( av->agenda() );
- connect( av->agenda()->verticalScrollBar(), TQT_SIGNAL(valueChanged(int)),
- mTimeLabels, TQT_SLOT(positionChanged(int)) );
- connect( mTimeLabels->verticalScrollBar(), TQT_SIGNAL(valueChanged(int)),
- av, TQT_SLOT(setContentsPos(int)) );
+ connect( av->agenda()->verticalScrollBar(), TQ_SIGNAL(valueChanged(int)),
+ mTimeLabels, TQ_SLOT(positionChanged(int)) );
+ connect( mTimeLabels->verticalScrollBar(), TQ_SIGNAL(valueChanged(int)),
+ av, TQ_SLOT(setContentsPos(int)) );
av->installEventFilter( this );
installSplitterEventFilter( av->splitter() );
@@ -471,7 +471,7 @@ bool MultiAgendaView::eventFilter(TQObject * obj, TQEvent * event)
mLastMovedSplitter = mLeftSplitter;
else if ( mRightSplitter == obj->parent() )
mLastMovedSplitter = mRightSplitter;
- TQTimer::singleShot( 0, this, TQT_SLOT(resizeSplitters()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(resizeSplitters()) );
}
}