Diffstat (limited to 'noncore/apps/tinykate/libkate/microkde') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/libkate/microkde/kiconloader.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/apps/tinykate/libkate/microkde/kiconloader.cpp b/noncore/apps/tinykate/libkate/microkde/kiconloader.cpp index 83a2cad..c5fe5df 100644 --- a/noncore/apps/tinykate/libkate/microkde/kiconloader.cpp +++ b/noncore/apps/tinykate/libkate/microkde/kiconloader.cpp @@ -1,33 +1,33 @@ -#include <qpe/resource.h> +#include <opie2/oresource.h> #include "kiconloader.h" QPixmap KIconLoader::loadIcon( const QString &name, int ) { - return Resource::loadPixmap( "kate/" + name ); + return Opie::Core::OResource::loadPixmap( "kate/" + name, Opie::Core::OResource::SmallIcon ); } QString KIconLoader::iconPath( const QString &, int ) { return QString::null; } QPixmap BarIcon( const QString &name ) { - return Resource::loadPixmap( "kate/" + name ); + return Opie::Core::OResource::loadPixmap( "kate/" + name, Opie::Core::OResource::SmallIcon ); } QPixmap DesktopIcon( const QString &name, int ) { - return Resource::loadPixmap( "kate/" + name ); + return Opie::Core::OResource::loadPixmap( "kate/" + name, Opie::Core::OResource::SmallIcon ); } QPixmap SmallIcon( const QString &name ) { - return Resource::loadPixmap( "kate/" + name ); + return Opie::Core::OResource::loadPixmap( "kate/" + name, Opie::Core::OResource::SmallIcon ); } QPixmap SmallIconSet( const QString &name ) { - return Resource::loadPixmap( "kate/" + name ); + return Opie::Core::OResource::loadPixmap( "kate/" + name, Opie::Core::OResource::SmallIcon ); } |