Add Icon and IconLoader
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 22 Sep 2008 22:33:33 +0000 (00:33 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 22 Sep 2008 22:37:20 +0000 (00:37 +0200)
commit71d7e1a6931b5edfa3fd15de5ad82bbca25d1426
tree45a8e8c79bbc6c167edd566b219f58b17198d17f
parent70b5182461069f60a1c9e3f1cff60902c398abc5
Add Icon and IconLoader

The former is a very thin wrapper around QIcon that will use the latter to locate an icon
in the current theme (harcoded to Oxygen for now), either in the file system or in a resource.
This will allow us to make icon resources optional, and also to seamlessly integrate with KDE's
icon theming later.
Note that we don't provide proper theming support now, as IconLoader is _very_ rudimentary for
now and assumes Oxygen to be present.
src/qtui/mainwin.cpp
src/qtui/qtuiapplication.cpp
src/uisupport/CMakeLists.txt
src/uisupport/icon.cpp [new file with mode: 0644]
src/uisupport/icon.h [new file with mode: 0644]
src/uisupport/iconloader.cpp [new file with mode: 0644]
src/uisupport/iconloader.h [new file with mode: 0644]