iFullScreen = true;
}
-void WindowManager::insertMeeting( Meeting *aMeeting )
-{
- iWeeklyView->insertMeeting( aMeeting );
-}
-
-void WindowManager::deleteMeeting( Meeting *aMeeting )
-{
- iWeeklyView->deleteMeeting( aMeeting );
-}
-
void WindowManager::showMeetingInfo( Meeting *aMeeting )
{
iMeetingInfo = new MeetingInfoDialog( aMeeting );
qDebug() << "WindowManager::showProgressBar( const QString & )";
if( iProgressBar == 0 ) {
iProgressBar = new ProgressBar( aText, aCancellable );
+ iProgressBar->setFixedSize( 600, 125 );
iProgressBar->show();
- connect( iProgressBar, SIGNAL( cancel() ), this, SIGNAL( progressBarCancelled() ) );
+ if( aCancellable )
+ connect( iProgressBar, SIGNAL( cancel() ), this, SIGNAL( progressBarCancelled() ) );
}
//TODO connect connect( iWeeklyView, SIGNAL( observedEventDetected() ), this, SIGNAL( observedEventDetected() ) );
if( iProgressBar != 0 )
iProgressBar->update( aMessage );
}
+
+void WindowManager::refreshMeetings( const QList<Meeting*> &aMeetings )
+{
+ qDebug() << "WindowManager::refreshMeetings()";
+ iWeeklyView->refreshMeetings( aMeetings );
+}