author | zautrix <zautrix> | 2005-01-26 23:05:26 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-26 23:05:26 (UTC) |
commit | 15351333eff09beadb6e691e9f0aab2aaf0a95a0 (patch) (unidiff) | |
tree | 443fba1e36ef3a2549b531fe600567d9e1232d7c /korganizer/kodialogmanager.cpp | |
parent | 96fc3903cf690957d0242d7aa2894bd64800edcc (diff) | |
download | kdepimpi-15351333eff09beadb6e691e9f0aab2aaf0a95a0.zip kdepimpi-15351333eff09beadb6e691e9f0aab2aaf0a95a0.tar.gz kdepimpi-15351333eff09beadb6e691e9f0aab2aaf0a95a0.tar.bz2 |
fixes
Diffstat (limited to 'korganizer/kodialogmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kodialogmanager.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/korganizer/kodialogmanager.cpp b/korganizer/kodialogmanager.cpp index c99c0cb..41a4dc1 100644 --- a/korganizer/kodialogmanager.cpp +++ b/korganizer/kodialogmanager.cpp | |||
@@ -290,12 +290,15 @@ KOEventEditor *KODialogManager::getEventEditor() | |||
290 | // mCategoryEditDialog,SLOT(show())); | 290 | // mCategoryEditDialog,SLOT(show())); |
291 | connect(eventEditor,SIGNAL(dialogClose(Incidence*)), | 291 | connect(eventEditor,SIGNAL(dialogClose(Incidence*)), |
292 | mMainView,SLOT(dialogClosing(Incidence*))); | 292 | mMainView,SLOT(dialogClosing(Incidence*))); |
293 | 293 | ||
294 | //connect(mMainView,SIGNAL(closingDown()),eventEditor,SLOT(reject())); | 294 | //connect(mMainView,SIGNAL(closingDown()),eventEditor,SLOT(reject())); |
295 | 295 | ||
296 | #ifndef DESKTOP_VERSION | ||
297 | eventEditor->resize( QApplication::desktop()->width() -20, 100 ); | ||
298 | #endif | ||
296 | return eventEditor; | 299 | return eventEditor; |
297 | } | 300 | } |
298 | 301 | ||
299 | KOTodoEditor *KODialogManager::getTodoEditor() | 302 | KOTodoEditor *KODialogManager::getTodoEditor() |
300 | { | 303 | { |
301 | KOTodoEditor *todoEditor = new KOTodoEditor( mMainView->calendar(), | 304 | KOTodoEditor *todoEditor = new KOTodoEditor( mMainView->calendar(), |
@@ -317,13 +320,15 @@ KOTodoEditor *KODialogManager::getTodoEditor() | |||
317 | mMainView->dateNavigator(), SLOT( selectWeek( const QDate & ) ) ); | 320 | mMainView->dateNavigator(), SLOT( selectWeek( const QDate & ) ) ); |
318 | connect( todoEditor, SIGNAL( showAgendaView( bool)), | 321 | connect( todoEditor, SIGNAL( showAgendaView( bool)), |
319 | mMainView->viewManager(), SLOT( showAgendaView( bool) ) ); | 322 | mMainView->viewManager(), SLOT( showAgendaView( bool) ) ); |
320 | // connect(todoEditor,SIGNAL(deleteAttendee(Incidence *)), | 323 | // connect(todoEditor,SIGNAL(deleteAttendee(Incidence *)), |
321 | // mMainView,SLOT(schedule_cancel(Incidence *))); | 324 | // mMainView,SLOT(schedule_cancel(Incidence *))); |
322 | //connect(mMainView,SIGNAL(closingDown()),todoEditor,SLOT(reject())); | 325 | //connect(mMainView,SIGNAL(closingDown()),todoEditor,SLOT(reject())); |
323 | 326 | #ifndef DESKTOP_VERSION | |
327 | todoEditor->resize( QApplication::desktop()->width() -20, 100 ); | ||
328 | #endif | ||
324 | return todoEditor; | 329 | return todoEditor; |
325 | } | 330 | } |
326 | 331 | ||
327 | void KODialogManager::updateSearchDialog() | 332 | void KODialogManager::updateSearchDialog() |
328 | { | 333 | { |
329 | if (mSearchDialog) mSearchDialog->updateView(); | 334 | if (mSearchDialog) mSearchDialog->updateView(); |