author | jowenn <jowenn> | 2002-11-10 21:08:01 (UTC) |
---|---|---|
committer | jowenn <jowenn> | 2002-11-10 21:08:01 (UTC) |
commit | e97a6da57804aa14907dec327fbae71bff9b383e (patch) (unidiff) | |
tree | 15f6ee292dba24bdda72f5c72f6d2224c3516763 /noncore/apps/tinykate/libkate/microkde/kiconloader.cpp | |
parent | 7c012ee8cd16d8befacc6f6750711443fac0fd5e (diff) | |
download | opie-e97a6da57804aa14907dec327fbae71bff9b383e.zip opie-e97a6da57804aa14907dec327fbae71bff9b383e.tar.gz opie-e97a6da57804aa14907dec327fbae71bff9b383e.tar.bz2 |
import of tiny kate. (saving not possible yet)
Diffstat (limited to 'noncore/apps/tinykate/libkate/microkde/kiconloader.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/libkate/microkde/kiconloader.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/noncore/apps/tinykate/libkate/microkde/kiconloader.cpp b/noncore/apps/tinykate/libkate/microkde/kiconloader.cpp new file mode 100644 index 0000000..83a2cad --- a/dev/null +++ b/noncore/apps/tinykate/libkate/microkde/kiconloader.cpp | |||
@@ -0,0 +1,33 @@ | |||
1 | #include <qpe/resource.h> | ||
2 | |||
3 | #include "kiconloader.h" | ||
4 | |||
5 | QPixmap KIconLoader::loadIcon( const QString &name, int ) | ||
6 | { | ||
7 | return Resource::loadPixmap( "kate/" + name ); | ||
8 | } | ||
9 | |||
10 | QString KIconLoader::iconPath( const QString &, int ) | ||
11 | { | ||
12 | return QString::null; | ||
13 | } | ||
14 | |||
15 | QPixmap BarIcon( const QString &name ) | ||
16 | { | ||
17 | return Resource::loadPixmap( "kate/" + name ); | ||
18 | } | ||
19 | |||
20 | QPixmap DesktopIcon( const QString &name, int ) | ||
21 | { | ||
22 | return Resource::loadPixmap( "kate/" + name ); | ||
23 | } | ||
24 | |||
25 | QPixmap SmallIcon( const QString &name ) | ||
26 | { | ||
27 | return Resource::loadPixmap( "kate/" + name ); | ||
28 | } | ||
29 | |||
30 | QPixmap SmallIconSet( const QString &name ) | ||
31 | { | ||
32 | return Resource::loadPixmap( "kate/" + name ); | ||
33 | } | ||