summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index 4fa9253..b4734a4 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -80,64 +80,64 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
connect(pLabel, SIGNAL(letterClicked(char)), this, SLOT(slotSetLetter(char)));
connect(m_abView, SIGNAL(signalClearLetterPicker()), pLabel, SLOT(clear()) );
vb->addWidget( pLabel );
// Quick search bar
m_searchBar = new OFloatBar( "Search", this, QMainWindow::Top, true );
m_searchBar->setHorizontalStretchable( true );
m_searchBar->hide();
m_searchEdit = new QLineEdit( m_searchBar, "m_searchEdit" );
m_searchBar->setStretchableWidget( m_searchEdit );
connect( m_searchEdit, SIGNAL(returnPressed()), this, SLOT(slotFind()) );
QAction *a = new QAction( tr( "Start Search" ),
Opie::Core::OResource::loadPixmap( "find", Opie::Core::OResource::SmallIcon ),
QString::null, 0, this, 0 );
connect( a, SIGNAL(activated()), this, SLOT(slotFind()) );
a->addTo( m_searchBar );
// Insert Contact menu items
QActionGroup *items = new QActionGroup( this, QString::null, false );
m_actionMail = new QAction( tr( "Write Mail To" ),
- Opie::Core::OResource::loadPixmap( "addressbook/sendmail" ),
+ Opie::Core::OResource::loadPixmap( "addressbook/sendmail", Opie::Core::OResource::SmallIcon ),
QString::null, 0, items, 0 );
connect( m_actionMail, SIGNAL(activated()), this, SLOT(writeMail()) );
a = new QAction( tr("Import vCard"),
- Opie::Core::OResource::loadPixmap( "addressbook/fileimport" ),
+ Opie::Core::OResource::loadPixmap( "addressbook/fileimport", Opie::Core::OResource::SmallIcon ),
QString::null, 0, items, 0 );
connect( a, SIGNAL(activated()), this, SLOT(importvCard()) );
a = new QAction( tr("Export vCard"),
- Opie::Core::OResource::loadPixmap( "addressbook/fileexport" ),
+ Opie::Core::OResource::loadPixmap( "addressbook/fileexport", Opie::Core::OResource::SmallIcon ),
QString::null, 0, items, 0 );
connect( a, SIGNAL(activated()), this, SLOT(exportvCard()) );
m_actionPersonal = new QAction( tr("My Personal Details"),
- Opie::Core::OResource::loadPixmap( "addressbook/identity" ),
+ Opie::Core::OResource::loadPixmap( "addressbook/identity", Opie::Core::OResource::SmallIcon ),
QString::null, 0, items, 0 , true );
connect( m_actionPersonal, SIGNAL(activated()), this, SLOT(slotPersonalView()) );
insertItemMenuItems( items );
// Insert View menu items
items = new QActionGroup( this, QString::null, false );
a = new QAction( tr("Show quick search bar"),QString::null, 0, items, 0, true );
connect( a, SIGNAL(toggled(bool)), this, SLOT(slotShowFind(bool)) );
insertViewMenuItems( items );
// Fontsize
defaultFont = new QFont( m_abView->font() );
slotSetFont(m_config.fontSize());
m_curFontSize = m_config.fontSize();
setCentralWidget(m_listContainer);
// odebug << "adressbook contrsuction: t=" << t.elapsed() << oendl;
connect( qApp, SIGNAL(flush()), this, SLOT(flush()) );
connect( qApp, SIGNAL(reload()), this, SLOT(reload()) );
connect( qApp, SIGNAL(appMessage(const QCString&,const QByteArray&)),