-rw-r--r-- | kaddressbook/kaddressbookview.cpp | 4 | ||||
-rw-r--r-- | kaddressbook/kaddressbookview.h | 2 | ||||
-rw-r--r-- | kaddressbook/views/kaddressbookcardview.cpp | 2 | ||||
-rw-r--r-- | kaddressbook/views/kaddressbookiconview.cpp | 2 | ||||
-rw-r--r-- | kaddressbook/views/kaddressbooktableview.cpp | 6 |
5 files changed, 9 insertions, 7 deletions
diff --git a/kaddressbook/kaddressbookview.cpp b/kaddressbook/kaddressbookview.cpp index 8062354..424d52a 100644 --- a/kaddressbook/kaddressbookview.cpp +++ b/kaddressbook/kaddressbookview.cpp @@ -130,2 +130,6 @@ KABC::Field::List KAddressBookView::fields() const } +KABC::Field::List KAddressBookView::allFields() const +{ + return KABC::Field::allFields(); +} diff --git a/kaddressbook/kaddressbookview.h b/kaddressbook/kaddressbookview.h index 2e91cbc..8646136 100644 --- a/kaddressbook/kaddressbookview.h +++ b/kaddressbook/kaddressbookview.h @@ -124,2 +124,4 @@ class KAddressBookView : public QWidget KABC::Field::List fields() const; + + KABC::Field::List allFields() const; diff --git a/kaddressbook/views/kaddressbookcardview.cpp b/kaddressbook/views/kaddressbookcardview.cpp index 2c9b162..2d7ed08 100644 --- a/kaddressbook/views/kaddressbookcardview.cpp +++ b/kaddressbook/views/kaddressbookcardview.cpp @@ -297,3 +297,3 @@ void KAddressBookCardView::doSearch( const QString& s,KABC::Field *field ) } else { - KABC::Field::List fieldList = fields(); + KABC::Field::List fieldList = allFields(); KABC::Field::List::ConstIterator fieldIt; diff --git a/kaddressbook/views/kaddressbookiconview.cpp b/kaddressbook/views/kaddressbookiconview.cpp index 0ce56c8..faeda06 100644 --- a/kaddressbook/views/kaddressbookiconview.cpp +++ b/kaddressbook/views/kaddressbookiconview.cpp @@ -284,3 +284,3 @@ void KAddressBookIconView::doSearch( const QString& s ,KABC::Field *field ) } else { - KABC::Field::List fieldList = fields(); + KABC::Field::List fieldList = allFields(); KABC::Field::List::ConstIterator fieldIt; diff --git a/kaddressbook/views/kaddressbooktableview.cpp b/kaddressbook/views/kaddressbooktableview.cpp index 89053c2..61703ee 100644 --- a/kaddressbook/views/kaddressbooktableview.cpp +++ b/kaddressbook/views/kaddressbooktableview.cpp @@ -165,3 +165,3 @@ void KAddressBookTableView::doSearch( const QString& s, KABC::Field *field ) } else { - KABC::Field::List fieldList = fields(); + KABC::Field::List fieldList = allFields(); KABC::Field::List::ConstIterator fieldIt; @@ -260,6 +260,2 @@ void KAddressBookTableView::readConfig(KConfig *config) - - - - // Set the list view options |