[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/pim/recipientspicker
From: Pino Toscano <toscano.pino () tiscali ! it>
Date: 2007-08-01 0:12:31
Message-ID: 1185927151.606614.25064.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 694885 by pino:
Compile with the recent kdelibs API changes (KIconLoader overlays)
M +2 -2 personmodel.cpp
M +1 -1 persontreeview.cpp
--- trunk/playground/pim/recipientspicker/personmodel.cpp #694884:694885
@@ -182,7 +182,7 @@
case Qt::DecorationRole:
if (column == PersonModel::StatusColumn) {
if (mSendingType != None) {
- KIcon engine( "mail-" + sendingTypeToString().toLower(), \
KIconLoader::global(), 0 ); + KIcon engine( "mail-" + \
sendingTypeToString().toLower(), KIconLoader::global() );
return engine.pixmap( QSize(16, 16), QIcon::Normal, QIcon::On );
} else {
return QVariant();
@@ -193,7 +193,7 @@
return QPixmap::fromImage( photo.scaled(20, 20, Qt::KeepAspectRatio, \
Qt::SmoothTransformation) ); } else {
// just because KIcon( "user" ) does not work
- KIcon engine( "user", KIconLoader::global(), 0 );
+ KIcon engine( "user", KIconLoader::global() );
return engine.pixmap( QSize(16, 16), QIcon::Normal, QIcon::On );
}
} else {
--- trunk/playground/pim/recipientspicker/persontreeview.cpp #694884:694885
@@ -177,7 +177,7 @@
QPainter p( viewport() );
- KIcon engine( "users", KIconLoader::global(), 0 );
+ KIcon engine( "users", KIconLoader::global() );
p.setOpacity( 0.07 );
p.drawPixmap( width() - frameWidth() - 200, height() - header()->height() - \
frameWidth() - 200, engine.pixmap(QSize(196, 196), QIcon::Normal, QIcon::On) ); \
p.setOpacity( 1.0 );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic