author | zautrix <zautrix> | 2004-10-22 08:27:03 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-22 08:27:03 (UTC) |
commit | e61ce30fc3f2376d8e9caff421495496344a8359 (patch) (unidiff) | |
tree | e82f8e5a0ecf3f21d246b0f441502cb8ee0e11a7 /kaddressbook/kaddressbookview.cpp | |
parent | a0cd6749d41390ea832e2acd814fe117bdd39c37 (diff) | |
download | kdepimpi-e61ce30fc3f2376d8e9caff421495496344a8359.zip kdepimpi-e61ce30fc3f2376d8e9caff421495496344a8359.tar.gz kdepimpi-e61ce30fc3f2376d8e9caff421495496344a8359.tar.bz2 |
added translations
Diffstat (limited to 'kaddressbook/kaddressbookview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/kaddressbookview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/kaddressbookview.cpp b/kaddressbook/kaddressbookview.cpp index da28870..8062354 100644 --- a/kaddressbook/kaddressbookview.cpp +++ b/kaddressbook/kaddressbookview.cpp | |||
@@ -22,48 +22,49 @@ | |||
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef KAB_EMBEDDED | 24 | #ifndef KAB_EMBEDDED |
25 | #include <qapplication.h> | 25 | #include <qapplication.h> |
26 | 26 | ||
27 | #include <kabc/distributionlistdialog.h> | 27 | #include <kabc/distributionlistdialog.h> |
28 | #include <kconfig.h> | 28 | #include <kconfig.h> |
29 | #include <klocale.h> | 29 | #include <klocale.h> |
30 | 30 | ||
31 | #include "viewmanager.h" | 31 | #include "viewmanager.h" |
32 | 32 | ||
33 | #endif //KAB_EMBEDDED | 33 | #endif //KAB_EMBEDDED |
34 | #include <qlayout.h> | 34 | #include <qlayout.h> |
35 | 35 | ||
36 | #include <kabc/distributionlistdialog.h> | 36 | #include <kabc/distributionlistdialog.h> |
37 | #include <kabc/addressbook.h> | 37 | #include <kabc/addressbook.h> |
38 | #include <kdebug.h> | 38 | #include <kdebug.h> |
39 | 39 | ||
40 | #include "kaddressbookview.h" | 40 | #include "kaddressbookview.h" |
41 | 41 | ||
42 | KAddressBookView::KAddressBookView( KABC::AddressBook *ab, QWidget *parent, | 42 | KAddressBookView::KAddressBookView( KABC::AddressBook *ab, QWidget *parent, |
43 | const char *name ) | 43 | const char *name ) |
44 | : QWidget( parent, name ), mAddressBook( ab ), mFieldList() | 44 | : QWidget( parent, name ), mAddressBook( ab ), mFieldList() |
45 | { | 45 | { |
46 | |||
46 | initGUI(); | 47 | initGUI(); |
47 | } | 48 | } |
48 | 49 | ||
49 | KAddressBookView::~KAddressBookView() | 50 | KAddressBookView::~KAddressBookView() |
50 | { | 51 | { |
51 | kdDebug(5720) << "KAddressBookView::~KAddressBookView: destroying - " | 52 | kdDebug(5720) << "KAddressBookView::~KAddressBookView: destroying - " |
52 | << name() << endl; | 53 | << name() << endl; |
53 | } | 54 | } |
54 | 55 | ||
55 | void KAddressBookView::readConfig( KConfig *config ) | 56 | void KAddressBookView::readConfig( KConfig *config ) |
56 | { | 57 | { |
57 | mFieldList = KABC::Field::restoreFields( config, "KABCFields" ); | 58 | mFieldList = KABC::Field::restoreFields( config, "KABCFields" ); |
58 | 59 | ||
59 | if ( mFieldList.isEmpty() ) | 60 | if ( mFieldList.isEmpty() ) |
60 | mFieldList = KABC::Field::defaultFields(); | 61 | mFieldList = KABC::Field::defaultFields(); |
61 | 62 | ||
62 | mDefaultFilterType = (DefaultFilterType)config->readNumEntry( "DefaultFilterType", 1 ); | 63 | mDefaultFilterType = (DefaultFilterType)config->readNumEntry( "DefaultFilterType", 1 ); |
63 | mDefaultFilterName = config->readEntry( "DefaultFilterName", QString::null ); | 64 | mDefaultFilterName = config->readEntry( "DefaultFilterName", QString::null ); |
64 | } | 65 | } |
65 | 66 | ||
66 | void KAddressBookView::writeConfig( KConfig* ) | 67 | void KAddressBookView::writeConfig( KConfig* ) |
67 | { | 68 | { |
68 | // Most of writing the config is handled by the ConfigureViewDialog | 69 | // Most of writing the config is handled by the ConfigureViewDialog |
69 | } | 70 | } |