summaryrefslogtreecommitdiffstats
path: root/korganizer/calendarview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/calendarview.cpp')
-rw-r--r--korganizer/calendarview.cpp156
1 files changed, 78 insertions, 78 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index bffd525ee..dbee755fc 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -200,64 +200,64 @@ CalendarView::CalendarView( TQWidget *parent, const char *name )
#endif
// Signals emited by mDateNavigator
- connect( mDateNavigator, TQT_SIGNAL( datesSelected( const KCal::DateList &, const TQDate & ) ),
- TQT_SLOT( showDates( const KCal::DateList &, const TQDate & ) ) );
+ connect( mDateNavigator, TQ_SIGNAL( datesSelected( const KCal::DateList &, const TQDate & ) ),
+ TQ_SLOT( showDates( const KCal::DateList &, const TQDate & ) ) );
// Signals emited by mNavigatorBar
- connect( mNavigatorBar, TQT_SIGNAL( prevYearClicked() ),
- mDateNavigator, TQT_SLOT( selectPreviousYear() ) );
- connect( mNavigatorBar, TQT_SIGNAL( nextYearClicked() ),
- mDateNavigator, TQT_SLOT( selectNextYear() ) );
- connect( mNavigatorBar, TQT_SIGNAL( prevMonthClicked() ),
- mDateNavigator, TQT_SLOT( selectPreviousMonth() ) );
- connect( mNavigatorBar, TQT_SIGNAL( nextMonthClicked() ),
- mDateNavigator, TQT_SLOT( selectNextMonth() ) );
- connect( mNavigatorBar, TQT_SIGNAL( monthSelected(int) ),
- mDateNavigator, TQT_SLOT( selectMonth(int) ) );
- connect( mNavigatorBar, TQT_SIGNAL( yearSelected(int)),
- mDateNavigator, TQT_SLOT(selectYear(int)) );
+ connect( mNavigatorBar, TQ_SIGNAL( prevYearClicked() ),
+ mDateNavigator, TQ_SLOT( selectPreviousYear() ) );
+ connect( mNavigatorBar, TQ_SIGNAL( nextYearClicked() ),
+ mDateNavigator, TQ_SLOT( selectNextYear() ) );
+ connect( mNavigatorBar, TQ_SIGNAL( prevMonthClicked() ),
+ mDateNavigator, TQ_SLOT( selectPreviousMonth() ) );
+ connect( mNavigatorBar, TQ_SIGNAL( nextMonthClicked() ),
+ mDateNavigator, TQ_SLOT( selectNextMonth() ) );
+ connect( mNavigatorBar, TQ_SIGNAL( monthSelected(int) ),
+ mDateNavigator, TQ_SLOT( selectMonth(int) ) );
+ connect( mNavigatorBar, TQ_SIGNAL( yearSelected(int)),
+ mDateNavigator, TQ_SLOT(selectYear(int)) );
// Signals emited by mDateNavigatorContainer
- connect( mDateNavigatorContainer, TQT_SIGNAL( weekClicked( const TQDate & ) ),
- this, TQT_SLOT( selectWeek( const TQDate & ) ) );
- connect( mDateNavigatorContainer, TQT_SIGNAL( prevMonthClicked(const TQDate &, const TQDate &, const TQDate &) ),
- mDateNavigator, TQT_SLOT( selectPreviousMonth(const TQDate &, const TQDate &, const TQDate &) ) );
- connect( mDateNavigatorContainer, TQT_SIGNAL( nextMonthClicked(const TQDate &, const TQDate &, const TQDate &) ),
- mDateNavigator, TQT_SLOT( selectNextMonth(const TQDate &, const TQDate &, const TQDate &) ) );
- connect( mDateNavigatorContainer, TQT_SIGNAL( prevYearClicked() ),
- mDateNavigator, TQT_SLOT( selectPreviousYear() ) );
- connect( mDateNavigatorContainer, TQT_SIGNAL( nextYearClicked() ),
- mDateNavigator, TQT_SLOT( selectNextYear() ) );
- connect( mDateNavigatorContainer, TQT_SIGNAL( monthSelected(int) ),
- mDateNavigator, TQT_SLOT( selectMonth(int) ) );
- connect( mDateNavigatorContainer, TQT_SIGNAL(yearSelected(int)),
- mDateNavigator, TQT_SLOT(selectYear(int)) );
- connect( mDateNavigatorContainer, TQT_SIGNAL( goPrevious() ),
- mDateNavigator, TQT_SLOT( selectPrevious() ) );
- connect( mDateNavigatorContainer, TQT_SIGNAL( goNext() ),
- mDateNavigator, TQT_SLOT( selectNext() ) );
-
- connect( mDateNavigatorContainer, TQT_SIGNAL( datesSelected( const KCal::DateList & ) ),
- mDateNavigator, TQT_SLOT( selectDates( const KCal::DateList & ) ) );
-
- connect( mDateNavigatorContainer, TQT_SIGNAL(incidenceDropped(Incidence*, const TQDate&)),
- TQT_SLOT( addIncidenceOn( Incidence *, const TQDate & ) ) );
- connect( mDateNavigatorContainer, TQT_SIGNAL(incidenceDroppedMove(Incidence*,const TQDate&)),
- TQT_SLOT( moveIncidenceTo( Incidence *, const TQDate & ) ) );
-
- connect( mDateChecker, TQT_SIGNAL( dayPassed( const TQDate & ) ),
- mTodoList, TQT_SLOT( dayPassed( const TQDate & ) ) );
- connect( mDateChecker, TQT_SIGNAL( dayPassed( const TQDate & ) ),
- TQT_SIGNAL( dayPassed( const TQDate & ) ) );
- connect( mDateChecker, TQT_SIGNAL( dayPassed( const TQDate & ) ),
- mDateNavigatorContainer, TQT_SLOT( updateToday() ) );
-
- connect( this, TQT_SIGNAL( configChanged() ),
- mDateNavigatorContainer, TQT_SLOT( updateConfig() ) );
-
- connect( this, TQT_SIGNAL( incidenceSelected(Incidence *, const TQDate &) ),
- mEventViewer, TQT_SLOT ( setIncidence (Incidence *, const TQDate &) ) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL( weekClicked( const TQDate & ) ),
+ this, TQ_SLOT( selectWeek( const TQDate & ) ) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL( prevMonthClicked(const TQDate &, const TQDate &, const TQDate &) ),
+ mDateNavigator, TQ_SLOT( selectPreviousMonth(const TQDate &, const TQDate &, const TQDate &) ) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL( nextMonthClicked(const TQDate &, const TQDate &, const TQDate &) ),
+ mDateNavigator, TQ_SLOT( selectNextMonth(const TQDate &, const TQDate &, const TQDate &) ) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL( prevYearClicked() ),
+ mDateNavigator, TQ_SLOT( selectPreviousYear() ) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL( nextYearClicked() ),
+ mDateNavigator, TQ_SLOT( selectNextYear() ) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL( monthSelected(int) ),
+ mDateNavigator, TQ_SLOT( selectMonth(int) ) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL(yearSelected(int)),
+ mDateNavigator, TQ_SLOT(selectYear(int)) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL( goPrevious() ),
+ mDateNavigator, TQ_SLOT( selectPrevious() ) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL( goNext() ),
+ mDateNavigator, TQ_SLOT( selectNext() ) );
+
+ connect( mDateNavigatorContainer, TQ_SIGNAL( datesSelected( const KCal::DateList & ) ),
+ mDateNavigator, TQ_SLOT( selectDates( const KCal::DateList & ) ) );
+
+ connect( mDateNavigatorContainer, TQ_SIGNAL(incidenceDropped(Incidence*, const TQDate&)),
+ TQ_SLOT( addIncidenceOn( Incidence *, const TQDate & ) ) );
+ connect( mDateNavigatorContainer, TQ_SIGNAL(incidenceDroppedMove(Incidence*,const TQDate&)),
+ TQ_SLOT( moveIncidenceTo( Incidence *, const TQDate & ) ) );
+
+ connect( mDateChecker, TQ_SIGNAL( dayPassed( const TQDate & ) ),
+ mTodoList, TQ_SLOT( dayPassed( const TQDate & ) ) );
+ connect( mDateChecker, TQ_SIGNAL( dayPassed( const TQDate & ) ),
+ TQ_SIGNAL( dayPassed( const TQDate & ) ) );
+ connect( mDateChecker, TQ_SIGNAL( dayPassed( const TQDate & ) ),
+ mDateNavigatorContainer, TQ_SLOT( updateToday() ) );
+
+ connect( this, TQ_SIGNAL( configChanged() ),
+ mDateNavigatorContainer, TQ_SLOT( updateConfig() ) );
+
+ connect( this, TQ_SIGNAL( incidenceSelected(Incidence *, const TQDate &) ),
+ mEventViewer, TQ_SLOT ( setIncidence (Incidence *, const TQDate &) ) );
//TODO: do a pretty Summary,
TQString s;
@@ -277,13 +277,13 @@ CalendarView::CalendarView( TQWidget *parent, const char *name )
KOGlobals::self()->
setHolidays( new KHolidays( KOPrefs::instance()->mHolidays ) );
- connect( TQApplication::clipboard(), TQT_SIGNAL( dataChanged() ),
- TQT_SLOT( checkClipboard() ) );
+ connect( TQApplication::clipboard(), TQ_SIGNAL( dataChanged() ),
+ TQ_SLOT( checkClipboard() ) );
- connect( mTodoList, TQT_SIGNAL( incidenceSelected( Incidence *,const TQDate & ) ),
- TQT_SLOT( processTodoListSelection( Incidence *,const TQDate & ) ) );
- disconnect( mTodoList, TQT_SIGNAL( incidenceSelected( Incidence *,const TQDate & ) ),
- this, TQT_SLOT( processMainViewSelection( Incidence *,const TQDate & ) ) );
+ connect( mTodoList, TQ_SIGNAL( incidenceSelected( Incidence *,const TQDate & ) ),
+ TQ_SLOT( processTodoListSelection( Incidence *,const TQDate & ) ) );
+ disconnect( mTodoList, TQ_SIGNAL( incidenceSelected( Incidence *,const TQDate & ) ),
+ this, TQ_SLOT( processMainViewSelection( Incidence *,const TQDate & ) ) );
kdDebug(5850) << "CalendarView::CalendarView() done" << endl;
}
@@ -307,8 +307,8 @@ void CalendarView::setCalendar( Calendar *cal )
delete mHistory;
mHistory = new History( mCalendar );
- connect( mHistory, TQT_SIGNAL( undone() ), TQT_SLOT( updateView() ) );
- connect( mHistory, TQT_SIGNAL( redone() ), TQT_SLOT( updateView() ) );
+ connect( mHistory, TQ_SIGNAL( undone() ), TQ_SLOT( updateView() ) );
+ connect( mHistory, TQ_SIGNAL( redone() ), TQ_SLOT( updateView() ) );
if ( mChanger ) delete mChanger;
setIncidenceChanger( new IncidenceChanger( mCalendar, this ) );
@@ -326,21 +326,21 @@ void CalendarView::setIncidenceChanger( IncidenceChangerBase *changer )
{
mChanger = changer;
emit newIncidenceChanger( mChanger );
- connect( mChanger, TQT_SIGNAL( incidenceAdded( Incidence* ) ),
- this, TQT_SLOT( incidenceAdded( Incidence* ) ) );
- connect( mChanger, TQT_SIGNAL( incidenceChanged( Incidence*, Incidence*, KOGlobals::WhatChanged ) ),
- this, TQT_SLOT( incidenceChanged( Incidence*, Incidence*, KOGlobals::WhatChanged ) ) );
- connect( mChanger, TQT_SIGNAL( incidenceToBeDeleted( Incidence * ) ),
- this, TQT_SLOT( incidenceToBeDeleted( Incidence * ) ) );
- connect( mChanger, TQT_SIGNAL( incidenceDeleted( Incidence * ) ),
- this, TQT_SLOT( incidenceDeleted( Incidence * ) ) );
+ connect( mChanger, TQ_SIGNAL( incidenceAdded( Incidence* ) ),
+ this, TQ_SLOT( incidenceAdded( Incidence* ) ) );
+ connect( mChanger, TQ_SIGNAL( incidenceChanged( Incidence*, Incidence*, KOGlobals::WhatChanged ) ),
+ this, TQ_SLOT( incidenceChanged( Incidence*, Incidence*, KOGlobals::WhatChanged ) ) );
+ connect( mChanger, TQ_SIGNAL( incidenceToBeDeleted( Incidence * ) ),
+ this, TQ_SLOT( incidenceToBeDeleted( Incidence * ) ) );
+ connect( mChanger, TQ_SIGNAL( incidenceDeleted( Incidence * ) ),
+ this, TQ_SLOT( incidenceDeleted( Incidence * ) ) );
- connect( mChanger, TQT_SIGNAL( schedule( Scheduler::Method, Incidence*) ),
- this, TQT_SLOT( schedule( Scheduler::Method, Incidence*) ) );
+ connect( mChanger, TQ_SIGNAL( schedule( Scheduler::Method, Incidence*) ),
+ this, TQ_SLOT( schedule( Scheduler::Method, Incidence*) ) );
- connect( this, TQT_SIGNAL( cancelAttendees( Incidence * ) ),
- mChanger, TQT_SLOT( cancelAttendees( Incidence * ) ) );
+ connect( this, TQ_SIGNAL( cancelAttendees( Incidence * ) ),
+ mChanger, TQ_SLOT( cancelAttendees( Incidence * ) ) );
}
Calendar *CalendarView::calendar()
@@ -1776,7 +1776,7 @@ void CalendarView::print()
#ifndef KORG_NOPRINTER
KOCoreHelper helper;
CalPrinter printer( this, mCalendar, &helper );
- connect( this, TQT_SIGNAL(configChanged()), &printer, TQT_SLOT(updateConfig()) );
+ connect( this, TQ_SIGNAL(configChanged()), &printer, TQ_SLOT(updateConfig()) );
KOrg::BaseView *currentView = mViewManager->currentView();
@@ -1802,8 +1802,8 @@ void CalendarView::exportWeb()
// seem to load the config theirselves
if ( settings ) settings->readConfig();
ExportWebDialog *dlg = new ExportWebDialog( settings, this );
- connect( dlg, TQT_SIGNAL( exportHTML( HTMLExportSettings* ) ),
- this, TQT_SIGNAL( exportHTML( HTMLExportSettings* ) ) );
+ connect( dlg, TQ_SIGNAL( exportHTML( HTMLExportSettings* ) ),
+ this, TQ_SIGNAL( exportHTML( HTMLExportSettings* ) ) );
dlg->show();
}
@@ -2472,8 +2472,8 @@ void CalendarView::deleteIncidence(Incidence *incidence, bool force)
void CalendarView::connectIncidenceEditor( KOIncidenceEditor *editor )
{
- connect( this, TQT_SIGNAL( newIncidenceChanger( IncidenceChangerBase* ) ),
- editor, TQT_SLOT( setIncidenceChanger( IncidenceChangerBase* ) ) );
+ connect( this, TQ_SIGNAL( newIncidenceChanger( IncidenceChangerBase* ) ),
+ editor, TQ_SLOT( setIncidenceChanger( IncidenceChangerBase* ) ) );
editor->setIncidenceChanger( mChanger );
}