author | drw <drw> | 2005-04-28 23:59:32 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-28 23:59:32 (UTC) |
commit | c1cab57555a395c9da678b92f492779506421386 (patch) (unidiff) | |
tree | 5f0ae50c0753cbf2593d5ab70d979dcf8d00062e | |
parent | d80fe3c758c34c03b8d99e7a51101933f178d7e6 (diff) | |
download | opie-c1cab57555a395c9da678b92f492779506421386.zip opie-c1cab57555a395c9da678b92f492779506421386.tar.gz opie-c1cab57555a395c9da678b92f492779506421386.tar.bz2 |
Should have make these icons SmallIcon sized in the 1st place
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 8 |
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, | |||
80 | connect(pLabel, SIGNAL(letterClicked(char)), this, SLOT(slotSetLetter(char))); | 80 | connect(pLabel, SIGNAL(letterClicked(char)), this, SLOT(slotSetLetter(char))); |
81 | connect(m_abView, SIGNAL(signalClearLetterPicker()), pLabel, SLOT(clear()) ); | 81 | connect(m_abView, SIGNAL(signalClearLetterPicker()), pLabel, SLOT(clear()) ); |
82 | 82 | ||
83 | vb->addWidget( pLabel ); | 83 | vb->addWidget( pLabel ); |
84 | 84 | ||
85 | // Quick search bar | 85 | // Quick search bar |
86 | m_searchBar = new OFloatBar( "Search", this, QMainWindow::Top, true ); | 86 | m_searchBar = new OFloatBar( "Search", this, QMainWindow::Top, true ); |
87 | m_searchBar->setHorizontalStretchable( true ); | 87 | m_searchBar->setHorizontalStretchable( true ); |
88 | m_searchBar->hide(); | 88 | m_searchBar->hide(); |
89 | m_searchEdit = new QLineEdit( m_searchBar, "m_searchEdit" ); | 89 | m_searchEdit = new QLineEdit( m_searchBar, "m_searchEdit" ); |
90 | 90 | ||
91 | m_searchBar->setStretchableWidget( m_searchEdit ); | 91 | m_searchBar->setStretchableWidget( m_searchEdit ); |
92 | connect( m_searchEdit, SIGNAL(returnPressed()), this, SLOT(slotFind()) ); | 92 | connect( m_searchEdit, SIGNAL(returnPressed()), this, SLOT(slotFind()) ); |
93 | 93 | ||
94 | QAction *a = new QAction( tr( "Start Search" ), | 94 | QAction *a = new QAction( tr( "Start Search" ), |
95 | Opie::Core::OResource::loadPixmap( "find", Opie::Core::OResource::SmallIcon ), | 95 | Opie::Core::OResource::loadPixmap( "find", Opie::Core::OResource::SmallIcon ), |
96 | QString::null, 0, this, 0 ); | 96 | QString::null, 0, this, 0 ); |
97 | connect( a, SIGNAL(activated()), this, SLOT(slotFind()) ); | 97 | connect( a, SIGNAL(activated()), this, SLOT(slotFind()) ); |
98 | a->addTo( m_searchBar ); | 98 | a->addTo( m_searchBar ); |
99 | 99 | ||
100 | // Insert Contact menu items | 100 | // Insert Contact menu items |
101 | QActionGroup *items = new QActionGroup( this, QString::null, false ); | 101 | QActionGroup *items = new QActionGroup( this, QString::null, false ); |
102 | 102 | ||
103 | m_actionMail = new QAction( tr( "Write Mail To" ), | 103 | m_actionMail = new QAction( tr( "Write Mail To" ), |
104 | Opie::Core::OResource::loadPixmap( "addressbook/sendmail" ), | 104 | Opie::Core::OResource::loadPixmap( "addressbook/sendmail", Opie::Core::OResource::SmallIcon ), |
105 | QString::null, 0, items, 0 ); | 105 | QString::null, 0, items, 0 ); |
106 | connect( m_actionMail, SIGNAL(activated()), this, SLOT(writeMail()) ); | 106 | connect( m_actionMail, SIGNAL(activated()), this, SLOT(writeMail()) ); |
107 | 107 | ||
108 | a = new QAction( tr("Import vCard"), | 108 | a = new QAction( tr("Import vCard"), |
109 | Opie::Core::OResource::loadPixmap( "addressbook/fileimport" ), | 109 | Opie::Core::OResource::loadPixmap( "addressbook/fileimport", Opie::Core::OResource::SmallIcon ), |
110 | QString::null, 0, items, 0 ); | 110 | QString::null, 0, items, 0 ); |
111 | connect( a, SIGNAL(activated()), this, SLOT(importvCard()) ); | 111 | connect( a, SIGNAL(activated()), this, SLOT(importvCard()) ); |
112 | 112 | ||
113 | a = new QAction( tr("Export vCard"), | 113 | a = new QAction( tr("Export vCard"), |
114 | Opie::Core::OResource::loadPixmap( "addressbook/fileexport" ), | 114 | Opie::Core::OResource::loadPixmap( "addressbook/fileexport", Opie::Core::OResource::SmallIcon ), |
115 | QString::null, 0, items, 0 ); | 115 | QString::null, 0, items, 0 ); |
116 | connect( a, SIGNAL(activated()), this, SLOT(exportvCard()) ); | 116 | connect( a, SIGNAL(activated()), this, SLOT(exportvCard()) ); |
117 | 117 | ||
118 | m_actionPersonal = new QAction( tr("My Personal Details"), | 118 | m_actionPersonal = new QAction( tr("My Personal Details"), |
119 | Opie::Core::OResource::loadPixmap( "addressbook/identity" ), | 119 | Opie::Core::OResource::loadPixmap( "addressbook/identity", Opie::Core::OResource::SmallIcon ), |
120 | QString::null, 0, items, 0 , true ); | 120 | QString::null, 0, items, 0 , true ); |
121 | connect( m_actionPersonal, SIGNAL(activated()), this, SLOT(slotPersonalView()) ); | 121 | connect( m_actionPersonal, SIGNAL(activated()), this, SLOT(slotPersonalView()) ); |
122 | 122 | ||
123 | insertItemMenuItems( items ); | 123 | insertItemMenuItems( items ); |
124 | 124 | ||
125 | // Insert View menu items | 125 | // Insert View menu items |
126 | items = new QActionGroup( this, QString::null, false ); | 126 | items = new QActionGroup( this, QString::null, false ); |
127 | 127 | ||
128 | a = new QAction( tr("Show quick search bar"),QString::null, 0, items, 0, true ); | 128 | a = new QAction( tr("Show quick search bar"),QString::null, 0, items, 0, true ); |
129 | connect( a, SIGNAL(toggled(bool)), this, SLOT(slotShowFind(bool)) ); | 129 | connect( a, SIGNAL(toggled(bool)), this, SLOT(slotShowFind(bool)) ); |
130 | 130 | ||
131 | insertViewMenuItems( items ); | 131 | insertViewMenuItems( items ); |
132 | 132 | ||
133 | // Fontsize | 133 | // Fontsize |
134 | defaultFont = new QFont( m_abView->font() ); | 134 | defaultFont = new QFont( m_abView->font() ); |
135 | slotSetFont(m_config.fontSize()); | 135 | slotSetFont(m_config.fontSize()); |
136 | m_curFontSize = m_config.fontSize(); | 136 | m_curFontSize = m_config.fontSize(); |
137 | 137 | ||
138 | setCentralWidget(m_listContainer); | 138 | setCentralWidget(m_listContainer); |
139 | 139 | ||
140 | //odebug << "adressbook contrsuction: t=" << t.elapsed() << oendl; | 140 | //odebug << "adressbook contrsuction: t=" << t.elapsed() << oendl; |
141 | connect( qApp, SIGNAL(flush()), this, SLOT(flush()) ); | 141 | connect( qApp, SIGNAL(flush()), this, SLOT(flush()) ); |
142 | connect( qApp, SIGNAL(reload()), this, SLOT(reload()) ); | 142 | connect( qApp, SIGNAL(reload()), this, SLOT(reload()) ); |
143 | connect( qApp, SIGNAL(appMessage(const QCString&,const QByteArray&)), | 143 | connect( qApp, SIGNAL(appMessage(const QCString&,const QByteArray&)), |