summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt4
-rw-r--r--korganizer/kodialogmanager.cpp3
2 files changed, 6 insertions, 1 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt
index 95a1866..5661955 100644
--- a/bin/kdepim/WhatsNew.txt
+++ b/bin/kdepim/WhatsNew.txt
@@ -1,66 +1,70 @@
1Info about the changes in new versions of KDE-Pim/Pi 1Info about the changes in new versions of KDE-Pim/Pi
2 2
3********** VERSION 2.0.15 ************ 3********** VERSION 2.0.15 ************
4 4
5PwM/Pi: 5PwM/Pi:
6Added keyboard shorcuts for 6Added keyboard shorcuts for
7- toggling summary view (space bar) 7- toggling summary view (space bar)
8- delete item (delete + backspace key) 8- delete item (delete + backspace key)
9- add new item ( i + n key) 9- add new item ( i + n key)
10Fixed length of info in the title. 10Fixed length of info in the title.
11 11
12KO/Pi-KA/Pi: 12KO/Pi-KA/Pi:
13Changed "ME" menu bar entry to an icon. 13Changed "ME" menu bar entry to an icon.
14 14
15KO/Pi: 15KO/Pi:
16Fixed two minor bugs in displaying todos. 16Fixed two minor bugs in displaying todos.
17If in month view a cell is selected, the key shortcut "d" shows now that date. 17If in month view a cell is selected, the key shortcut "d" shows now that date.
18Added complete info for a todo in month view as an icon left of the text. 18Added complete info for a todo in month view as an icon left of the text.
19Fixed problems of displaying data when "<" or ">" were used in summary/location/description.
20Fixed problem of search dialog size when switching displays.
21Cancel key now closes date picker.
22Rearranged KO/Pi file menu structure.
19 23
20 24
21********** VERSION 2.0.14 ************ 25********** VERSION 2.0.14 ************
22 26
23Made Passwordmanager PwM/Pi more userfriendly: 27Made Passwordmanager PwM/Pi more userfriendly:
24Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more. 28Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more.
25Fixed bug in KO/Pi todo printing. 29Fixed bug in KO/Pi todo printing.
26Made Qtopia calendar import possible on desktop . 30Made Qtopia calendar import possible on desktop .
27 31
28********** VERSION 2.0.13 ************ 32********** VERSION 2.0.13 ************
29 33
30Fixed a problem in the addressee select dialog and made it more user friendly by adding a minimize splitter. 34Fixed a problem in the addressee select dialog and made it more user friendly by adding a minimize splitter.
31 35
32In the search dialog you can switch now the focus from search line edit to the list view by pressing key "arrow down". 36In the search dialog you can switch now the focus from search line edit to the list view by pressing key "arrow down".
33 37
34OM/Pi: 38OM/Pi:
35Fixed a refresh problem of outgoing/sent/sendfailed folders after sending mails. 39Fixed a refresh problem of outgoing/sent/sendfailed folders after sending mails.
36Added missing German translation. 40Added missing German translation.
37Added warning if path is specified in local folder settings of account config. 41Added warning if path is specified in local folder settings of account config.
38 42
39********** VERSION 2.0.12 ************ 43********** VERSION 2.0.12 ************
40 44
41KO/Pi: 45KO/Pi:
42Fixed a bug in todo start/due date handling for non recurring todos with a start and due date. 46Fixed a bug in todo start/due date handling for non recurring todos with a start and due date.
43Fixed some layout problems in the KO/Pi agenda view when there were many conflicting itmes. 47Fixed some layout problems in the KO/Pi agenda view when there were many conflicting itmes.
44Fixed several problems of the keyboard focus in the desktop versions when opening the search dialog/event viewer. 48Fixed several problems of the keyboard focus in the desktop versions when opening the search dialog/event viewer.
45 49
46Fixed problem in pi-sync mode when wrong password was sent. 50Fixed problem in pi-sync mode when wrong password was sent.
47 51
48OM/Pi: 52OM/Pi:
49Fixed a crash when displaying mails with "Show mail as html" was checked in the config. 53Fixed a crash when displaying mails with "Show mail as html" was checked in the config.
50Added a check before displaying the mail if the mail is in html format, if "Show mail as html" is enabled. 54Added a check before displaying the mail if the mail is in html format, if "Show mail as html" is enabled.
51 55
52********** VERSION 2.0.11 ************ 56********** VERSION 2.0.11 ************
53 57
54Fixed some problems in pi-sync mode 58Fixed some problems in pi-sync mode
55(e.g. details of events were not synced properly) 59(e.g. details of events were not synced properly)
56 60
57********** VERSION 2.0.10 ************ 61********** VERSION 2.0.10 ************
58 62
59KO/Pi: 63KO/Pi:
60In the desktop versions the context menu in the search dialog was broken after introducing the What'sThis info for the list view. 64In the desktop versions the context menu in the search dialog was broken after introducing the What'sThis info for the list view.
61This is fixed. 65This is fixed.
62Changed the search dialog a bit to make it more user friendly. 66Changed the search dialog a bit to make it more user friendly.
63(E.g.: Removed message box about "no items found" and set key focus to search line edit after search). 67(E.g.: Removed message box about "no items found" and set key focus to search line edit after search).
64 68
65Added config option to hide the week number in KO/Pi toolbar. 69Added config option to hide the week number in KO/Pi toolbar.
66 70
diff --git a/korganizer/kodialogmanager.cpp b/korganizer/kodialogmanager.cpp
index 1af9dad..a8652ea 100644
--- a/korganizer/kodialogmanager.cpp
+++ b/korganizer/kodialogmanager.cpp
@@ -168,97 +168,98 @@ void KODialogManager::hideSearchDialog()
168void KODialogManager::showSearchDialog() 168void KODialogManager::showSearchDialog()
169{ 169{
170 if (!mSearchDialog) { 170 if (!mSearchDialog) {
171 mSearchDialog = new SearchDialog(mMainView->calendar(),mMainView); 171 mSearchDialog = new SearchDialog(mMainView->calendar(),mMainView);
172 KOListView * lview = mSearchDialog->listview(); 172 KOListView * lview = mSearchDialog->listview();
173 173
174 connect(lview, SIGNAL(showIncidenceSignal(Incidence *)), 174 connect(lview, SIGNAL(showIncidenceSignal(Incidence *)),
175 mMainView, SLOT(showIncidence(Incidence *))); 175 mMainView, SLOT(showIncidence(Incidence *)));
176 connect(lview, SIGNAL(editIncidenceSignal(Incidence *)), 176 connect(lview, SIGNAL(editIncidenceSignal(Incidence *)),
177 mMainView, SLOT(editIncidence(Incidence *))); 177 mMainView, SLOT(editIncidence(Incidence *)));
178 connect(lview, SIGNAL(deleteIncidenceSignal(Incidence *)), 178 connect(lview, SIGNAL(deleteIncidenceSignal(Incidence *)),
179 mMainView, SLOT(deleteIncidence(Incidence *))); 179 mMainView, SLOT(deleteIncidence(Incidence *)));
180 connect(lview, SIGNAL(cloneIncidenceSignal(Incidence *)), 180 connect(lview, SIGNAL(cloneIncidenceSignal(Incidence *)),
181 mMainView, SLOT(cloneIncidence(Incidence *))); 181 mMainView, SLOT(cloneIncidence(Incidence *)));
182 connect(lview, SIGNAL(beamIncidenceSignal(Incidence *)), 182 connect(lview, SIGNAL(beamIncidenceSignal(Incidence *)),
183 mMainView, SLOT(beamIncidence(Incidence *))); 183 mMainView, SLOT(beamIncidence(Incidence *)));
184 connect(lview, SIGNAL(moveIncidenceSignal(Incidence *)), 184 connect(lview, SIGNAL(moveIncidenceSignal(Incidence *)),
185 mMainView, SLOT(moveIncidence(Incidence *))); 185 mMainView, SLOT(moveIncidence(Incidence *)));
186 connect(lview, SIGNAL(beamIncidenceList(QPtrList<Incidence> )), 186 connect(lview, SIGNAL(beamIncidenceList(QPtrList<Incidence> )),
187 mMainView, SLOT(beamIncidenceList(QPtrList<Incidence> ))); 187 mMainView, SLOT(beamIncidenceList(QPtrList<Incidence> )));
188 188
189 connect(mMainView, SIGNAL(configChanged()), mSearchDialog, SLOT(updateConfig())); 189 connect(mMainView, SIGNAL(configChanged()), mSearchDialog, SLOT(updateConfig()));
190 connect(mMainView, SIGNAL(updateSearchDialog()), mSearchDialog, SLOT(updateList())); 190 connect(mMainView, SIGNAL(updateSearchDialog()), mSearchDialog, SLOT(updateList()));
191 // connect( lview, SIGNAL( incidenceSelected( Incidence * ) ), 191 // connect( lview, SIGNAL( incidenceSelected( Incidence * ) ),
192 // mMainView, SLOT( processMainViewSelection( Incidence * ) ) ); 192 // mMainView, SLOT( processMainViewSelection( Incidence * ) ) );
193#ifndef DESKTOP_VERSION 193#ifndef DESKTOP_VERSION
194 mSearchDialog->setMaximumSize( QApplication::desktop()->size()); 194 mSearchDialog->setMaximumSize( QApplication::desktop()->size());
195 mSearchDialog->showMaximized(); 195 mSearchDialog->showMaximized();
196#else 196#else
197 KConfig *config = KOGlobals::config(); 197 KConfig *config = KOGlobals::config();
198 config->setGroup("WidgetLayout"); 198 config->setGroup("WidgetLayout");
199 QStringList list; 199 QStringList list;
200 list = config->readListEntry("SearchLayout"); 200 list = config->readListEntry("SearchLayout");
201 int x,y,w,h; 201 int x,y,w,h;
202 if ( ! list.isEmpty() ) { 202 if ( ! list.isEmpty() ) {
203 x = list[0].toInt(); 203 x = list[0].toInt();
204 y = list[1].toInt(); 204 y = list[1].toInt();
205 w = list[2].toInt(); 205 w = list[2].toInt();
206 h = list[3].toInt(); 206 h = list[3].toInt();
207 mSearchDialog->setGeometry(x,y,w,h); 207 mSearchDialog->setGeometry(x,y,w,h);
208 208
209 } 209 }
210 210
211#endif 211#endif
212 } 212 }
213 // make sure the widget is on top again 213 // make sure the widget is on top again
214#ifdef DESKTOP_VERSION 214#ifdef DESKTOP_VERSION
215 mSearchDialog->show(); 215 mSearchDialog->show();
216#else 216#else
217 mSearchDialog->setMaximumSize( QApplication::desktop()->size());
217 mSearchDialog->showMaximized(); 218 mSearchDialog->showMaximized();
218#endif 219#endif
219 mSearchDialog->raise(); 220 mSearchDialog->raise();
220} 221}
221 222
222SearchDialog * KODialogManager::getSearchDialog() 223SearchDialog * KODialogManager::getSearchDialog()
223{ 224{
224 return mSearchDialog; 225 return mSearchDialog;
225} 226}
226void KODialogManager::showArchiveDialog() 227void KODialogManager::showArchiveDialog()
227{ 228{
228#ifndef KORG_NOARCHIVE 229#ifndef KORG_NOARCHIVE
229 if (!mArchiveDialog) { 230 if (!mArchiveDialog) {
230 mArchiveDialog = new ArchiveDialog(mMainView->calendar(),mMainView); 231 mArchiveDialog = new ArchiveDialog(mMainView->calendar(),mMainView);
231 connect(mArchiveDialog,SIGNAL(eventsDeleted()), 232 connect(mArchiveDialog,SIGNAL(eventsDeleted()),
232 mMainView,SLOT(updateView())); 233 mMainView,SLOT(updateView()));
233 } 234 }
234 mArchiveDialog->show(); 235 mArchiveDialog->show();
235 mArchiveDialog->raise(); 236 mArchiveDialog->raise();
236 237
237 // Workaround. 238 // Workaround.
238 QApplication::restoreOverrideCursor(); 239 QApplication::restoreOverrideCursor();
239#endif 240#endif
240} 241}
241 242
242void KODialogManager::showFilterEditDialog(QPtrList<CalFilter> *filters) 243void KODialogManager::showFilterEditDialog(QPtrList<CalFilter> *filters)
243{ 244{
244 if (!mFilterEditDialog) { 245 if (!mFilterEditDialog) {
245 mFilterEditDialog = new FilterEditDialog(filters,mMainView); 246 mFilterEditDialog = new FilterEditDialog(filters,mMainView);
246 connect(mFilterEditDialog,SIGNAL(filterChanged()), 247 connect(mFilterEditDialog,SIGNAL(filterChanged()),
247 mMainView,SLOT(filterEdited())); 248 mMainView,SLOT(filterEdited()));
248 249
249 } 250 }
250 251
251#ifndef DESKTOP_VERSION 252#ifndef DESKTOP_VERSION
252 mFilterEditDialog->showMaximized(); 253 mFilterEditDialog->showMaximized();
253#else 254#else
254 mFilterEditDialog->show(); 255 mFilterEditDialog->show();
255#endif 256#endif
256 mFilterEditDialog->raise(); 257 mFilterEditDialog->raise();
257} 258}
258 259
259void KODialogManager::showPluginDialog() 260void KODialogManager::showPluginDialog()
260{ 261{
261#ifndef KORG_NOPLUGINS 262#ifndef KORG_NOPLUGINS
262 if (!mPluginDialog) { 263 if (!mPluginDialog) {
263 mPluginDialog = new PluginDialog(mMainView); 264 mPluginDialog = new PluginDialog(mMainView);
264 connect(mPluginDialog,SIGNAL(configChanged()), 265 connect(mPluginDialog,SIGNAL(configChanged()),