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.h | |
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.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/libkate/microkde/kiconloader.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/noncore/apps/tinykate/libkate/microkde/kiconloader.h b/noncore/apps/tinykate/libkate/microkde/kiconloader.h new file mode 100644 index 0000000..c4f642e --- a/dev/null +++ b/noncore/apps/tinykate/libkate/microkde/kiconloader.h | |||
@@ -0,0 +1,31 @@ | |||
1 | #ifndef MINIKDE_KICONLOADER_H | ||
2 | #define MINIKDE_KICONLOADER_H | ||
3 | |||
4 | #include <qpixmap.h> | ||
5 | #include <qstring.h> | ||
6 | |||
7 | class KIcon | ||
8 | { | ||
9 | public: | ||
10 | enum Group { NoGroup=-1, Desktop=0, Toolbar, MainToolbar, Small, | ||
11 | Panel, LastGroup, User }; | ||
12 | enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; | ||
13 | }; | ||
14 | |||
15 | class KIconLoader | ||
16 | { | ||
17 | public: | ||
18 | QPixmap loadIcon( const QString &name, int ); | ||
19 | |||
20 | QString iconPath( const QString &, int ); | ||
21 | }; | ||
22 | |||
23 | QPixmap BarIcon(const QString& name); | ||
24 | |||
25 | QPixmap DesktopIcon(const QString& name, int); | ||
26 | |||
27 | QPixmap SmallIcon(const QString& name); | ||
28 | |||
29 | QPixmap SmallIconSet( const QString &name ); | ||
30 | |||
31 | #endif | ||