summaryrefslogtreecommitdiffabout
path: root/korganizer/koviewmanager.cpp
authorzautrix <zautrix>2005-01-27 07:29:29 (UTC)
committer zautrix <zautrix>2005-01-27 07:29:29 (UTC)
commitdb6adbdecaa74972df9e2b78b09f81b2d74752b2 (patch) (side-by-side diff)
tree69af62cb8748e1071539a6bca034f1acec0a6954 /korganizer/koviewmanager.cpp
parentf20b5e71f9ae61b18f0ced792508b40432ad50b6 (diff)
downloadkdepimpi-db6adbdecaa74972df9e2b78b09f81b2d74752b2.zip
kdepimpi-db6adbdecaa74972df9e2b78b09f81b2d74752b2.tar.gz
kdepimpi-db6adbdecaa74972df9e2b78b09f81b2d74752b2.tar.bz2
fixes
Diffstat (limited to 'korganizer/koviewmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koviewmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index e255b83..94c459b 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -177,17 +177,17 @@ void KOViewManager::raiseCurrentView( bool fullScreen )
mMainView->leftFrame()->hide();
} else {
mMainView->leftFrame()->show();
if ( KOPrefs::instance()->mVerticalScreen )
hei -= mMainView->leftFrame()->height();
else
wid -= mMainView->leftFrame()->width();
}
-
+ emit signalFullScreen( !fullScreen );
if ( globalFlagBlockAgenda == 5 ) {
globalFlagBlockAgenda = 4;
globalFlagBlockAgendaItemPaint = 1;
}
mMainView->viewStack()->raiseWidget(mCurrentView);
if ( globalFlagBlockAgenda == 4 ) {
if ( mCurrentView == mAgendaView ) {
//globalFlagBlockAgenda =1 ;
@@ -195,20 +195,22 @@ void KOViewManager::raiseCurrentView( bool fullScreen )
mAgendaView->setStartHour( KOPrefs::instance()->mDayBegins );
else if ( KOPrefs::instance()->mCenterOnCurrentTime )
mAgendaView->setStartHour( QTime::currentTime ().hour() );
qApp->processEvents();
//qDebug("qApp->processEvents() ");
globalFlagBlockAgenda = 0;
mAgendaView->repaintAgenda();
- }
+ }
globalFlagBlockAgenda = 0;
}
+ emit signalAgendaView( mCurrentView == mAgendaView );
//qDebug("raiseCurrentView ende ");
+
}
void KOViewManager::updateView()
{
// qDebug("KOViewManager::updateView() ");
// if we are updating mTodoView, we get endless recursion
if ( mTodoView == mCurrentView )
return;