[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/pim/mailody/src
From: Tom Albers <tomalbers () kde ! nl>
Date: 2007-09-28 20:59:55
Message-ID: 1191013195.559080.30897.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 718500 by toma:
SmallIcon->KIcon, maybe this compiles.
M +3 -3 composer.cpp
M +2 -2 mainwindow.cpp
M +8 -8 messageview.cpp
--- trunk/playground/pim/mailody/src/composer.cpp #718499:718500
@@ -617,8 +617,8 @@
// clear any previous selection ;-)
m_addressbox->clearSelection();
m_lastInserted->setSelected(true);
- m_lastInserted->setIcon(m_lastState, SmallIcon("dialog-ok"));
- m_lastInserted->setIcon(4, SmallIcon("edit-delete"));
+ m_lastInserted->setIcon(m_lastState, KIcon("dialog-ok"));
+ m_lastInserted->setIcon(4, KIcon("edit-delete"));
m_addressbox->scrollToItem(m_lastInserted);
m_lastInserted->setFlags(m_lastInserted->flags() | Qt::ItemIsEditable);
m_edit->clear();
@@ -680,7 +680,7 @@
lvi->setIcon(To,QPixmap());
lvi->setIcon(Cc,QPixmap());
lvi->setIcon(Bcc,QPixmap());
- lvi->setIcon(c, SmallIcon("dialog-ok"));
+ lvi->setIcon(c, KIcon("dialog-ok"));
m_lastState=c;
}
--- trunk/playground/pim/mailody/src/mainwindow.cpp #718499:718500
@@ -231,12 +231,12 @@
m_tabWidget->setTabCloseActivatePrevious( true );
QToolButton* button = new QToolButton( m_tabWidget );
- button->setIcon( SmallIcon( "tab-new" ) );
+ button->setIcon( KIcon( "tab-new" ) );
button->adjustSize();
m_tabWidget->setCornerWidget( button, Qt::TopLeftCorner );
m_closeButton = new QToolButton(m_tabWidget);
- m_closeButton->setIcon( SmallIcon("tab-remove") );
+ m_closeButton->setIcon( KIcon("tab-remove") );
m_closeButton->adjustSize();
m_closeButton->setEnabled(false);
m_tabWidget->setCornerWidget( m_closeButton, Qt::TopRightCorner );
--- trunk/playground/pim/mailody/src/messageview.cpp #718499:718500
@@ -447,11 +447,11 @@
QMenu* p = new QMenu(this);
QAction* newmsg = new QAction(i18n("New Message to..."), this);
- newmsg->setIcon(SmallIcon("email"));
+ newmsg->setIcon(KIcon("email"));
QAction* add = new QAction(i18n("Add to KAddressBook..."), this);
- add->setIcon(SmallIcon("kaddressbook"));
+ add->setIcon(KIcon("kaddressbook"));
QAction* copy = new QAction(i18n("Copy"), this);
- copy->setIcon(SmallIcon("edit-copy"));
+ copy->setIcon(KIcon("edit-copy"));
p->addAction(newmsg);
p->addAction(add);
@@ -738,17 +738,17 @@
QMenu* p = new QMenu(0);
QAction* add = new QAction(i18n("Add to KAddressBook..."), this);
- add->setIcon(SmallIcon("kaddressbook"));
+ add->setIcon(KIcon("kaddressbook"));
QAction* copy = new QAction(i18n("Copy"), this);
- add->setIcon(SmallIcon("edit-copy"));
+ add->setIcon(KIcon("edit-copy"));
QAction* newmsg = new QAction(i18n("New Message to..."), this);
- newmsg->setIcon(SmallIcon("email"));
+ newmsg->setIcon(KIcon("email"));
QAction* newurl = new QAction(i18n("Open"), this);
QAction* newtab = new QAction(i18n("Open in New Tab"), this);
QAction* zoomin = new QAction(i18n("Zoom In"), this);
- zoomin->setIcon(SmallIcon("zoom-in"));
+ zoomin->setIcon(KIcon("zoom-in"));
QAction* zoomout = new QAction(i18n("Zoom Out"), this);
- zoomout->setIcon(SmallIcon("zoom-out"));
+ zoomout->setIcon(KIcon("zoom-out"));
if (url.startsWith("mailto:"))
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic