summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt5
-rw-r--r--pwmanager/pwmanager/pwmprefs.cpp3
2 files changed, 7 insertions, 1 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt
index 81b0d59..77f5829 100644
--- a/bin/kdepim/WhatsNew.txt
+++ b/bin/kdepim/WhatsNew.txt
@@ -1,50 +1,55 @@
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.7 ************
4
5Added global application font settings
6(for all KDE-Pim/Pi apps) to the general settings.
7
3********** VERSION 2.0.6 ************ 8********** VERSION 2.0.6 ************
4 9
5Some bugfixes in the pi-sync mode. 10Some bugfixes in the pi-sync mode.
6Added German translation for pi-sync mode. 11Added German translation for pi-sync mode.
7 12
8KO/Pi: 13KO/Pi:
9Made the todolist using alternate background. 14Made the todolist using alternate background.
10 15
11Other minor fixes in KO/Pi. 16Other minor fixes in KO/Pi.
12 17
13 18
14********** VERSION 2.0.5 ************ 19********** VERSION 2.0.5 ************
15 20
16Bugfixes in KO/Pi. 21Bugfixes in KO/Pi.
17 22
18********** VERSION 2.0.4 ************ 23********** VERSION 2.0.4 ************
19 24
20KO/Pi: 25KO/Pi:
21Fixed problem loading translations for summary/location edit boxes in event/todo editor. 26Fixed problem loading translations for summary/location edit boxes in event/todo editor.
22 27
23Added a general "select week number" to the toolbar. 28Added a general "select week number" to the toolbar.
24 29
25Fixed some small problem of the new features introduced in version 2.0.3. 30Fixed some small problem of the new features introduced in version 2.0.3.
26 31
27Made it possible to specify one specific category as category color, 32Made it possible to specify one specific category as category color,
28if more than one categories are selected. 33if more than one categories are selected.
29 34
30Fixed a bug in saving colors for categories with non-ascii characters. 35Fixed a bug in saving colors for categories with non-ascii characters.
31(Like, e.g. German Umlauts). 36(Like, e.g. German Umlauts).
32Propably you have to set your colors again for those categories. 37Propably you have to set your colors again for those categories.
33 38
34 39
35********** VERSION 2.0.3 ************ 40********** VERSION 2.0.3 ************
36 41
37KO/Pi: 42KO/Pi:
38Added feature for changing alarm settings for many items at once: 43Added feature for changing alarm settings for many items at once:
39Open list view (or search dialog), select the desired items and choose in 44Open list view (or search dialog), select the desired items and choose in
40the popup menu: Set alarm for selected... 45the popup menu: Set alarm for selected...
41 46
42Added to the event/todo viewer the option to send an email to 47Added to the event/todo viewer the option to send an email to
43all attendees or all selected (with RSVP) attendees. 48all attendees or all selected (with RSVP) attendees.
44 49
45Made the week-month mode changing in month view faster. 50Made the week-month mode changing in month view faster.
46 51
47Made month view better useable with keyboard. 52Made month view better useable with keyboard.
48Now TAB key jumps to next cell with an event/todo. 53Now TAB key jumps to next cell with an event/todo.
49Scroll in cell with coursor keys, scroll in time (next week) with 54Scroll in cell with coursor keys, scroll in time (next week) with
50Shift/Control + coursorkeys. 55Shift/Control + coursorkeys.
diff --git a/pwmanager/pwmanager/pwmprefs.cpp b/pwmanager/pwmanager/pwmprefs.cpp
index 68d5b68..31fb2e0 100644
--- a/pwmanager/pwmanager/pwmprefs.cpp
+++ b/pwmanager/pwmanager/pwmprefs.cpp
@@ -1,92 +1,93 @@
1/* 1/*
2 This file is part of PwManager/Pi 2 This file is part of PwManager/Pi
3 Copyright (c) 2004 Ulf Schenk 3 Copyright (c) 2004 Ulf Schenk
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22 22
23 $Id$ 23 $Id$
24*/ 24*/
25 25
26 26
27#include <kconfig.h> 27#include <kconfig.h>
28#include <klocale.h> 28#include <klocale.h>
29#include <kstaticdeleter.h> 29#include <kstaticdeleter.h>
30#include <kglobalsettings.h>
30 31
31#include "pwmprefs.h" 32#include "pwmprefs.h"
32 33
33PWMPrefs *PWMPrefs::sInstance = 0; 34PWMPrefs *PWMPrefs::sInstance = 0;
34static KStaticDeleter<PWMPrefs> staticDeleterPP; 35static KStaticDeleter<PWMPrefs> staticDeleterPP;
35 36
36PWMPrefs::PWMPrefs() 37PWMPrefs::PWMPrefs()
37 : KPimPrefs("pwmanagerrc") 38 : KPimPrefs("pwmanagerrc")
38{ 39{
39 KPrefs::setCurrentGroup( "Global" ); 40 KPrefs::setCurrentGroup( "Global" );
40 41
41 addItemString( "autoStart", &mAutoStart, "" ); 42 addItemString( "autoStart", &mAutoStart, "" );
42 addItemString( "browserCommand", &mBrowserCommand, "" ); 43 addItemString( "browserCommand", &mBrowserCommand, "" );
43 addItemString( "xtermCommand", &mXTermCommand, CONF_DEFAULT_XTERMCOMMAND); 44 addItemString( "xtermCommand", &mXTermCommand, CONF_DEFAULT_XTERMCOMMAND);
44 addItemFont( "entryFont", &mEntryFont); 45 addItemFont( "entryFont", &mEntryFont,KGlobalSettings::generalFont());
45 addItemInt( "pwTimeout", &mPwTimeout, CONF_DEFAULT_PWTIMEOUT ); 46 addItemInt( "pwTimeout", &mPwTimeout, CONF_DEFAULT_PWTIMEOUT );
46 addItemInt( "lockTimeout", &mLockTimeout, CONF_DEFAULT_LOCKTIMEOUT ); 47 addItemInt( "lockTimeout", &mLockTimeout, CONF_DEFAULT_LOCKTIMEOUT );
47 addItemInt( "compression", &mCompression, CONF_DEFAULT_COMPRESSION ); 48 addItemInt( "compression", &mCompression, CONF_DEFAULT_COMPRESSION );
48 addItemInt("cryptAlgo", &mCryptAlgo, CONF_DEFAULT_CRYPTALGO); 49 addItemInt("cryptAlgo", &mCryptAlgo, CONF_DEFAULT_CRYPTALGO);
49 addItemInt("hashAlgo", &mHashAlgo, CONF_DEFAULT_HASHALGO); 50 addItemInt("hashAlgo", &mHashAlgo, CONF_DEFAULT_HASHALGO);
50 addItemInt( "filePermissions", &mFilePermissions, CONF_DEFAULT_FILEPERMISSIONS ); 51 addItemInt( "filePermissions", &mFilePermissions, CONF_DEFAULT_FILEPERMISSIONS );
51 addItemInt( "minimizeLock", &mMinimizeLock, CONF_DEFAULT_MINIMIZELOCK ); 52 addItemInt( "minimizeLock", &mMinimizeLock, CONF_DEFAULT_MINIMIZELOCK );
52 addItemBool( "unlockOnOpen", &mUnlockOnOpen, CONF_DEFAULT_UNLOCKONOPEN ); 53 addItemBool( "unlockOnOpen", &mUnlockOnOpen, CONF_DEFAULT_UNLOCKONOPEN );
53 addItemBool( "tray", &mTray, CONF_DEFAULT_TRAY ); 54 addItemBool( "tray", &mTray, CONF_DEFAULT_TRAY );
54 addItemBool( "makeFileBackup", &mMakeFileBackup, CONF_DEFAULT_MAKEFILEBACKUP ); 55 addItemBool( "makeFileBackup", &mMakeFileBackup, CONF_DEFAULT_MAKEFILEBACKUP );
55 addItemBool( "autostartDeepLocked", &mAutostartDeeplocked, CONF_DEFAULT_AUTOSTART_DEEPL ); 56 addItemBool( "autostartDeepLocked", &mAutostartDeeplocked, CONF_DEFAULT_AUTOSTART_DEEPL );
56 addItemBool( "autoDeepLock", &mAutoDeeplock, CONF_DEFAULT_AUTODEEPLOCK ); 57 addItemBool( "autoDeepLock", &mAutoDeeplock, CONF_DEFAULT_AUTODEEPLOCK );
57 addItemBool( "kwalletEmu", &mKWalletEmu, CONF_DEFAULT_KWALLETEMU ); 58 addItemBool( "kwalletEmu", &mKWalletEmu, CONF_DEFAULT_KWALLETEMU );
58 addItemBool( "newEntrLockStat", &mNewEntrLockStat, CONF_DEFAULT_NEWENTRLOCKSTAT ); 59 addItemBool( "newEntrLockStat", &mNewEntrLockStat, CONF_DEFAULT_NEWENTRLOCKSTAT );
59 60
60 KPrefs::setCurrentGroup( "Wnd" ); 61 KPrefs::setCurrentGroup( "Wnd" );
61 62
62 addItemSize( "MainWndSize", &mMainWndSize); 63 addItemSize( "MainWndSize", &mMainWndSize);
63 addItemInt( "MainViewStyle", &mMainViewStyle, CONF_DEFAULT_MAINVIEWSTYLE ); 64 addItemInt( "MainViewStyle", &mMainViewStyle, CONF_DEFAULT_MAINVIEWSTYLE );
64 addItemBool( "autoMinimizeOnStart", &mAutoMinimizeOnStart, CONF_DEFAULT_AUTOMINIMIZE ); 65 addItemBool( "autoMinimizeOnStart", &mAutoMinimizeOnStart, CONF_DEFAULT_AUTOMINIMIZE );
65 addItemBool( "close", &mClose, CONF_DEFAULT_WNDCLOSE ); 66 addItemBool( "close", &mClose, CONF_DEFAULT_WNDCLOSE );
66 addItemIntList( "commentSplitter", &mCommentSplitter ); 67 addItemIntList( "commentSplitter", &mCommentSplitter );
67 addItemIntList( "categorySplitter", &mCategorySplitter ); 68 addItemIntList( "categorySplitter", &mCategorySplitter );
68} 69}
69 70
70PWMPrefs::~PWMPrefs() 71PWMPrefs::~PWMPrefs()
71{ 72{
72 if (sInstance == this) 73 if (sInstance == this)
73 sInstance = staticDeleterPP.setObject(0); 74 sInstance = staticDeleterPP.setObject(0);
74 else 75 else
75 qDebug("Whats this? Error in PWMPrefs::~PWMPrefs()?"); 76 qDebug("Whats this? Error in PWMPrefs::~PWMPrefs()?");
76} 77}
77 78
78PWMPrefs *PWMPrefs::instance() 79PWMPrefs *PWMPrefs::instance()
79{ 80{
80 if ( !sInstance ) { 81 if ( !sInstance ) {
81#ifdef PWM_EMBEDDED 82#ifdef PWM_EMBEDDED
82 sInstance = staticDeleterPP.setObject( new PWMPrefs() ); 83 sInstance = staticDeleterPP.setObject( new PWMPrefs() );
83#else //PWM_EMBEDDED 84#else //PWM_EMBEDDED
84 //US the following line has changed ???. Why 85 //US the following line has changed ???. Why
85 staticDeleterPP.setObject( sInstance, new PWMPrefs() ); 86 staticDeleterPP.setObject( sInstance, new PWMPrefs() );
86#endif //KAB_EMBEDDED 87#endif //KAB_EMBEDDED
87 sInstance->readConfig(); 88 sInstance->readConfig();
88 } 89 }
89 90
90 return sInstance; 91 return sInstance;
91} 92}
92 93