fix icons

svn path=/trunk/KDE/kdegraphics/okular/; revision=732755
This commit is contained in:
Pino Toscano 2007-11-04 17:03:47 +00:00
parent 9e5f8163f7
commit 0b35107505
3 changed files with 3 additions and 3 deletions

View file

@ -295,7 +295,7 @@ QVariant AnnotationModel::data( const QModelIndex &index, int role ) const
if ( role == Qt::DisplayRole )
return i18n( "Page %1", item->page + 1 );
else if ( role == Qt::DecorationRole )
return KIcon( "txt" );
return KIcon( "text-plain" );
else if ( role == PageRole )
return item->page;

View file

@ -438,7 +438,7 @@ QVariant AuthorGroupProxyModel::data( const QModelIndex &proxyIndex, int role )
if ( role == Qt::DisplayRole )
return item->author();
else if ( role == Qt::DecorationRole )
return KIcon( item->author().isEmpty() ? "precense_away" : "personal" );
return KIcon( item->author().isEmpty() ? "precense_away" : "user" );
else
return QVariant();
} else {

View file

@ -119,7 +119,7 @@ Reviews::Reviews( QWidget * parent, Okular::Document * document )
toolBar->setIconSize( QSize( 16, 16 ) );
toolBar->setMovable( false );
// - add Page button
QAction * groupByPageAction = toolBar->addAction( KIcon( "txt" ), i18n( "Group by Page" ) );
QAction * groupByPageAction = toolBar->addAction( KIcon( "text-plain" ), i18n( "Group by Page" ) );
groupByPageAction->setCheckable( true );
connect( groupByPageAction, SIGNAL( toggled( bool ) ), this, SLOT( slotPageEnabled( bool ) ) );
groupByPageAction->setChecked( Okular::Settings::groupByPage() );