Diffstat (limited to 'core/pim/addressbook/addressbook.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp index 360aa7e..e502cf6 100644 --- a/core/pim/addressbook/addressbook.cpp +++ b/core/pim/addressbook/addressbook.cpp | |||
@@ -65,2 +65,3 @@ | |||
65 | 65 | ||
66 | #include "picker.h" | ||
66 | static QString addressbookOldXMLFilename() | 67 | static QString addressbookOldXMLFilename() |
@@ -100,2 +101,3 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name, | |||
100 | 101 | ||
102 | QBoxLayout *vb = new QVBoxLayout( this, 0, 0 ); | ||
101 | // Create Toolbars | 103 | // Create Toolbars |
@@ -191,2 +193,3 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name, | |||
191 | abList = new AbTable( &orderedFields, this, "table" ); | 193 | abList = new AbTable( &orderedFields, this, "table" ); |
194 | vb->insertWidget(0,abList); | ||
192 | abList->setHScrollBarMode( QScrollView::AlwaysOff ); | 195 | abList->setHScrollBarMode( QScrollView::AlwaysOff ); |
@@ -207,2 +210,5 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name, | |||
207 | 210 | ||
211 | pLabel = new LetterPicker( abList ); | ||
212 | connect(pLabel, SIGNAL(letterClicked(char)), this, SLOT(slotSetLetter(char))); | ||
213 | vb->insertWidget(1,pLabel); | ||
208 | catMenu = new QPopupMenu( this ); | 214 | catMenu = new QPopupMenu( this ); |
@@ -886,2 +892,8 @@ void AddressbookWindow::slotSetCategory( int c ) | |||
886 | 892 | ||
893 | void AddressbookWindow::slotSetLetter( char c ) { | ||
894 | |||
895 | abList->setShowByLetter( c ); | ||
896 | |||
897 | } | ||
898 | |||
887 | void AddressbookWindow::populateCategories() | 899 | void AddressbookWindow::populateCategories() |